CVE-2026-10879: CWE-787 (Out-of-bounds Write) in HMBRAND DBI
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.
AI Analysis
Technical Summary
CVE-2026-10879 is a heap overflow vulnerability (CWE-787) in the HMBRAND DBI Perl module versions prior to 1.648. The issue occurs in the preparse method that expands SQL placeholders into numbered binders like :pN. The buffer allocated for each binder assumes three characters, but binders numbered 10-99 require four characters, 100-999 require five, etc., leading to a heap overflow when SQL statements contain more than 9 binders.
Potential Impact
Successful exploitation can lead to arbitrary code execution, data corruption, or denial of service due to the heap overflow. The CVSS score of 9.8 indicates critical impact with high confidentiality, integrity, and availability consequences. No known exploits in the wild have been reported yet.
Mitigation Recommendations
No official patch or remediation level is currently confirmed. Users should upgrade to DBI version 1.648 or later once available. Until then, avoid preparing SQL statements with more than 9 binders as a temporary mitigation. Monitor vendor advisories for updates on official fixes.
CVE-2026-10879: CWE-787 (Out-of-bounds Write) in HMBRAND DBI
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.
CVSS v3.1
Score 9.8critical
Affected software
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
CVE-2026-10879 is a heap overflow vulnerability (CWE-787) in the HMBRAND DBI Perl module versions prior to 1.648. The issue occurs in the preparse method that expands SQL placeholders into numbered binders like :pN. The buffer allocated for each binder assumes three characters, but binders numbered 10-99 require four characters, 100-999 require five, etc., leading to a heap overflow when SQL statements contain more than 9 binders.
Potential Impact
Successful exploitation can lead to arbitrary code execution, data corruption, or denial of service due to the heap overflow. The CVSS score of 9.8 indicates critical impact with high confidentiality, integrity, and availability consequences. No known exploits in the wild have been reported yet.
Mitigation Recommendations
No official patch or remediation level is currently confirmed. Users should upgrade to DBI version 1.648 or later once available. Until then, avoid preparing SQL statements with more than 9 binders as a temporary mitigation. Monitor vendor advisories for updates on official fixes.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- CPANSec
- Date Reserved
- 2026-06-04T16:34:48.978Z
- Cvss Version
- null
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6a22e1c9e29bf47b50813699
Added to database: 06/05/2026, 14:48:41 UTC
Last enriched: 06/13/2026, 09:44:04 UTC
Last updated: 07/31/2026, 19:22:57 UTC
Views: 64
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.