CVE-2026-10879DBI versions before 1.648 for Perl have a heap overflow when preparsing SQL statements…
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.
What to do
Fixed builds are available from AlmaLinux, Alpine, Debian, Red Hat, Rocky Linux, Ubuntu: see the table below for the fixed version per release.
Red Hat, Ubuntu have not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.04 | libdbi-perl | Fixed | 1.647-1ubuntu0.26.04.1 | UBUNTU-CVE-2026-10879 |
| Ubuntu 25.10 | libdbi-perl | Fixed | 1.647-1ubuntu0.25.10.1 | UBUNTU-CVE-2026-10879 |
| Ubuntu 24.04 | libdbi-perl | Fixed | 1.643-4ubuntu0.1 | UBUNTU-CVE-2026-10879 |
| Ubuntu 22.04 | libdbi-perl | Fixed | 1.643-3ubuntu0.1 | UBUNTU-CVE-2026-10879 |
| Ubuntu 20.04 | libdbi-perl | Fix pending | 1.643-1ubuntu0.1+esm1 (Ubuntu Pro) | UBUNTU-CVE-2026-10879 |
| Ubuntu 18.04 | libdbi-perl | Fix pending | 1.640-1ubuntu0.3+esm1 (Ubuntu Pro) | UBUNTU-CVE-2026-10879 |
| Ubuntu 16.04 | libdbi-perl | Fix pending | 1.634-1ubuntu0.2+esm2 (Ubuntu Pro) | UBUNTU-CVE-2026-10879 |
| Ubuntu 14.04 | libdbi-perl | Fix pending | 1.630-1ubuntu0.1~esm6 (Ubuntu Pro) | UBUNTU-CVE-2026-10879 |
| Debian 14 | libdbi-perl | Fixed | 1.648-1 | DEBIAN-CVE-2026-10879 |
| Debian 13 | libdbi-perl | Fixed | 1.647-1+deb13u1 | DEBIAN-CVE-2026-10879 |
| Debian 12 | libdbi-perl | Fixed | 1.643-4+deb12u1 | DEBIAN-CVE-2026-10879 |
| Red Hat Enterprise Linux 10 | perl-DBI | Fixed | 0:1.643-26.el10_2.1 | RHSA-2026:38513 |
| Red Hat Enterprise Linux 9 | perl-DBI | Fixed | 0:1.643-9.el9_8.1 | RHSA-2026:38512 |
| Red Hat Enterprise Linux 8 | perl-DBI | Fixed | 0:1.641-2.el8_10 | RHSA-2026:38901 |
| Red Hat Enterprise Linux 7 | perl-DBI | Fix pending Affected | ||
| Red Hat Enterprise Linux 6 | perl-DBI | Fix pending Affected | ||
| AlmaLinux 10 | perl-DBI | Fixed | 1.643-26.el10_2.1 | ALSA-2026:38513 |
| AlmaLinux 9 | perl-DBI | Fixed | 1.643-9.el9_8.1 | ALSA-2026:38512 |
| AlmaLinux 8 | perl-DBI | Fixed | 1.641-2.el8_10 | ALSA-2026:38901 |
| Rocky Linux 8 | perl-DBI | Fixed | 0:1.641-2.el8_10 | RLSA-2026:62667 |
| Alpine Linux 3.24 | perl-dbi | Fixed | 1.648-r0 | ALPINE-CVE-2026-10879 |
What the vendor says
As published in the CVE record by CPANSec, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- HMBRAND DBI: affected: before 1.648; fixed in
1.648
Solution: Upgrade to DBI 1.648 or later.
Vendor advisories:
- https://metacpan.org/release/HMBRAND/DBI-1.648/changes (release-notes)
- https://github.com/perl5-dbi/dbi/commit/af79036c07aa9a457971c0f4136e37c85dc20978.patch (patch)
References
- https://metacpan.org/release/HMBRAND/DBI-1.648/changes
- https://github.com/perl5-dbi/dbi/commit/af79036c07aa9a457971c0f4136e37c85dc20978.patch
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.