cve.bz

CVE-2026-10879 perl dbi: Out-of-bounds Write

9.8 criticalEPSS 0.5%Fix available

Critical (9.8) in perl dbi. EPSS 0.5% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

CVSS 3.1

9.8 critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS
0.5% (unchanged from 0.5% a week ago; 0.5% 30 days ago) estimated probability of exploitation activity in the next 30 days; 43rd percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: yes · Technical impact: total, assessed 2026-06-08. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-787 Out-of-bounds Write
Published
Modified
NVD analysis
Analyzed
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2026-10879 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-10879?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-10879?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-10879 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
HMBRAND DBIbefore 1.648

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian11libdbi-perl1.643-3+deb11u1DLA-4649-1
Debian12libdbi-perl1.643-4+deb12u1DEBIAN-CVE-2026-10879 DSA-6338-1
Debian13libdbi-perl1.647-1+deb13u1DEBIAN-CVE-2026-10879 DSA-6338-1
Debian14libdbi-perl1.648-1DEBIAN-CVE-2026-10879
Ubuntu22.04:LTSlibdbi-perl1.643-3ubuntu0.1UBUNTU-CVE-2026-10879
Ubuntu24.04:LTSlibdbi-perl1.643-4ubuntu0.1UBUNTU-CVE-2026-10879
Ubuntu25.10libdbi-perl1.647-1ubuntu0.25.10.1UBUNTU-CVE-2026-10879
Ubuntu26.04:LTSlibdbi-perl1.647-1ubuntu0.26.04.1UBUNTU-CVE-2026-10879
UbuntuPro:14.04:LTSlibdbi-perl1.630-1ubuntu0.1~esm6UBUNTU-CVE-2026-10879
UbuntuPro:16.04:LTSlibdbi-perl1.634-1ubuntu0.2+esm2UBUNTU-CVE-2026-10879
UbuntuPro:18.04:LTSlibdbi-perl1.640-1ubuntu0.3+esm1UBUNTU-CVE-2026-10879
UbuntuPro:20.04:LTSlibdbi-perl1.643-1ubuntu0.1+esm1UBUNTU-CVE-2026-10879
Red Hatenterprise_linux:8::appstreamperl-DBI, perl-DBI-debuginfo, perl-DBI-debugsource0:1.641-5.module+el8.10.0+24438+dc2220ddRHSA-2026:38901
Red Hatenterprise_linux:8::baseosperl-DBI, perl-DBI-debuginfo, perl-DBI-debugsource0:1.641-2.el8_10RHSA-2026:62667
Red Hatenterprise_linux:9::appstreamperl-DBI, perl-DBI-debuginfo, perl-DBI-debugsource0:1.643-9.el9_8.1RHSA-2026:38512
Red Hatenterprise_linux:10.2perl-DBI, perl-DBI-debuginfo, perl-DBI-debugsource0:1.643-26.el10_2.1RHSA-2026:38513
SUSELinux Enterprise Module for Basesystem 15 SP7, Linux Enterprise Server 15 SP6-LTSS, Linux Enterprise Server for SAP Applications 15 SP6perl-DBI1.647.0-150600.12.11.1SUSE-SU-2026:2749-1
SUSELinux Enterprise Server 16.0, Linux Enterprise Server for SAP applications 16.0perl-DBI1.647.0-160000.3.1SUSE-SU-2026:22330-1
SUSELinux Micro 6.2perl-DBI1.647.0-160000.3.1SUSE-SU-2026:22257-1
openSUSELeap 16.0perl-DBI1.647.0-160000.3.1openSUSE-SU-2026:21029-1
openSUSETumbleweedperl-DBI1.648.0-1.1openSUSE-SU-2026:10986-1
AlmaLinux8perl-DBI1.641-2.el8_10ALSA-2026:62667
AlmaLinux8perl-DBI1.641-5.module_el8.10.0+4218+c616d9bdALSA-2026:38901
AlmaLinux8perl-DBI1.641-5.module_el8.10.0+4219+13f48a6eALSA-2026:38901
AlmaLinux8perl-DBI1.641-5.module_el8.10.0+4220+8669cc49ALSA-2026:38901
AlmaLinux9perl-DBI1.643-9.el9_8.1ALSA-2026:38512
AlmaLinux10perl-DBI1.643-26.el10_2.1ALSA-2026:38513
Rocky Linux8perl-DBI0:1.641-2.el8_10RLSA-2026:62667
Alpinev3.24perl-dbi1.648-r0ALPINE-CVE-2026-10879
Azure Linux3perl-DBI1.643-5AZL-89559
Alpaquita23perl-dbi1.643-r5BELL-CVE-2026-10879
Alpaquita25perl-dbi1.647-r1BELL-CVE-2026-10879
Alpaquitastreamperl-dbi1.648-r0BELL-CVE-2026-10879

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; AlmaLinux's OSV database, MIT; Rocky Linux's errata, BSD-3-Clause; the Alpine secdb, CC BY-SA 4.0; Microsoft's Azure Linux vulnerability data, MIT; BellSoft's OSV database, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE · Alpine · Alpaquita.

Red Hat

Red Hat rates this Important.

Red Hat's statement

A heap buffer overflow flaw of important severity was found in the perl-DBI Perl database interface module, affecting the perl-DBI packages in Red Hat Enterprise Linux 6, 7, 8, 9, and 10 (including the perl-DBI:1.641 module streams on RHEL 8) and in Red Hat In-Vehicle OS. When the DBI `preparse` method rewrites a SQL statement containing `?` placeholders, each placeholder is expanded to a numbered binder of the form `:pN`, but the destination buffer was allocated assuming only three characters per binder. A statement with more than 9 placeholders generates binders with two or more digits (for example `:p1003`), so the expanded statement can exceed the allocated buffer and overflow the heap. An attacker who can influence a SQL statement that an application using the vulnerable preparse path prepares could exploit this to crash the application, causing a denial of service, or potentially achieve memory corruption leading to arbitrary code execution. Red Hat rates this flaw as IMPORTANT with a CVSS 3.1 score of 7.7 (AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H), lower than the CISA score of 9.8 that assumes a network attack vector, because exploitation requires a local application to pass attacker-controlled SQL through the affected preparse code path rather than direct network exposure of the flaw itself, and Red Hat's scoring reflects no direct confidentiality impact. The affected Red Hat Enterprise Linux and Red Hat In-Vehicle OS streams are tracked as AFFECTED, with fixes being pursued for those streams; Fedora is not affected because the vulnerable code is not present in its perl-DBI packages.

Red Hat's mitigation

Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base, or stability.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 10perl-DBI-0:1.643-26.el10_2.1Fixed 2026-07-13RHSA-2026:38513
Red Hat Enterprise Linux 8perl-DBI:1.641-8100020260624081239.69ef70f8Fixed 2026-07-13RHSA-2026:38901
Red Hat Enterprise Linux 8perl-DBI-0:1.641-2.el8_10Fixed 2026-09-02RHSA-2026:62667
Red Hat Enterprise Linux 9perl-DBI-0:1.643-9.el9_8.1Fixed 2026-07-13RHSA-2026:38512
Red Hat Insights proxy 1.5insights-proxy/insights-proxy-container-rhel9:1786433656Fixed 2026-08-11RHSA-2026:53371
Red Hat Enterprise Linux 6perl-DBIAffected
Red Hat Enterprise Linux 7perl-DBIAffected

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2026-10879.

References

Check your stackJSON