Skip to main content

Perl DBI CVE-2026-14739

| EUVDEUVD-2026-42124 CRITICAL
Out-of-bounds Write (CWE-787)
2026-07-07 CPANSec GHSA-w9gf-c5hh-cc8w
Critical
Disputed · 9.8 Vendor: CPANSec
Share

Severity by source

Sources disagree (Medium–Critical)
Vendor (CPANSec) PRIMARY
9.8 CRITICAL
AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
vuln.today AI
7.0 HIGH

AC:H because triggering needs an app-mediated statement with ~1.2M placeholders (extreme, non-default input); a crash is the reliable impact while code execution is unproven, so C:L/I:L with A:H.

3.1 AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:H
4.0 AV:N/AC:H/AT:P/PR:N/UI:N/VC:L/VI:L/VA:H/SC:N/SI:N/SA:N
SUSE
MEDIUM
qualitative
Red Hat
8.1 HIGH
qualitative

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
High
Availability
High

Lifecycle Timeline

3
Analysis Generated
Jul 08, 2026 - 14:23 vuln.today
CVSS changed
Jul 08, 2026 - 14:22 NVD
9.8 (CRITICAL)
CVE Published
Jul 07, 2026 - 22:05 cve.org
UNKNOWN (no severity yet)

DescriptionCVE.org

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.

AnalysisAI

Heap out-of-bounds write in the Perl DBI database-interface module before version 1.650 occurs when DBI preparses a SQL statement containing an extreme number of placeholders. This is a regression: the fix for CVE-2026-10879 under-allocated the placeholder buffer and could not accommodate roughly 1.2 million placeholders, so DBI 1.650 now enforces a hard cap of 99,999 placeholders. Reported by CPANSec with a vendor patch available; no public exploit identified at time of analysis and EPSS exploitation probability is low (0.19%, 8th percentile).

Technical ContextAI

DBI (the Database Independent Interface for Perl) is the de-facto standard abstraction layer that Perl applications use to talk to relational databases through DBD driver backends. When a statement is prepared, DBI preparses the SQL string to locate and count bind-parameter placeholders (the '?' tokens) and allocates internal structures to track them. The affected code path (CWE-787, Out-of-bounds Write) sizes that heap allocation from the placeholder count; the earlier remediation for CVE-2026-10879 still miscomputed the required size, so parsing a statement with on the order of 1.2 million placeholders writes past the end of the heap allocation, corrupting adjacent memory. CPE cpe:2.3:a:hmbrand:dbi identifies the affected package, maintained by HMBRAND on CPAN/MetaCPAN.

RemediationAI

Upgrade to Vendor-released patch: DBI 1.650, which sets a hard limit of 99,999 placeholders and correctly sizes the allocation; install it from CPAN (for example cpanm DBI@1.650) or apply the upstream commit https://github.com/perl5-dbi/dbi/commit/2b77c88b655e9539a592c71a61fb965fc0075395.patch, and review the change log at https://metacpan.org/release/HMBRAND/DBI-1.650/changes. Because the earlier fix for CVE-2026-10879 was incomplete, verify you are on 1.650 or later rather than an intermediate release. If immediate upgrade is not possible, the actionable compensating control is to bound placeholder counts before SQL reaches DBI->prepare: cap or reject dynamically generated statements (for example very large IN (...) lists or bulk inserts) so they cannot approach five- or six-figure placeholder counts, and avoid constructing SQL where the number of bind parameters is driven by untrusted input size; the trade-off is that legitimate large batch operations must be chunked into smaller statements.

Vendor StatusVendor

SUSE

Severity: Moderate
Product Status
SUSE Linux Enterprise Desktop 15 SP7 Affected
SUSE Linux Enterprise High Performance Computing 15 SP7 Affected
SUSE Linux Enterprise Module for Basesystem 15 SP7 Affected
SUSE Linux Enterprise Server 15 SP7 Affected
SUSE Linux Enterprise Server 16.0 Affected

Share

CVE-2026-14739 vulnerability details – vuln.today

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