| Name | CVE-2026-10879 |
| 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. |
| Source | CVE (at NVD; CERT, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
| References | DLA-4649-1, DSA-6338-1 |
The table below lists information on source packages.
| Source Package | Release | Version | Status |
|---|---|---|---|
| libdbi-perl (PTS) | bullseye | 1.643-3 | vulnerable |
| bullseye (security) | 1.643-3+deb11u1 | fixed | |
| bookworm | 1.643-4 | vulnerable | |
| bookworm (security) | 1.643-4+deb12u1 | fixed | |
| trixie | 1.647-1 | vulnerable | |
| trixie (security) | 1.647-1+deb13u1 | fixed | |
| forky, sid | 1.648-1 | fixed |
The information below is based on the following data on fixed versions.
| Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
|---|---|---|---|---|---|---|
| libdbi-perl | source | bullseye | 1.643-3+deb11u1 | DLA-4649-1 | ||
| libdbi-perl | source | bookworm | 1.643-4+deb12u1 | DSA-6338-1 | ||
| libdbi-perl | source | trixie | 1.647-1+deb13u1 | DSA-6338-1 | ||
| libdbi-perl | source | (unstable) | 1.648-1 |
https://lists.security.metacpan.org/cve-announce/msg/40729086/
Fixed by: https://github.com/perl5-dbi/dbi/commit/af79036c07aa9a457971c0f4136e37c85dc20978 (1.648)