# CVE-2026-73193: libdbi-perl: DBI versions before 1.652 for Perl allow a heap out-of-bounds write on 32-bit perl via an integer wraparound in the o...

CVE-2026-73193 is fixed in libdbi-perl on 1 platform, first by libdbi-perl 1.640-1ubuntu0.3+esm3, released August 15, 2026. It is not reported as exploited. Patch Radar priority: Urgent.

- Web page: https://patchblox.com/security/cve/CVE-2026-73193
- Priority: Urgent
- CVSS: 9.8 (critical)
- EPSS: 0.0048
- CISA KEV: not listed
- Exploited (vendor report): no
- Publicly disclosed: no
- Published: Aug 15, 2026

## 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.

## Where it's fixed

| Platform | Product | Fixed in | Fix | Released |
|---|---|---|---|---|
| Linux | libdbi-perl Debian 12.15 (bookworm) | 1.643-4+deb12u2 | [DEBIAN-CVE-2026-73193](https://patchblox.com/security/data/fix/linux/debian-cve-2026-73193.md) | Aug 25, 2026 |
| Linux | libdbi-perl Debian 13.5 (trixie) | 1.652-2~deb13u1 | [DEBIAN-CVE-2026-73193](https://patchblox.com/security/data/fix/linux/debian-cve-2026-73193.md) | Aug 25, 2026 |
| Linux | libdbi-perl Debian 14 | 1.652-1 | [DEBIAN-CVE-2026-73193](https://patchblox.com/security/data/fix/linux/debian-cve-2026-73193.md) | Aug 25, 2026 |
| Linux | libdbi-perl Ubuntu 18.04.6 LTS (bionic) | 1.640-1ubuntu0.3+esm3 | [libdbi-perl 1.640-1ubuntu0.3+esm3](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-libdbi-perl-1.640-1ubuntu0.3-esm3.md) | Aug 15, 2026 |
| Linux | libdbi-perl Ubuntu 20.04 LTS (focal) | 1.643-1ubuntu0.1+esm3 | [libdbi-perl 1.643-1ubuntu0.1+esm3](https://patchblox.com/security/data/fix/linux/ubuntu-focal-libdbi-perl-1.643-1ubuntu0.1-esm3.md) | Aug 15, 2026 |
| Linux | libdbi-perl Ubuntu 22.04.1 LTS (jammy) | 1.643-3ubuntu0.3 | [libdbi-perl 1.643-3ubuntu0.3](https://patchblox.com/security/data/fix/linux/ubuntu-jammy-libdbi-perl-1.643-3ubuntu0.3.md) | Aug 15, 2026 |
| Linux | libdbi-perl Ubuntu 24.04.5 LTS (noble) | 1.643-4ubuntu0.3 | [libdbi-perl 1.643-4ubuntu0.3](https://patchblox.com/security/data/fix/linux/ubuntu-noble-libdbi-perl-1.643-4ubuntu0.3.md) | Aug 15, 2026 |
| Linux | libdbi-perl Ubuntu 26.04.1 LTS (resolute) | 1.647-1ubuntu0.26.04.3 | [libdbi-perl 1.647-1ubuntu0.26.04.3](https://patchblox.com/security/data/fix/linux/ubuntu-resolute-libdbi-perl-1.647-1ubuntu0.26.04.3.md) | Aug 15, 2026 |

---

Data as of 2026-11-08T13:06:02Z UTC. Source: Patchblox Patch Radar (https://patchblox.com/security/patch-radar). Patchblox finds out-of-date software on Windows, macOS and Linux and updates it through release rings: https://patchblox.com/demo

Free to use with attribution: show "Data: Patchblox Patch Radar" with a link to https://patchblox.com/security/patch-radar. Terms, including what needs a written agreement: https://patchblox.com/security/patch-radar/use-the-data

Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.
