CVE-2026-60082 Details
Description
DBI versions before 1.651 for Perl do not enforce statement handle consistency with the row. When the statement handle had no fields but the source row was non-empty, the internal row-buffer helper would read from a negative array index. This could be triggered by a caller supplying inconsistent metadata and rows to the prepare method.
A vulnerability exists in the Perl DBI module, specifically in versions prior to 1.651, related to improper handling of statement handle row buffers. When a statement handle is prepared with metadata indicating zero fields, but a source row contains data, the internal row-buffer management can mistakenly read from a negative array index. This issue arises because the row-buffer helper function, '_set_fbav', attempts to copy the source row into the statement handle's field buffer. If the source row has more elements than the statement handle's declared field count, and the handle has zero fields, the function can access memory out of bounds. This vulnerability can be triggered by supplying inconsistent metadata and row data to the statement preparation method.
Users should upgrade to DBI version 1.651 or later, where this vulnerability has been fixed.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Jul 14, 2026CISA-ADP
Assessed Jul 15, 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/397868704291bbf0989b97e2c0661189890653e2.patch | CPANSec | Source CodeVendor |
| https://github.com/perl5-dbi/dbi/security/advisories/GHSA-rwhc-hhmv-cjvg | CPANSec | AdvisoryRemedyVendor |
| https://metacpan.org/release/HMBRAND/DBI-1.651/changes | CPANSec | Release NotesVendor |
| http://www.openwall.com/lists/oss-security/2026/07/14/13 | CVE |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-125 | Out-of-bounds Read | CPANSec |
Affected Products
| Product | Versions |
|---|---|
| Perl DBI | < 1.651 |
CPE
Remediation
| |
Change History
3 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jul 15, 2026 | CVE Modified | CISA-ADP |
| Jul 14, 2026 | CVE Modified | CVE |
| Jul 14, 2026 | New CVE Received | CPANSec |
Volerion