Advisory

DEBIAN-CVE-2026-73194

Also known as: CVE-2026-73194

Summary

The record has no summary.

Details

DBI versions before 1.652 for Perl allow a heap out-of-bounds write via an unvalidated numeric placeholder that sets the binder counter in preparse. preparse reserves seven output bytes per input byte, the width of the longest ':p99999' expansion. The ':N' branch parses the number with atoi(src) and assigns it to the binder counter with no range check, so a statement containing ':2147483648' leaves the counter negative (-2147483648 with glibc, where atoi wraps). Each following '?' then expands through sprintf(start, ":p%d", idx++) to ':p-2147483648', 14 bytes with the terminating NUL where the buffer budgets 7. The placeholder limit added in 1.650 tests the counter against 99,999, which a negative counter passes. Any caller that preparses an untrusted statement into ':pN' style placeholders gets a heap out-of-bounds write that grows with the number of '?' marks following the poisoned placeholder. The '?' and '%s' return styles compare the parsed number against the expected sequence and error out, and are unaffected.

Severity

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

Dates

Published
2026-08-15 13:17 UTC
Modified
2026-10-01 03:03 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