CVE-2026-10879 Details
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.
A heap overflow vulnerability exists in the DBI module for Perl, specifically in versions prior to 1.648. The issue arises when the 'preparse' method processes SQL statements containing more than nine placeholders. The method expands placeholders into numbered binders, but the allocated buffer only accommodates three characters per binder. This limitation causes a heap overflow when placeholders numbered 10-99 (requiring four characters) or 100-999 (requiring five characters) are introduced.
Users can upgrade to DBI version 1.648 or later, where this vulnerability has been fixed.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Jun 8, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/perl5-dbi/dbi/commit/af79036c07aa9a457971c0f4136e37c85dc20978.patch | CPANSec | Patch |
| https://metacpan.org/release/HMBRAND/DBI-1.648/changes | CPANSec | Release Notes |
| http://www.openwall.com/lists/oss-security/2026/06/06/4 | CVE | Mailing ListThird Party Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-787 | Out-of-bounds Write | CPANSec |
Affected Products
| Product | Versions |
|---|---|
| perl dbi | < 1.648 |
CPE
Remediation
| |
Change History
7 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Oct 26, 2026 | CVE Translated | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Jun 17, 2026 | CVE Modified | CPANSec |
| Jun 10, 2026 | Initial Analysis | [email protected] |
| Jun 8, 2026 | CVE Modified | CISA-ADP |
| Jun 6, 2026 | CVE Modified | CVE |
| Jun 5, 2026 | New CVE Received | CPANSec |