DbiApplication · Perl

CVE-2026-14739

CRITICAL · 9.8 CVSS v3.1 Published 2026-07-07
Fix available
A fix is available. Upgrade to 1.650 or later.
See remediation →
100/100
Remediation priority · Urgent
Remotely reachable No privileges Zero-click Patch available 7 weeks old

Official description Straight from the sourceThe vendor's or NVD's own wording, published unedited. Authoritative, but often terse — it says what broke, rarely what to do.

NVD · unedited
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.

In the news

Third-party coverage
Trending covered by 1 outlet this week · latest 1mo ago

Surfaced from public web coverage — external links open in a new tab.

Technical summary Written by usOur analysis, written from the advisory, the CVSS vector and the affected-version data. It adds context the advisory leaves out, and never invents facts that are not in the source.

dbcve analysis · high confidence

DBI versions before 1.650 for Perl contain a heap overflow vulnerability when preparsing SQL statements containing an extreme number of placeholders. The prior fix for CVE-2026-10879 allocated insufficient memory, allowing approximately 1.2-million placeholders to trigger the overflow. Version 1.650 implements a hard limit of 99,999 placeholders to prevent this.

MitigationUpgrade to DBI version 1.650 or later, which enforces a 99,999 placeholder limit to prevent heap overflow. Test database operations after the upgrade to ensure compatibility.

Verify against the referenced sources before acting — the references below are authoritative for this CVE, this summary is not.

Affected products & versions What the vendor confirmedThe version ranges the vendor confirmed as vulnerable. If your version sits inside a range here, treat yourself as exposed until you have upgraded.

NVD · CPE data
DbiApplication
Affected:< 1.650

CVSS breakdown How the score is builtThe industry scoring standard. It rates how the flaw is reached, what it takes to exploit, and what an attacker gains — the score is derived from those, not the other way round.

From the vector
Attack vector
Network
Complexity
Low
Privileges
None
User interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Am I affected? How to checkSteps we derive from the advisory and the affected-version data, so you can decide whether this CVE reaches your setup. They are a guide, not a scan — your own configuration is the authority.

dbcve checks

Work through these to decide whether this CVE applies to you.

  1. Check installed DBI version
    Run `perl -MDBI -e 'print $DBI::VERSION'` or check the version in your local Perl library (e.g., `perl -e 'use DBI; print $DBI::VERSION;'`)
    Affected if The version returned is less than 1.650 (e.g., 1.649, 1.640, etc.)
  2. Verify DBI module file version
    Locate the DBI.pm file (typically in `site/lib/DBI.pm` or `lib/DBI.pm` under your Perl prefix) and check its $VERSION variable: `perl -MExtUtils::MakeMaker -e 'print MM->new({VERSION=>1})->parse_version("$(find $(perl -e 'print join(":",@INC)' | tr ":" " ") -name DBI.pm -print -quit)")' 2>/dev/null || perl -l -e 'require "$(find $(perl -e 'print join(":",@INC)' | tr ":" " ") -name DBI.pm -print -quit)"; print $DBI::VERSION'
    Affected if The version parsed from the DBI.pm file is below 1.650
  3. Identify SQL placeholder usage in your application
    Search your application codebase for DBI prepare/execute statements with placeholders: grep -rE '(prepare|execute|bind_param|bind_columns)' --include='*.pl' --include='*.pm' --include='*.pm' . 2>/dev/null | grep -E '\?' or analyze database query logs for SQL statements containing multiple `?` placeholders
    Affected if Your application uses DBI to prepare or execute SQL statements with placeholders and the DBI version is below 1.650
  4. Check for dynamic placeholder generation from untrusted input
    Review code paths where the number of placeholders could be controlled by user input (e.g., WHERE IN (?) expansions, dynamic array binding). Search for patterns like `join(',', ('?') x scalar @array)` or any logic that expands placeholders based on input size
    Affected if Your code constructs SQL with placeholder counts derived from user-controlled input without explicit limits, and DBI version is below 1.650

You are affected if your installed DBI version is below 1.650 and your application uses DBI to prepare SQL statements containing placeholders, particularly where placeholder count could be influenced by external input.

Generated from the published advisory. Verify against your own configuration.

Check your environment

Paste your version and any relevant configuration and it will be compared against the affected criteria above. Do not include secrets or credentials.

AI-assisted, checked against the advisory. Informational, not a guarantee.

Remediation Closing itWhat it takes to close this. Where a vendor fix exists we point at it; where none exists we say so plainly, and can build one. Effort estimates are scoped from the advisory, not from your codebase.

dbcve · scoped
Upgrade available Upgrade to 1.650 or later
Fixed in 1.650
Vendor patch github.com →
Interim mitigation

Upgrade to DBI version 1.650 or later, which enforces a 99,999 placeholder limit to prevent heap overflow. Test database operations after the upgrade to ensure compatibility.

Recommended fix High confidence

DBI 1.650

  1. Check current DBI version: perl -MDBI -e 'print $DBI::VERSION'
  2. Upgrade DBI to version 1.650 or later using CPAN: cpan -i DBI
  3. Or use system package manager if available (e.g., apt-get install libdbi-perl on Debian/Ubuntu)
  4. Verify upgrade: perl -MDBI -e 'print $DBI::VERSION'
Caveat Hard limit of 99,999 placeholders set; applications needing more may fail

Generated from the published advisory — verify against the referenced sources before acting.

Fix this in Dbi Scoped from the published advisory
  • Consultation2.0 h
  • Implementation1.0 h
  • Testing4.0 h
  • Review / QA2.0 h
9.0 hours of engineering $1,540
Get the upgrade done

An estimate, not a bill — we confirm scope with you before any work starts. Need it this week? Rush from $2,464.

Scan for this in your stack

Free · runs locally
dbcve dependency scanner

Check whether your project pulls in CVE-2026-14739 — or any other known-vulnerable package — straight from your lock files. Free and open source; it runs locally and uploads nothing.

References Go to the primary sourcePrimary sources — vendor advisories, patches and trackers. Where our summary and a reference disagree, the reference wins.

Primary sources

Practitioner notes

Contributed

Peer-ranked notes from engineers who’ve handled CVE-2026-14739 in production — separate from our analysis above.

No notes yet

Be the first to add a field note for this CVE — a mitigation you’ve verified, a version caveat, or a link to a working fix. Sign in above to contribute.

What this is

A place for practitioners to share what actually worked: a mitigation you’ve tested, a configuration change, a version- or environment-specific caveat, or a link to a verified patch. The most useful notes rise to the top as peers upvote them, so the signal stays high.

What belongs here
  • Verified mitigations, workarounds, and config changes
  • Version or environment caveats, and links to real fixes
  • No weaponised exploit code, or anything meant to cause harm
  • No spam, self-promotion, credentials, or personal data