Libdbi perl: DBI versions before 1.652 for Perl allow a heap out-of-bounds write on 32-bit perl via an integer
Affects libdbi-perlSource GCVE Database
Not known to be exploited · CVSS 9.8 Critical · fixed in 1.630-1ubuntu0.1~esm8 : patch libdbi-perl as a priority.
Data as of 24 Nov 2026, 21:16 UTC
- EPSS
- 0.4% chance of exploitation in 30 days – higher than 41% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- Patch
- Available – fixed in 1.630-1ubuntu0.1~esm8, 1.634-1ubuntu0.2+esm4, 1.640-1ubuntu0.3+esm3 +4
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HExploitation evidence
Disclosed: evidence found.
CVE published 15 Aug 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 24 Nov 2026.
What to do
Upgrade to a fixed release listed under Affected software.
Patches and advisories
Affected software
| Product | Affected | Fixed in |
|---|---|---|
Ubuntu 26.04 LTSlibdbi-perlpkg:deb/ubuntu/libdbi-perl?arch=source&distro=resoluteOther threats | Affected
| Fixed in
|
Ubuntu 24.04 LTSlibdbi-perlpkg:deb/ubuntu/libdbi-perl?arch=source&distro=nobleOther threats | Affected
| Fixed in
|
Ubuntu 22.04 LTSlibdbi-perlpkg:deb/ubuntu/libdbi-perl?arch=source&distro=jammyOther threats | Affected
| Fixed in
|
Ubuntu Pro 20.04 LTSlibdbi-perlpkg:deb/ubuntu/libdbi-perl?arch=source&distro=esm-infra/focalOther threats | Affected
| Fixed in
|
Ubuntu Pro 18.04 LTSlibdbi-perlpkg:deb/ubuntu/libdbi-perl?arch=source&distro=esm-infra/bionicOther threats | Affected
| Fixed in
|
Ubuntu Pro 16.04 LTSlibdbi-perlpkg:deb/ubuntu/libdbi-perl?arch=source&distro=esm-infra-legacy/xenialOther threats | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
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.
References
- ubuntu.com/security/CVE-2026-73193 (opens in a new tab)
- cve.org/CVERecord?id=CVE-2026-73193 (opens in a new tab)
- lists.security.metacpan.org/cve-announce/msg/42707360/ (opens in a new tab)
- github.com/perl5-dbi/dbi/commit/c751ae5a5a6f56c2f8284f37c1f4d43500352ef1.patch (opens in a new tab)
- github.com/perl5-dbi/dbi/security/advisories/GHSA-wj3v-c3hh-mhqr (opens in a new tab)
- cve.org/CVERecord?id=CVE-2026-14739 (opens in a new tab)
- ubuntu.com/security/notices/USN-8841-1 (opens in a new tab)