Skip to main content
Mallory
← Back to News
open-source-dependency-vulnerabilitywidely-deployed-product-advisorypatch-regression

Heap Overflow in Perl DBI Preparser Fixed by Placeholder Limit

Vulnerability Disclosure · 2 sources · Updated 4mo ago · First seen Jul 7, 2026

Heap Overflow in Perl DBI Preparser Fixed by Placeholder Limit

A heap overflow vulnerability tracked as CVE-2026-14739 was disclosed in DBI for Perl versions before 1.650. The flaw occurs during SQL statement preparsing when an attacker supplies an extreme number of placeholders, leading to an out-of-bounds write classified as CWE-787. The issue stems from an incomplete fix for CVE-2026-10879, which still failed to allocate enough memory when handling roughly 1.2 million placeholders.

The maintainers addressed the bug in DBI 1.650 by enforcing a hard limit of 99,999 placeholders, preventing the oversized input condition that triggered the heap overflow. Organizations using Perl applications that rely on DBI should identify deployments running versions earlier than 1.650 and prioritize upgrades to remove exposure to malformed SQL statements that could crash processes or potentially enable further exploitation.

Why it matters

Impact assessment

DBI for Perl deployments running versions earlier than 1.650 are exposed to a heap overflow in SQL statement preparsing. The primary affected population is organizations with Perl applications that accept attacker-influenced SQL construction paths through DBI, especially internally developed apps, legacy middleware, and automation platforms.

The immediate impact is process instability or crashes from malformed SQL statements, with potential for more serious memory-corruption outcomes depending on application context and exploitability. The exposure appears broad across installed vulnerable versions rather than limited to a single sector, but the story does not provide confirmed in-the-wild exploitation.

Supporting details

  • Affected product: DBI for Perl
  • Affected versions: all versions before 1.650
  • Fixed version: 1.650
  • Vulnerability type: heap overflow / out-of-bounds write
  • Trigger condition: extreme number of SQL placeholders during preparsing
  • Likely business effects:
    • Application crashes and service disruption
    • Potential denial of service in Perl-backed services
    • Possible downstream security impact from memory corruption
  • Scope of exposure: potentially widespread in environments still running legacy DBI versions
  • Known exploitation status: no exploitation in the wild reported in the provided references
Do you run this?See affected versions and whether adversaries are exploiting it.
Check your exposure
Event timeline

How this story unfolded

Events from the most recent confirmed update back to the earliest known activity.

2 events · Jul 7, 2026
  1. Jul 7, 20265mo ago

    CVE-2026-14739 is published for DBI before 1.650

    CVE-2026-14739 was published for a heap overflow vulnerability affecting DBI for Perl versions before 1.650. The flaw is classified as CWE-787 out-of-bounds write and is triggered during SQL statement preparsing with roughly 1.2 million placeholders.

    CVE Record: CVE-2026-14739
  2. Reported Jul 7, 20265mo ago

    DBI 1.650 fixes heap overflow in SQL placeholder parsing

    DBI version 1.650 addressed a heap overflow in SQL statement preparsing that could be triggered by an extreme number of placeholders. The fix added a hard limit of 99,999 placeholders and corrected an insufficient prior fix for CVE-2026-10879.

    CVE Record: CVE-2026-14739
Linked entities

Related entities

Vulnerabilities, threat actors, malware, products, organizations, and breaches Mallory has linked to this story.

Open in app →

Organizations

1 linked
Hmbrand
Do you run this?See whether adversaries are exploiting this yet, and where the affected versions run in your environment.
Check Your Exposure
Source coverage

Sources

2 references tracked. Mallory keeps watching after this page renders.

Mallory platform

See the full picture, correlated to your attack surface.

This page covers what’s public. Mallory adds the parts that aren’t: which of your assets are affected, which threat actors are using it right now, and what to deploy next.

Exposure mappingMap indicators from this story to your assets and identify affected systems in minutes.
Threat actor evidenceEvery observed campaign, victim, and pivot linked to actors named in this story.
Associated malwareMalware, exploits, and IOCs connected to the activity described here.
Detection signaturesYARA, Sigma, and Snort rules deployed to your SIEM as soon as they’re published.
Scheduled alertsGet matching new stories delivered to your team as they break, not the next morning.
AI threadsAsk questions about this story and take action on the answers.