Description
DBI versions before 1.650 for Perl have a heap overflow when preparsing SQL statements with an extreme number of placeholders.

The fix for CVE-2026-10879 did not allocate enough memory to handle approximately 1.2-million placeholders.

DBI version 1.650 sets a hard limit of 99,999 placeholders.
Published: 2026-07-07
Score: 9.8 Critical
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

DBI versions earlier than 1.650 for Perl contain a heap overflow that occurs during preparsing of SQL statements that include an extreme number of placeholders. The module fails to allocate sufficient memory for the placeholder list, leading to a buffer overflow. An attacker who can supply a SQL statement with many placeholders could corrupt memory or potentially execute arbitrary code, compromising application integrity and, if elevated privileges exist, the underlying operating system.

Affected Systems

Vulnerable installations are those running the DBI Perl module under the HMBRAND:DBI product line with a version lower than 1.650. Any Perl application that loads such a version and constructs parameterized queries with a large number of bind variables is potentially impacted. The fix was introduced in version 1.650, which imposes a hard limit of 99,999 placeholders to prevent the overflow.

Risk and Exploitability

With a CVSS score of 9.8 the flaw has high severity. The EPSS score of <1% indicates a low probability of real‑world exploitation, and the vulnerability is not listed in CISA KEV. Exploitation requires an attacker to supply a SQL statement containing an extraordinarily large number of placeholders, which is only feasible if the application accepts user‑supplied query templates. The weakness is mapped to CWE-131 and CWE-787. If triggered, the overflow can corrupt heap memory and may enable arbitrary code execution or a denial of service.

Generated by OpenCVE AI on July 26, 2026 at 18:50 UTC.

Remediation

Vendor Solution

Upgrade to DBI version 1.650 or later.


OpenCVE Recommended Actions

  • Upgrade the DBI module to version 1.650 or later.
  • Enforce a placeholder limit in the application, rejecting any SQL statement with more than 99,999 placeholders.
  • Monitor and log SQL queries for unusually large placeholder counts to detect potential abuse.

Generated by OpenCVE AI on July 26, 2026 at 18:50 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Thu, 09 Jul 2026 00:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-131
References
Metrics threat_severity

None

threat_severity

Important


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

Type Values Removed Values Added
Metrics cvssV3_1

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

ssvc

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


Tue, 07 Jul 2026 23:45:00 +0000

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

Tue, 07 Jul 2026 22:45:00 +0000

Type Values Removed Values Added
Description DBI versions before 1.650 for Perl have a heap overflow when preparsing SQL statements with an extreme number of placeholders. The fix for CVE-2026-10879 did not allocate enough memory to handle approximately 1.2-million placeholders. DBI version 1.650 sets a hard limit of 99,999 placeholders.
Title DBI versions before 1.650 for Perl have a heap overflow when preparsing SQL statements with an extreme number of placeholders
Weaknesses CWE-787
References

cve-icon MITRE

Status: PUBLISHED

Assigner: CPANSec

Published:

Updated: 2026-07-08T13:56:43.597Z

Reserved: 2026-07-04T09:24:31.098Z

Link: CVE-2026-14739

cve-icon Vulnrichment

Updated: 2026-07-08T13:56:39.817Z

cve-icon NVD

No data.

cve-icon Redhat

Severity : Important

Publid Date: 2026-07-07T22:05:18Z

Links: CVE-2026-14739 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-07-26T19:00:02Z

Weaknesses
  • CWE-131

    Incorrect Calculation of Buffer Size

  • CWE-787

    Out-of-bounds Write