CPANSA-DBI-2026-14740: DBI vulnerability
| Publisher | giterlizzi | Document category | csaf_security_advisory |
|---|---|---|---|
| Initial release date | 2026-07-07T00:00:00 | Engine | CSAF Perl Toolkit 0.26 |
| Current release date | 2026-07-07T00:00:00 | Build Date | |
| Current version | 1 | Status | final |
| CVSS v3.1 Base Score | 9.1 | Severity | |
| Original language | Language | en | |
| Also referred to | |||
Vulnerability Description
DBI versions before 1.650 for Perl read one byte out-of-bounds in preparse when deleting an initial SQL comment. The preparse method normalises SQL and removes comments. When the SQL starts with a comment line, the deletion of that line during normalisation led to an out-of-bounds read by one byte. The result is a fault on memory-hardened builds and nondeterministic newline retention on normal builds.
Vulnerabilities
CVE-2026-14740
Vulnerability DescriptionDBI versions before 1.650 for Perl read one byte out-of-bounds in preparse when deleting an initial SQL comment.
The preparse method normalises SQL and removes comments. When the SQL starts with a comment line, the deletion of that line during normalisation led to an out-of-bounds read by one byte. The result is a fault on memory-hardened builds and nondeterministic newline retention on normal builds.
| Weakness | CWE-125 : Out-of-bounds Read |
|---|
Product status
Known affected
| Product | Score | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| DBI less than 1.650 |
|
Fixed
- DBI greater than or equal 1.650
giterlizzi
Namespace: https://github.com/giterlizzi/
gdt@cpan.org
References
- CPANSA-DBI-2026-14740 JSON self
https://raw.githubusercontent.com/giterlizzi/perl-CPANSA-CSAF/develop/csaf/white/2026/cpansa-dbi-2026-14740.json - https://github.com/perl5-dbi/dbi/commit/fc16f9e8b3dd5c65caf1867781ab2bfe2fadcc01.patch external
https://github.com/perl5-dbi/dbi/commit/fc16f9e8b3dd5c65caf1867781ab2bfe2fadcc01.patch - https://github.com/perl5-dbi/dbi/security/advisories/GHSA-35f4-f8m9-w8xg external
https://github.com/perl5-dbi/dbi/security/advisories/GHSA-35f4-f8m9-w8xg - https://metacpan.org/release/HMBRAND/DBI-1.650/changes external
https://metacpan.org/release/HMBRAND/DBI-1.650/changes - http://www.openwall.com/lists/oss-security/2026/07/07/17 external
http://www.openwall.com/lists/oss-security/2026/07/07/17 - CVE-2026-14740 (NVD) external
https://nvd.nist.gov/vuln/detail/CVE-2026-14740
Revision history
| Version | Date of the revision | Summary of the revision |
|---|---|---|
| 1 | Tue Jul 7 00:00:00 2026 | First release |
Sharing rules
TLP:WHITE
For the TLP version see: https://www.first.org/tlp/