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.
References
| Link | Resource |
|---|---|
| https://github.com/perl5-dbi/dbi/commit/af79036c07aa9a457971c0f4136e37c85dc20978.patch | Patch |
| https://metacpan.org/release/HMBRAND/DBI-1.648/changes | Release Notes |
| http://www.openwall.com/lists/oss-security/2026/06/06/4 | Mailing List Third Party Advisory |
Configurations
History
10 Jun 2026, 15:02
| Type | Values Removed | Values Added |
|---|---|---|
| References | () https://github.com/perl5-dbi/dbi/commit/af79036c07aa9a457971c0f4136e37c85dc20978.patch - Patch | |
| References | () https://metacpan.org/release/HMBRAND/DBI-1.648/changes - Release Notes | |
| References | () http://www.openwall.com/lists/oss-security/2026/06/06/4 - Mailing List, Third Party Advisory | |
| CPE | cpe:2.3:a:perl:dbi:*:*:*:*:*:*:*:* | |
| First Time |
Perl
Perl dbi |
08 Jun 2026, 18:16
| Type | Values Removed | Values Added |
|---|---|---|
| CVSS |
v2 : v3 : |
v2 : unknown
v3 : 9.8 |
06 Jun 2026, 06:16
| Type | Values Removed | Values Added |
|---|---|---|
| References |
|
05 Jun 2026, 15:16
| Type | Values Removed | Values Added |
|---|---|---|
| New CVE |
Information
Published : 2026-06-05 15:16
Updated : 2026-06-17 10:12
NVD link : CVE-2026-10879
Mitre link : CVE-2026-10879
CVE.ORG link : CVE-2026-10879
JSON object : View
Products Affected
perl
- dbi
CWE
CWE-787
Out-of-bounds Write
