CVE-2026-60082

DBI versions before 1.651 for Perl do not enforce statement handle consistency with the row

Published Jul 14, 2026 CVSS 3.1 · 9.1 Critical EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

Technical impact

DBI versions earlier than 1.651 for Perl fail to enforce consistency between a statement handle’s declared fields and the data passed to the prepare method. When a statement handle declares no fields while the caller supplies a non‑empty row, the internal row‑buffer helper reads from a negative array index. This results in an out‑of‑bounds memory read that can expose arbitrary contents of the process memory to the caller, potentially revealing sensitive data that resides near the buffer in memory.

Affected Systems

All installations of the HMBRAND:DBI Perl module with a version number lower than 1.651 are affected. The vendor has provided an official fix by upgrading to version 1.651 or a later release. Systems remaining on older versions should verify that prepare calls are not supplied with inconsistent metadata and row data, as this is the condition that triggers the vulnerability.

Risk and Exploitability

The CVSS score of 9.1 reflects the severity of the information‑disclosure impact, although the EPSS score of less than 1% indicates a low likelihood of exploitation at present. The vulnerability requires an attacker to influence the preparation of a database statement in a way that supplies mismatched metadata and rows; this is likely achievable only by a local or application‑level adversary with control over the database interface. Because the issue involves a read rather than a write, the impact is limited to disclosure of internal process memory, with no evidence of code execution or denial of service.

Remediation

Vendor Solution

Upgrade to version 1.651 or later.


OpenCVE Recommended Actions

  • Upgrade the HMBRAND:DBI Perl module to version 1.651 or later.
  • Ensure that every prepared statement supplies consistent metadata and row data matching the declared columns.
  • If an upgrade is not immediately feasible, apply the upstream patch available at https://github.com/perl5-dbi/dbi/commit/397868704291bbf0989b97e2c0661189890653e2.patch.

Generated by OpenCVE AI on July 31, 2026 at 10:04 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Debian DLA Debian DLA DLA-4764-1 libdbi-perl security update
Debian DSA Debian DSA DSA-6473-1 libdbi-perl security update
History
Type Values Removed Values Added
Metrics cvssV3_1

{'score': 9.1, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H'}

ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Hmbrand
Hmbrand dbi
Vendors & Products Hmbrand
Hmbrand dbi
Type Values Removed Values Added
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.
Title DBI versions before 1.651 for Perl do not enforce statement handle consistency with the row
Weaknesses CWE-125
References
Weaknesses

Sources

Status
PUBLISHED
Assigner
CPANSec
Published
Updated
Jul 15, 2026, 2:08 PM
Reserved
Jul 8, 2026, 11:45 AM
Status
Deferred
Published
Jul 14, 2026, 4:17 PM
Modified
Oct 24, 2026, 9:10 PM
Severity
Moderate
Public date
Jul 14, 2026, 3:35 PM