{"id":"DHI-tmka-o2yc-73pc-4qkj","summary":"DBI versions before 1.652 for Perl allow a heap out-of-bounds write via an unvalidated numeric placeholder that sets…","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.\n\npreparse 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.\n\nAny 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.","modified":"2026-11-16T02:36:19.357573345Z","published":"2026-11-11T17:18:35Z","upstream":["CVE-2026-73194"],"references":[{"type":"ADVISORY","url":"https://scout.docker.com/v/DHI-tmka-o2yc-73pc-4qkj"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-73194"},{"type":"ADVISORY","url":"https://errata.almalinux.org/8/ALSA-2026-69112.html"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2026:69112"},{"type":"ADVISORY","url":"https://errata.almalinux.org/9/ALSA-2026-71422.html"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2026:71422"},{"type":"ADVISORY","url":"https://errata.almalinux.org/8/ALSA-2026-71608.html"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2026:71608"},{"type":"ADVISORY","url":"https://security.alpinelinux.org/vuln/CVE-2026-73194"},{"type":"ADVISORY","url":"https://alas.aws.amazon.com/AL2/ALAS-2026-3871.html"},{"type":"ADVISORY","url":"http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-73194"},{"type":"ADVISORY","url":"https://alas.aws.amazon.com/AL2023/ALAS-2026-2075.html"},{"type":"ADVISORY","url":"https://security-tracker.debian.org/tracker/CVE-2026-73194"},{"type":"ADVISORY","url":"https://linux.oracle.com/cve/ELSA-2026-69112.html"},{"type":"ADVISORY","url":"https://linux.oracle.com/errata/ELSA-2026-69112.html"},{"type":"ADVISORY","url":"https://linux.oracle.com/cve/ELSA-2026-70753.html"},{"type":"ADVISORY","url":"https://linux.oracle.com/errata/ELSA-2026-70753.html"},{"type":"ADVISORY","url":"https://linux.oracle.com/cve/ELSA-2026-71422.html"},{"type":"ADVISORY","url":"https://linux.oracle.com/errata/ELSA-2026-71422.html"},{"type":"ADVISORY","url":"https://linux.oracle.com/cve/ELSA-2026-71608.html"},{"type":"ADVISORY","url":"https://linux.oracle.com/errata/ELSA-2026-71608.html"},{"type":"ADVISORY","url":"https://errata.rockylinux.org/RLSA-2026:69112"},{"type":"ADVISORY","url":"https://errata.rockylinux.org/RLSA-2026:70753"},{"type":"ADVISORY","url":"https://errata.rockylinux.org/RLSA-2026:71422"},{"type":"ADVISORY","url":"https://errata.rockylinux.org/RLSA-2026:71608"},{"type":"ADVISORY","url":"https://ubuntu.com/security/CVE-2026-73194"},{"type":"ADVISORY","url":"https://github.com/perl5-dbi/dbi/security/advisories/GHSA-623j-hfpc-mrc4"},{"type":"ADVISORY","url":"http://people.ubuntu.com/~ubuntu-security/cve/CVE-2026-73194"},{"type":"FIX","url":"https://github.com/perl5-dbi/dbi/commit/29b72ae7d2a8114a734a55840bf1c45b89207809.patch"}],"affected":[{"package":{"name":"perl-dbi","ecosystem":"Docker Hardened Images:Alpine:3.24","purl":"pkg:apk/dhi/perl-dbi"},"versions":["1.648-r0","1.651-r0","1.651-r1","1.651-r2"],"database_specific":{"owner_kind":"HSP","source":"https://github.com/docker-hardened-images/advisories/blob/main/dhi/osv/2026/DHI-tmka-o2yc-73pc-4qkj.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H"}]}