p PatchFirst

CVE-2026-73193

CVE-2026-73193 · DBI versions before 1.652 for Perl allow a heap out-of-bounds write on 32-bit perl via an integer wraparound in the output buffer size computed by preparse

Diese Seite enthält Fakten aus öffentlichen Sicherheitsquellen. Lesen Sie vor dem Aktualisieren die Originalmeldung.

DBI versions before 1.652 for Perl allow a heap out-of-bounds write on 32-bit perl via an integer wraparound in the output buffer size computed by preparse. preparse reserves its output buffer with `newSV(strlen(statement) * 7 + 16)`, budgeting seven output bytes per input byte for the longest ':p99999' expansion. The product is computed in STRLEN, which is 32 bits wide on a 32-bit perl build, so a statement of 613,566,757 bytes multiplies to 4,294,967,299, wraps modulo 2^32 to 3, and reserves 19 bytes. The parser then copies the statement out through a raw pointer with no capacity check, writing the whole 585 MB input past the end of the allocation. The 99,999 placeholder limit does not bound this path, which is reached by ordinary non-placeholder content. Any caller that passes an untrusted statement of that length to preparse on a 32-bit perl gets a heap out-of-bounds write of attacker controlled bytes. Builds with a 64-bit STRLEN are not affected, since the wrap there needs a statement of about 2.3 exabytes.

CVSS 9.8 · Kritisch · EPSS 0,6% · Korrektur verfügbar

Veröffentlicht
Aktualisiert

Technologie-Stack: system

Betroffene Produkte und Versionen

  • libdbi-perl Debian:12

    Softwareversionen
    • 1.643-4
    • 1.643-4+deb12u1
    Betroffene Versionsbereiche
    • ECOSYSTEM: < 1.643-4+deb12u2

    Auf 1.643-4+deb12u2 aktualisieren

  • libdbi-perl Debian:13

    Softwareversionen
    • 1.647-1
    • 1.647-1+deb13u1
    • 1.648-1
    • 1.649-1
    • 1.650-1
    • 1.651-1
    • 1.652-1
    Betroffene Versionsbereiche
    • ECOSYSTEM: < 1.652-2~deb13u1

    Auf 1.652-2~deb13u1 aktualisieren

  • libdbi-perl Debian:14

    Softwareversionen
    • 1.647-1
    • 1.648-1
    • 1.649-1
    • 1.650-1
    • 1.651-1
    Betroffene Versionsbereiche
    • ECOSYSTEM: < 1.652-1

    Auf 1.652-1 aktualisieren

  • libdbi-perl Ubuntu:Pro:14.04:LTS

    Softwareversionen
    • 1.627-1
    • 1.628-1
    • 1.630-1
    • 1.630-1ubuntu0.1~esm1
    • 1.630-1ubuntu0.1~esm4
    • 1.630-1ubuntu0.1~esm5
    • 1.630-1ubuntu0.1~esm6
    Betroffene Versionsbereiche
    • ECOSYSTEM: < 1.630-1ubuntu0.1~esm8

    Auf 1.630-1ubuntu0.1~esm8 aktualisieren

  • libdbi-perl Ubuntu:Pro:16.04:LTS

    Softwareversionen
    • 1.633-1
    • 1.634-1
    • 1.634-1build1
    • 1.634-1ubuntu0.1
    • 1.634-1ubuntu0.2
    • 1.634-1ubuntu0.2+esm1
    • 1.634-1ubuntu0.2+esm2
    Betroffene Versionsbereiche
    • ECOSYSTEM: < 1.634-1ubuntu0.2+esm4

    Auf 1.634-1ubuntu0.2+esm4 aktualisieren

  • libdbi-perl Ubuntu:Pro:18.04:LTS

    Softwareversionen
    • 1.637-1
    • 1.639-1
    • 1.640-1
    • 1.640-1ubuntu0.1
    • 1.640-1ubuntu0.2
    • 1.640-1ubuntu0.3
    • 1.640-1ubuntu0.3+esm1
    Betroffene Versionsbereiche
    • ECOSYSTEM: < 1.640-1ubuntu0.3+esm3

    Auf 1.640-1ubuntu0.3+esm3 aktualisieren

  • libdbi-perl Ubuntu:Pro:20.04:LTS

    Softwareversionen
    • 1.642-1
    • 1.642-1build1
    • 1.643-1
    • 1.643-1ubuntu0.1
    • 1.643-1ubuntu0.1+esm1
    Betroffene Versionsbereiche
    • ECOSYSTEM: < 1.643-1ubuntu0.1+esm3

    Auf 1.643-1ubuntu0.1+esm3 aktualisieren

  • libdbi-perl Ubuntu:22.04:LTS

    Softwareversionen
    • 1.643-3build2
    • 1.643-3build3
    • 1.643-3ubuntu0.1
    Betroffene Versionsbereiche
    • ECOSYSTEM: < 1.643-3ubuntu0.3

    Auf 1.643-3ubuntu0.3 aktualisieren

  • libdbi-perl Ubuntu:24.04:LTS

    Softwareversionen
    • 1.643-4
    • 1.643-4build1
    • 1.643-4build2
    • 1.643-4build3
    • 1.643-4ubuntu0.1
    Betroffene Versionsbereiche
    • ECOSYSTEM: < 1.643-4ubuntu0.3

    Auf 1.643-4ubuntu0.3 aktualisieren

  • libdbi-perl Ubuntu:26.04:LTS

    Softwareversionen
    • 1.647-1
    • 1.647-1build1
    • 1.647-1ubuntu0.26.04.1
    Betroffene Versionsbereiche
    • ECOSYSTEM: < 1.647-1ubuntu0.26.04.3

    Auf 1.647-1ubuntu0.26.04.3 aktualisieren

Originalquellen

Prüfen Sie Ihren Server →