p PatchFirst

CVE-2026-73194

CVE-2026-73194 · DBI versions before 1.652 for Perl allow a heap out-of-bounds write via an unvalidated numeric placeholder that sets the binder counter in preparse

This page contains facts from public vulnerability sources. Check the original advisory before updating.

DBI versions before 1.652 for Perl allow a heap out-of-bounds write via an unvalidated numeric placeholder that sets the binder counter in preparse. preparse reserves seven output bytes per input byte, the width of the longest ':p99999' expansion. The ':N' branch parses the number with `atoi(src)` and assigns it to the binder counter with no range check, so a statement containing ':2147483648' leaves the counter negative (-2147483648 with glibc, where atoi wraps). Each following '?' then expands through `sprintf(start, ":p%d", idx++)` to ':p-2147483648', 14 bytes with the terminating NUL where the buffer budgets 7. The placeholder limit added in 1.650 tests the counter against 99,999, which a negative counter passes. Any caller that preparses an untrusted statement into ':pN' style placeholders gets a heap out-of-bounds write that grows with the number of '?' marks following the poisoned placeholder. The '?' and '%s' return styles compare the parsed number against the expected sequence and error out, and are unaffected.

CVSS 9.1 · Critical · EPSS 0.5% · Fix available

Published
Updated

Stack: system

Affected products and versions

  • libdbi-perl Debian:12

    Versions
    • 1.643-4
    • 1.643-4+deb12u1
    Affected ranges
    • ECOSYSTEM: < 1.643-4+deb12u2

    Update to 1.643-4+deb12u2

  • libdbi-perl Debian:13

    Versions
    • 1.647-1
    • 1.647-1+deb13u1
    • 1.648-1
    • 1.649-1
    • 1.650-1
    • 1.651-1
    • 1.652-1
    Affected ranges
    • ECOSYSTEM: < 1.652-2~deb13u1

    Update to 1.652-2~deb13u1

  • libdbi-perl Debian:14

    Versions
    • 1.647-1
    • 1.648-1
    • 1.649-1
    • 1.650-1
    • 1.651-1
    Affected ranges
    • ECOSYSTEM: < 1.652-1

    Update to 1.652-1

  • libdbi-perl Ubuntu:Pro:14.04:LTS

    Versions
    • 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
    Affected ranges
    • ECOSYSTEM: < 1.630-1ubuntu0.1~esm8

    Update to 1.630-1ubuntu0.1~esm8

  • libdbi-perl Ubuntu:Pro:16.04:LTS

    Versions
    • 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
    Affected ranges
    • ECOSYSTEM: < 1.634-1ubuntu0.2+esm4

    Update to 1.634-1ubuntu0.2+esm4

  • libdbi-perl Ubuntu:Pro:18.04:LTS

    Versions
    • 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
    Affected ranges
    • ECOSYSTEM: < 1.640-1ubuntu0.3+esm3

    Update to 1.640-1ubuntu0.3+esm3

  • libdbi-perl Ubuntu:Pro:20.04:LTS

    Versions
    • 1.642-1
    • 1.642-1build1
    • 1.643-1
    • 1.643-1ubuntu0.1
    • 1.643-1ubuntu0.1+esm1
    Affected ranges
    • ECOSYSTEM: < 1.643-1ubuntu0.1+esm3

    Update to 1.643-1ubuntu0.1+esm3

  • libdbi-perl Ubuntu:22.04:LTS

    Versions
    • 1.643-3build2
    • 1.643-3build3
    • 1.643-3ubuntu0.1
    Affected ranges
    • ECOSYSTEM: < 1.643-3ubuntu0.3

    Update to 1.643-3ubuntu0.3

  • libdbi-perl Ubuntu:24.04:LTS

    Versions
    • 1.643-4
    • 1.643-4build1
    • 1.643-4build2
    • 1.643-4build3
    • 1.643-4ubuntu0.1
    Affected ranges
    • ECOSYSTEM: < 1.643-4ubuntu0.3

    Update to 1.643-4ubuntu0.3

  • libdbi-perl Ubuntu:26.04:LTS

    Versions
    • 1.647-1
    • 1.647-1build1
    • 1.647-1ubuntu0.26.04.1
    Affected ranges
    • ECOSYSTEM: < 1.647-1ubuntu0.26.04.3

    Update to 1.647-1ubuntu0.26.04.3

Original sources

Check your server →