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
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- Proof of concept public · automatable: yes · technical impact: total
- Technology
- UbuntuDebianRed Hat
Description
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.
Upgrade path
8 packages: 7 fixed, 1 with no fix yet.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| redhat/perl-DBI(Red Hat rhel_els 7) | 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 |
| 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: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 |
| 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 |
References
- www.cve.org related
- github.com exploit vendor-advisory
- github.com patch
- Red Hat CVE page vendor-advisory
- Red Hat Bugzilla 2516960 issue-tracking
- www.cve.org
- nvd.nist.gov
- Debian Security Tracker CVE-2026-73193 vendor-advisory
- Ubuntu CVE tracker vendor-advisory
- USN-8841-1 vendor-advisory
- bugs.debian.org issue-tracking
- ENISA EUVD EUVD-2026-59744 third-party-advisory