CVE-2026-73194

EUVD-2026-59745
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.
ProviderTypeBase ScoreAtk. VectorAtk. ComplexityPriv. RequiredVector
NISTPrimary
9.1 CRITICAL
NETWORK
LOW
NONE
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H
Awaiting analysis
This vulnerability is currently awaiting analysis.
Base Score
CVSS 3.x
EPSS Score
Percentile: 39.91%
Debian logo
Debian Releases
Debian Product
Codename
libdbi-perl
bookworm
vulnerable
bookworm (security)
1.643-4+deb12u2
fixed
forky
1.653-1
fixed
sid
1.654-1
fixed
trixie
1.652-2~deb13u1
fixed
trixie (security)
1.652-2~deb13u1
fixed
Ubuntu logo
Ubuntu Releases
Ubuntu Product
Codename
libdbi-perl
bionic
needs-triage
focal
needs-triage
jammy
needs-triage
noble
needs-triage
resolute
needs-triage
trusty
needs-triage
xenial
needs-triage
Red Hat logo
Red Hat Enterprise Linux Releases
Red Hat Product
Release
perl-DBI
RHEL 9
0:1.643-9.el9_8.6
fixed
Amazon Linux logo
Amazon Linux Releases
Amazon Package
Release
perl-DBI
Amazon Linux 2
0:1.627-4.amzn2.0.7
fixed
Amazon Linux 2023
0:1.652-1.amzn2023.0.1
fixed
perl-DBI-debuginfo
Amazon Linux 2
0:1.627-4.amzn2.0.7
fixed
Amazon Linux 2023
0:1.652-1.amzn2023.0.1
fixed
perl-DBI-debugsource
Amazon Linux 2023
0:1.652-1.amzn2023.0.1
fixed
perl-DBI-tests
Amazon Linux 2023
0:1.652-1.amzn2023.0.1
fixed
Azure Linux logo
Azure Linux Releases
Azure Package
Release
perl-DBI
Azure Linux 3.0
0:1.652-1.azl3
fixed