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.
Published: 2026-07-14
Score: 9.1 Critical
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

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.

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

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

No advisories yet.

History

Fri, 17 Jul 2026 00:15:00 +0000

Type Values Removed Values Added
References
Metrics threat_severity

None

threat_severity

Moderate


Wed, 15 Jul 2026 14:30:00 +0000

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'}


Tue, 14 Jul 2026 17:00:00 +0000

Type Values Removed Values Added
First Time appeared Hmbrand
Hmbrand dbi
Vendors & Products Hmbrand
Hmbrand dbi

Tue, 14 Jul 2026 15:45:00 +0000

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

cve-icon MITRE

Status: PUBLISHED

Assigner: CPANSec

Published:

Updated: 2026-07-15T14:08:02.262Z

Reserved: 2026-07-08T11:45:04.838Z

Link: CVE-2026-60082

cve-icon Vulnrichment

Updated: 2026-07-14T18:23:08.729Z

cve-icon NVD

No data.

cve-icon Redhat

Severity : Moderate

Publid Date: 2026-07-14T15:35:00Z

Links: CVE-2026-60082 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-07-31T10:15:06Z

Weaknesses