CVE-2026-10879: Heap buffer overflow in Perl DBI SQL preparse
- Vendor
- Perl
CVE-2026-10879 is a heap buffer overflow in Perl DBI versions before 1.648. The preparse method expands SQL placeholders into numbered binders of the form :pN but allocates only three characters per binder. Binders numbered 10–99 require four characters, those numbered 100–999 require five, and larger indices require progressively more space. Preparsing statements containing more than nine binders can consequently write beyond the allocated heap buffer.
Impact, mitigation & remediation
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
Impact
What an attacker gets, and what they’ve been doing with it.
The out-of-bounds write can corrupt the memory of the Perl application, potentially causing a crash or denial of service. Arbitrary code execution may be possible depending on application context and runtime protections, but demonstrated code execution is not established. Any resulting compromise would occur within the affected application's security context.
Mitigation
If you can’t patch tonight, do this now.
Until patched, prevent untrusted input from controlling SQL statement structure passed to the affected preparse operation. Where feasible, reject statements requiring more than nine binders before invoking that operation, or avoid the affected placeholder-expansion path. These are application-level exposure reductions rather than a replacement for updating DBI.
Remediation
Patch, then assume compromise.
Upgrade Perl DBI to version 1.648 or later, or install the distribution's backported security update. Debian fixed packages include 1.643-4+deb12u1 for bookworm and 1.647-1+deb13u1 for trixie. Prefer a current supported release incorporating subsequent preparse fixes: the original correction remained insufficient for extreme placeholder counts, tracked separately as CVE-2026-14739 and addressed in 1.650, with further placeholder validation added in 1.652.
Exploits
No public exploits tracked yet. Mallory keeps watching.
Affected products & vendors
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
References
Frequently asked questions
- Is CVE-2026-10879 exploited in the wild?
- As of Nov 26, 2026, Mallory has no reports of CVE-2026-10879 being exploited in the wild. It is not listed in CISA KEV.
- Is there a public exploit for CVE-2026-10879?
- As of Nov 26, 2026, Mallory has found no public exploit for CVE-2026-10879.
- Is there a patch for CVE-2026-10879?
- Upgrade Perl DBI to version 1.648 or later, or install the distribution's backported security update. Debian fixed packages include 1.643-4+deb12u1 for bookworm and 1.647-1+deb13u1 for trixie.
- What products are affected by CVE-2026-10879?
- Perl Dbi.
- How severe is CVE-2026-10879?
- CVE-2026-10879 has a CVSS v3.1 score of 9.8 (Critical) and an EPSS score of 0.71% (49th percentile) as of Nov 26, 2026.
Recent activity
50 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.