Skip to main content

Perl DBI EUVDEUVD-2026-43729

| CVE-2026-60082 CRITICAL
Out-of-bounds Read (CWE-125)
2026-07-14 CPANSec
Critical
Disputed · 9.1 Vendor: CPANSec
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Control malicious DB backend or driver
  2. Delivery
    Return zero-field metadata with non-empty row
  3. Exploit
    Application fetches row via DBI
  4. Execution
    _set_fbav reads negative array index
  5. Impact
    Disclose adjacent memory or crash interpreter

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Bounds checking, read limits
MITRE ATT&CK

1 technique across 1 tactic: Collection

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires a caller to invoke DBI's prepare/result path with a statement handle that declares zero fields (dst_fields == 0) while supplying a non-empty source row - the mismatched metadata-versus-row condition is the exact prerequisite named in the description. In practice the entity able to supply that inconsistency is a DBD driver or a database backend the driver trusts, not an arbitrary remote user, which is the main factor limiting real-world exploitation despite the AV:N/PR:N rating. Well-behaved standard drivers keep field counts consistent, so default, trusted deployments are unlikely to reach the vulnerable branch; the risk concentrates where the database server or driver is untrusted, compromised, or custom. There is no user-interaction requirement, but the non-default inconsistent-metadata state is the binding limiter.

Impact

Signals are mixed and worth separating. The published CVSS:3.1 vector (AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H, score 9.1) implies trivial, unauthenticated, remote exploitation, but the description constrains the trigger to a caller supplying inconsistent metadata and rows to prepare - i.e., the exploiting code is a DBD driver or a database backend the driver trusts, not an arbitrary internet attacker. That gap means AC:L and PR:N are optimistic; a more honest read raises attack complexity because the specific zero-field / non-empty-row condition must be met. No EPSS score was provided, there is no POC, and the CVE is not in CISA KEV, so there is no evidence of active or automated exploitation. Realistic impact is memory disclosure or a denial-of-service crash of the Perl process, not code execution. Priority is moderate: patch promptly because DBI is deeply embedded and the impact is memory-safety, but this is not a drop-everything, mass-exploited issue like the raw 9.1 might suggest. Verify with the vendor advisory whether any bundled DBD driver can be induced by a malicious database server to hit this path.

Exploit ScenarioDerived

An attacker who controls or compromises a database backend (or a malicious/buggy DBD driver) returns a result set whose declared field metadata says zero fields while the row payload is non-empty; when the application fetches this row, DBI's _set_fbav reads from a negative array index, leaking adjacent heap memory into the result or crashing the Perl process. No public POC exists, and the specific inconsistent-metadata condition raises real-world attack complexity above what the CVSS AC:L rating implies.

Act Now Prioritize within 24-48h. Why: CRITICAL severity.
Patch available 0.2% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Jul 15, 2026

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.

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.

Affected VersionsENISA

DBI 0 <1.651

Affected Packages

euvd dbi fix: 1.651

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

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.

Know when Dbi gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

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

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

3
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.

Executive ViewAI

Why It Matters

Perl DBI module before version 1.651 contains a critical out-of-bounds read vulnerability (CVSS 9.1) affecting all Perl-based database applications, with potential to leak sensitive memory contents or crash application processes. Organizations relying on Perl and relational databases must upgrade immediately to restore memory safety and prevent confidentiality breaches or service disruptions.

Business Impact: High
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.2%
Top 89% exploitable
Prevalence
High
core database interface module used by virtually all Perl DB applications
Data Quality
8 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment MSRC Vendor GitHub VulDB

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity CRITICAL
CISA KEV No
Public POC No
EPSS 0.2%
Patch available Yes
Active threat No
Deciding rule
CRITICAL severity
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
Yes
Human Impact
High
Technical Impact
Partial

Priority Score

46
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +46
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

A buffer overflow occurs when a program writes more data to a memory buffer than it was allocated to hold, causing the excess data to spill into adjacent memory regions.

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

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

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