Skip to main content

Perl DBI CVE-2026-60082

| EUVDEUVD-2026-43729 CRITICAL
Out-of-bounds Read (CWE-125)
2026-07-14 CPANSec
Critical
Disputed · 9.1 Vendor: CPANSec
Share

Severity by source

Sources disagree (Medium–Critical)
Vendor (CPANSec) PRIMARY
9.1 CRITICAL
AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H
vuln.today AI
7.4 HIGH

AC:H because the trigger needs the specific zero-field/non-empty-row inconsistency from an untrusted driver or backend; C:H and A:H for memory disclosure and process crash, I:N as no integrity impact.

3.1 AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:H
4.0 AV:N/AC:H/AT:N/PR:N/UI:N/VC:H/VI:N/VA:H/SC:N/SI:N/SA:N
SUSE
4.0 MEDIUM
AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
Red Hat
3.3 MEDIUM
qualitative

vuln.today treats the vendor’s rating as authoritative. A higher third-party CVSS (e.g. CISA-ADP) is shown for transparency but does not drive the headline severity.

CVSS VectorVendor: CPANSec

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
None
Availability
High

Lifecycle Timeline

5
Source Code Evidence Fetched
Jul 15, 2026 - 15:24 vuln.today
Analysis Generated
Jul 15, 2026 - 15:24 vuln.today
CVSS changed
Jul 15, 2026 - 15:22 NVD
9.1 (CRITICAL)
CVE Published
Jul 14, 2026 - 15:35 cve.org
UNKNOWN (no severity yet)
CVE Published
Jul 14, 2026 - 15:35 cve.org
CRITICAL 9.1

DescriptionCVE.org

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.

AnalysisAI

Out-of-bounds read in the Perl DBI (Database Independent Interface) module before version 1.651 lets a caller trigger a negative-array-index read inside the internal row-buffer helper (_set_fbav in DBI.xs), potentially disclosing adjacent process memory or crashing the interpreter. The flaw arises when a statement handle declares zero fields but is fed a non-empty source row, an inconsistency the module failed to reject before returning results. No public exploit has been identified at time of analysis and the issue is not on CISA KEV; the assigned CVSS of 9.1 reflects high confidentiality and availability impact under a network vector, but realistic exploitation depends on a caller (typically a DBD driver or database backend) supplying mismatched metadata and rows.

Technical ContextAI

DBI is the standard database abstraction layer for Perl; virtually every Perl application that talks to a database (via DBD::mysql, DBD::Pg, DBD::SQLite, DBD::ODBC, etc.) routes result rows through DBI's C-level (XS) core. The vulnerable routine _set_fbav copies a source row into the statement handle's field-buffer array vector (fbav). The root cause is CWE-125 (Out-of-bounds Read): when the statement handle reports dst_fields 0 but the incoming source row is non-empty, the helper computes an index into the destination buffer that underflows to a negative offset, reading memory outside the intended array. The upstream fix (commit 397868704291bbf0989b97e2c0661189890653e2, released in 1.651) adds an explicit guard that croaks when dst_fields 0, enforcing consistency between the statement handle's declared field count and the row actually supplied.

RemediationAI

Upgrade to DBI 1.651 or later, which enforces field-count consistency and rejects a zero-field statement handle paired with a non-empty row (Vendor-released patch: DBI 1.651). The fix is commit 397868704291bbf0989b97e2c0661189890653e2 (https://github.com/perl5-dbi/dbi/commit/397868704291bbf0989b97e2c0661189890653e2.patch); install the patched CPAN release via your package manager or cpanm DBI@1.651. Because DBI is a shared dependency, rebuild or re-test applications and any XS-based DBD drivers against the new version. If you cannot upgrade immediately, the practical compensating control is to avoid trusting untrusted or unstable DBD drivers and untrusted database backends that could return inconsistent field metadata, and to run Perl database workloads under process isolation so an out-of-bounds read that crashes the interpreter cannot take down co-located services; note these controls reduce blast radius but do not close the underlying memory-safety bug, so treat them as temporary. Consult GHSA-rwhc-hhmv-cjvg and the oss-security advisory (https://seclists.org/oss-sec/2026/q3/143) for vendor guidance.

Vendor StatusVendor

SUSE

Severity: Moderate
Product Status
openSUSE Leap 16.0 Fixed
openSUSE Tumbleweed Fixed
SUSE Linux Enterprise High Performance Computing 15 SP4-ESPOS Affected
SUSE Linux Enterprise High Performance Computing 15 SP4-LTSS Affected
SUSE Linux Enterprise High Performance Computing 15 SP5-ESPOS Affected

Share

CVE-2026-60082 vulnerability details – vuln.today

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy