# CVE-2026-10879: DBI versions before 1.648 for Perl have a heap overflow when preparsing SQL statements with more than 9 binders

- Severity: Critical 9.8 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.48%, higher than 43% of CVEs (2026-12-01)
- Published: 2026-06-05T14:30:58.497Z
- Modified: 2026-10-26T11:10:00.157Z
- Weaknesses: CWE-787
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact total
- Assigned by: CPANSec

## Description

DBI versions before 1.648 for Perl have a heap overflow when preparsing SQL statements with more than 9 binders.

The preparse method expands SQL placeholder characters to numbered binders of the form :pN, but only allocates three characters per binder in the buffer.  Placeholders 10-99 require four characters, 100-999 require five characters, et cetera.

(As written by CVE List.)

## Affected

- DBI: before 1.648
- perl dbi: before 1.648

## References

- <https://metacpan.org/release/HMBRAND/DBI-1.648/changes> (release-notes)
- <https://github.com/perl5-dbi/dbi/commit/af79036c07aa9a457971c0f4136e37c85dc20978.patch> (patch)
- <http://www.openwall.com/lists/oss-security/2026/06/06/4> (mailing-list, third-party-advisory)

## Sources

- CVE List: [CVE-2026-10879](https://www.cve.org/CVERecord?id=CVE-2026-10879), CVE Terms of Use, modified 2026-06-08
- NVD: [CVE-2026-10879](https://nvd.nist.gov/vuln/detail/CVE-2026-10879), Public domain, modified 2026-10-26

---

Page: https://cve.day/CVE-2026-10879 · Whole record: https://cve.day/CVE-2026-10879.json · Rebuilt by cve.day 2026-11-25T22:59:23.882Z
