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
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: yes · technical impact: partial
- Technology
- UbuntuDebianRed Hat
Description
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.
Upgrade path
13 packages: 10 fixed, 3 with no fix yet.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| azure linux perl-DBI(Azure Linux 3.0) | All versions | No fix listed | No fix yet |
| redhat/perl-DBI(Red Hat rhel_els 7) | All versions | No fix listed | No fix yet |
| redhat/perl-DBI:1.641-8100020260914073706.69ef70f8(Red Hat enterprise_linux 8) | All versions | No fix listed | No fix yet |
| cpan DBI | < 1.652 | 1.652 | Fixed |
| debian/libdbi-perl(Debian 12) | < 1.643-4+deb12u2; = 1.643-4; = 1.643-4+deb12u1 | 1.643-4+deb12u2 | Fixed |
| debian/libdbi-perl(Debian 13) | < 1.652-2~deb13u1; = 1.647-1; = 1.647-1+deb13u1; = 1.648-1 +4 more | 1.652-2~deb13u1 | Fixed |
| debian/libdbi-perl(Debian 14) | < 1.652-1; = 1.647-1; = 1.648-1; = 1.649-1 +2 more | 1.652-1 | Fixed |
| redhat/perl-DBI(Red Hat enterprise_linux 10.2) | < 1.643-26.el10_2.6 | 1.643-26.el10_2.6 | Fixed |
| redhat/perl-DBI(Red Hat enterprise_linux 8) | < 1.641-3.el8_10 | 1.641-3.el8_10 | Fixed |
| redhat/perl-DBI(Red Hat enterprise_linux 9) | < 1.643-9.el9_8.6 | 1.643-9.el9_8.6 | Fixed |
| ubuntu/libdbi-perl(Ubuntu 22.04) | < 1.643-3ubuntu0.3 | 1.643-3ubuntu0.3 | Fixed |
| ubuntu/libdbi-perl(Ubuntu 24.04) | < 1.643-4ubuntu0.3 | 1.643-4ubuntu0.3 | Fixed |
| ubuntu/libdbi-perl(Ubuntu 26.04) | < 1.647-1ubuntu0.26.04.3 | 1.647-1ubuntu0.26.04.3 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| cpan DBI | < 1.652 | 1.652 |
| redhat/perl-DBI(Red Hat:enterprise_linux:10.2) | < 1.643-26.el10_2.6 | 1.643-26.el10_2.6 |
| redhat/perl-DBI:1.641-8100020260914073706.69ef70f8(Red Hat:enterprise_linux:8) | All versions | No fix listed |
| redhat/perl-DBI(Red Hat:enterprise_linux:8) | < 1.641-3.el8_10 | 1.641-3.el8_10 |
| redhat/perl-DBI(Red Hat:enterprise_linux:9) | < 1.643-9.el9_8.6 | 1.643-9.el9_8.6 |
| redhat/perl-DBI(Red Hat:rhel_els:6) | All versions | No fix listed |
| redhat/perl-DBI(Red Hat:rhel_els:7) | All versions | No fix listed |
| debian/libdbi-perl(Debian:12) | < 1.643-4+deb12u2 | 1.643-4+deb12u2 |
| debian/libdbi-perl(Debian:12) | = 1.643-4 | No fix listed |
| debian/libdbi-perl(Debian:12) | = 1.643-4+deb12u1 | No fix listed |
| debian/libdbi-perl(Debian:13) | < 1.652-2~deb13u1 | 1.652-2~deb13u1 |
| debian/libdbi-perl(Debian:13) | = 1.647-1 | No fix listed |
| debian/libdbi-perl(Debian:13) | = 1.647-1+deb13u1 | No fix listed |
| debian/libdbi-perl(Debian:13) | = 1.648-1 | No fix listed |
| debian/libdbi-perl(Debian:13) | = 1.649-1 | No fix listed |
| debian/libdbi-perl(Debian:13) | = 1.650-1 | No fix listed |
| debian/libdbi-perl(Debian:13) | = 1.651-1 | No fix listed |
| debian/libdbi-perl(Debian:13) | = 1.652-1 | No fix listed |
| debian/libdbi-perl(Debian:14) | < 1.652-1 | 1.652-1 |
| debian/libdbi-perl(Debian:14) | = 1.647-1 | No fix listed |
| debian/libdbi-perl(Debian:14) | = 1.648-1 | No fix listed |
| debian/libdbi-perl(Debian:14) | = 1.649-1 | No fix listed |
| debian/libdbi-perl(Debian:14) | = 1.650-1 | No fix listed |
| debian/libdbi-perl(Debian:14) | = 1.651-1 | No fix listed |
| ubuntu/libdbi-perl(Ubuntu:22.04) | < 1.643-3ubuntu0.3 | 1.643-3ubuntu0.3 |
Show 3 more
| Product | Affected versions | Fixed in |
|---|---|---|
| ubuntu/libdbi-perl(Ubuntu:24.04) | < 1.643-4ubuntu0.3 | 1.643-4ubuntu0.3 |
| ubuntu/libdbi-perl(Ubuntu:26.04) | < 1.647-1ubuntu0.26.04.3 | 1.647-1ubuntu0.26.04.3 |
| azure linux perl-DBI(Azure Linux:3.0) | All versions | No fix listed |
References
- MSRC Security Update Guide vendor-advisory
- github.com vendor-advisory
- github.com patch
- www.cve.org related
- www.cve.org related
- Red Hat CVE page mitigation vendor-advisory
- RHSA-2026:70753 patch vendor-advisory
- RHSA-2026:69112 patch vendor-advisory
- RHSA-2026:71608 patch vendor-advisory
- RHSA-2026:71422 patch vendor-advisory
- Red Hat Bugzilla 2516959 issue-tracking
- www.cve.org
- nvd.nist.gov
- Debian Security Tracker CVE-2026-73194 vendor-advisory
- Ubuntu CVE tracker vendor-advisory
- USN-8841-1 vendor-advisory
- bugs.debian.org issue-tracking
- ENISA EUVD EUVD-2026-59745 third-party-advisory