Monitor vulnerabilities like this one.
Sign up free to get alerted when software you use is affected.
9.8
CVE-2026-73193: Old Perl DBI versions allow data corruption on 32-bit systems
CVE-2026-73193 · published 20 days ago
Summary
Old versions of the Perl DBI library have a security issue that can cause data corruption on 32-bit systems. This can happen when an attacker passes a very long piece of data to the library, which can then write data outside of its allocated space. To fix this, update to Perl DBI version 1.652 or later on 32-bit systems.
What to do
- Update debian libdbi-perl to version 1.643-4+deb12u1.aikido.1.
- Update debian rootio-libdbi-perl to version 1.643-4+deb12u1.aikido.1.
Affected software
| Ecosystem | Vendor | Product | Affected versions |
|---|---|---|---|
| Debian:11 | debian | libdbi-perl | All versions |
| Debian:12 | debian | libdbi-perl | All versions |
| Debian:13 | debian | libdbi-perl | All versions |
| Debian:14 | debian | libdbi-perl | All versions |
| Root:Debian:12 | debian | libdbi-perl |
< 1.643-4+deb12u1.aikido.1 Fix: upgrade to 1.643-4+deb12u1.aikido.1
|
| Root:Debian:12 | debian | rootio-libdbi-perl |
< 1.643-4+deb12u1.aikido.1 Fix: upgrade to 1.643-4+deb12u1.aikido.1
|
Original advisory text
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
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.
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.
References
- https://www.cve.org/CVERecord?id=CVE-2026-14739 related
- https://github.com/perl5-dbi/dbi/security/advisories/GHSA-wj3v-c3hh-mhqr vendor-advisory
- https://github.com/perl5-dbi/dbi/commit/c751ae5a5a6f56c2f8284f37c1f4d43500352ef1... patch
- https://security-tracker.debian.org/tracker/CVE-2026-73193 Vendor Advisory
- https://nvd.nist.gov/vuln/detail/CVE-2026-73193 Vendor Advisory
- https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/73xxx/CVE-2026-73193... Vendor Advisory
- https://github.com/perl5-dbi/dbi Product
- https://cpan.org/modules URL
Severity
9.8
Critical
CVSS 3.1: 9.8 (OSV)
Exploitation
EPSS <1%
Type
CWE-190Integer Overflow
CWE-787Out-of-bounds Write
Timeline
Published15 Aug 2026
Updated3 Sep 2026
First seen15 Aug 2026
Sources
CVE-2026-73193 · OSV
GHSA-wj3v-c3hh-mhqr · GHSA
CVE-2026-73193 · NVD
CVE-2026-73193 · MITRE
DEBIAN-CVE-2026-73193 · OSV
Monitor software like this
Free during beta