Advisory

DEBIAN-CVE-2026-73193

Also known as: CVE-2026-73193

Summary

The record has no summary.

Details

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.

Severity

Critical Basis: CVSS v3 score 9.8, vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Dates

Published
2026-08-15 13:17 UTC
Modified
2026-10-01 03:02 UTC

Affected packages and fixes

libdbi-perl

Debian packages (deb) · Debian 12

Affected

  • introduced 0, fixed 1.643-4+deb12u2 (ecosystem)

Fixed versions

1.643-4+deb12u2

Fix

  • Fixed version 1.643-4+deb12u2
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

libdbi-perl

Debian packages (deb) · Debian 13

Affected

  • introduced 0, fixed 1.652-2~deb13u1 (ecosystem)

Fixed versions

1.652-2~deb13u1

Fix

  • Fixed version 1.652-2~deb13u1
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

libdbi-perl

Debian packages (deb) · Debian 14

Affected

  • introduced 0, fixed 1.652-1 (ecosystem)

Fixed versions

1.652-1

Fix

  • Fixed version 1.652-1
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: Debian Security Tracker (converted by OSV.dev)

Debian Security Tracker, converted to OSV by OSV.dev.

Sources & licences