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
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Identify endpoint building SQL from input
  2. Delivery
    Submit oversized input list
  3. Exploit
    Generate ~1.2M placeholders in statement
  4. Execution
    DBI preparser overflows heap allocation
  5. Persist
    Corrupt adjacent heap memory
  6. Impact
    Crash process (DoS) or possible code execution

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Bounds checking, write limits
MITRE ATT&CK

2 techniques across 2 tactics: Execution, Privilege Escalation

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires that the vulnerable DBI preparser receive a single SQL statement containing an extreme number of bind placeholders - on the order of the ~1.2 million that defeated the CVE-2026-10879 fix. Concretely, the embedding Perl application must construct and prepare SQL whose placeholder ('?') count is driven by attacker-influenced input volume with no upstream size limit, such as dynamically built IN-lists or bulk-insert statements. Limiting factors: the condition is far outside normal usage, applications that use fixed or modestly-sized parameter lists are not reachable, and DBI 1.650's 99,999-placeholder hard cap removes the trigger entirely; because the flaw lives in a library, real exposure depends on whether an application channels untrusted, unbounded input into SQL statement construction.

Impact

Signals are conflicting and warrant scrutiny. The published CVSS 3.1 vector (AV:N/AC:L/PR:N/UI:N, C:H/I:H/A:H, score 9.8) treats this as trivially remote-exploitable full compromise, but the described trigger - a SQL statement with ~1.2 million placeholders reaching DBI's preparser - is an extreme, non-default input that an application must actively funnel through to the database layer, which argues against AC:L and against reliable C:H/I:H. EPSS is low (0.19%, 8th percentile) and the vulnerability is NOT on CISA KEV, so there is no evidence of active exploitation and no public exploit code has been identified. The most reliable practical outcome of a heap overwrite of this nature is memory corruption leading to a crash (denial of service), with arbitrary code execution being theoretically possible but unproven and highly dependent on heap layout and the embedding application. Net: the 9.8 rating overstates real-world urgency for most deployments; treat as a patch-on-normal-cycle memory-safety fix unless an application exposes SQL construction to untrusted, unbounded input.

Exploit ScenarioDerived

An application builds a SQL statement whose placeholder count scales with attacker-influenced input - for example an IN-clause or bulk insert generated from an unbounded list - and passes it to DBI->prepare. By supplying an input list large enough to produce roughly a million-plus placeholders, an attacker forces the preparser to overflow its heap allocation, corrupting memory and most reliably crashing the process (denial of service); code execution is theoretically possible but unproven. No public exploit code has been identified at time of analysis.

Act Now Prioritize within 24-48h. Why: CRITICAL severity.
Patch available 0.2% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Jul 08, 2026

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).

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.

Affected VersionsENISA

DBI 0 <1.650

Affected Packages

euvd dbi fix: 1.650

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

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.

Know when Dbi gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

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
Red Hat 8.1 HIGH

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

2
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.

Executive ViewAI

Why It Matters

Perl DBI database libraries in versions before 1.650 contain a critical vulnerability enabling remote code execution through specially crafted SQL statements with excessive placeholders, affecting Perl-dependent data infrastructure. Empirical exploitation probability is low (0.2% EPSS), but the technical attack surface and impact severity warrant systematic remediation. Organizations running Perl-based database applications should plan patching within 7 days.

Business Impact: High
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.2%
Top 92% exploitable
Prevalence
High
DBI is the standard database interface for nearly all Perl applications
Social Media
1
Sightings
Data Quality
8 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment MSRC Vendor CIRCL GitHub VulDB

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity CRITICAL
CISA KEV No
Public POC No
EPSS 0.2%
Patch available Yes
Active threat No
Deciding rule
CRITICAL severity
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
Yes
Human Impact
High
Technical Impact
Total

Priority Score

49
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +49
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

A buffer overflow occurs when a program writes more data to a memory buffer than it was allocated to hold, causing the excess data to spill into adjacent memory regions.

Memory corruption occurs when a program writes data beyond the boundaries of allocated memory regions or accesses memory in unintended ways, violating the integrity of the process's address space.

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

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