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: n/a
EPSS: n/a
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

DBI versions prior to 1.650 for Perl contain a heap overflow that occurs when preparsing SQL statements containing an extreme number of placeholders. The flaw arises because the program does not allocate sufficient memory to accommodate approximately 1.2 million placeholders, potentially allowing an attacker to corrupt memory or execute arbitrary code. By exploiting the overflow, an attacker could compromise the integrity of the application or the underlying system if privileges allow.

Affected Systems

Vulnerable products are provided by HMBRAND under the DBI module for Perl. Any installation of DBI before version 1.650 is affected. The patch in version 1.650 introduces a hard limit of 99,999 placeholders to prevent the overflow.

Risk and Exploitability

EPSS score is unavailable and the vulnerability is not listed in the CISA KEV catalog. The CVSS score is not provided, but a heap overflow of this nature typically carries a high impact potential. Exploitation would require an attacker to supply a SQL statement with an extraordinarily large number of placeholders, which may be difficult in practice. Nonetheless, the risk remains significant for applications that accept user-supplied queries with many parameters, especially if such inputs are not validated or limited by the application.

Generated by OpenCVE AI on July 8, 2026 at 04:07 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.
  • Verify that the application no longer attempts to preparse SQL statements with more than 99,999 placeholders.
  • If the upgrade cannot be performed immediately, enforce a limit of 99,999 placeholders in application code or database drivers to prevent the overflow.

Generated by OpenCVE AI on July 8, 2026 at 04:07 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

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-07T22:05:18.457Z

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

Link: CVE-2026-14739

cve-icon Vulnrichment

No data.

cve-icon NVD

No data.

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-07-08T04:15:04Z

Weaknesses