Skip to main content

Data::Dump::Streamer CVE-2026-126673

| EUVDEUVD-2026-124152 CRITICAL
Code Injection (CWE-94)
2026-11-12 CPANSec GHSA-h6p6-jc3j-2qf8
9.8
CVSS 3.1 · Vendor: CPANSec
View

Attack ChainAIDerived

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

  1. Access
    Submit crafted regex with embedded Perl
  2. Delivery
    Application compiles and dumps pattern via _dump_qr
  3. Exploit
    Unescaped $/@ written into qr literal
  4. Execution
    eval/do restores the dump
  5. Impact
    Arbitrary Perl code executes

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Code injection prevention, sandbox exec
MITRE ATT&CK

2 techniques across 2 tactics: Execution, Initial Access

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

Exploitation Conditions

Exploitation requires a specific application data flow: the application must (1) compile a regex whose pattern is attacker-controlled, (2) serialize that compiled Regexp using Data::Dump::Streamer (reaching _dump_qr) in a version before 3.00, and (3) later restore the dumped output by evaluating it with eval or do. The malicious pattern must contain Perl interpolation constructs such as "@{[ ... ]}" or "${\ ... }". The primary limiting factor is that code execution only occurs when the dump is re-evaluated as Perl - an application that never eval/do's the serialized output is not exploitable regardless of pattern content; conversely, producing evaluable Perl is the module's designed purpose, so applications restoring dumps of untrusted regexes are directly exposed. No authentication is modeled by the library itself; auth exposure depends on how the hosting application receives the pattern.

Impact

Signals conflict and must be weighed together. The CVSS 3.1 base vector (AV:N/AC:L/PR:N/UI:N, C:H/I:H/A:H = 9.8) and the CWE-94 code-injection classification describe a maximally severe outcome - arbitrary Perl execution - and the vuln.today decision label is act_now, with RCE/Code Injection tags. Against that, EPSS is only 0.25% (17th percentile), there is no CISA KEV listing, and no confirmed public exploit code is present in the input. The decisive nuance the raw CVSS does not capture is the required data flow: exploitation depends on an application compiling an attacker-supplied Regexp, serializing it with Data::Dump::Streamer, and then restoring the dump via eval or do. The CVSS AV:N/PR:N/AC:L scoring treats that round-trip as given, but in practice it is an application-specific precondition that most deployments will not expose, which is consistent with the low EPSS despite the act_now label - pointing to conditional/targeted rather than mass exploitation. Net: a genuinely critical-impact code-injection flaw in the library, but real-world priority for any given environment hinges entirely on whether an application actually eval/do's dumps of untrusted regexes. Treat as high priority to patch where this module processes untrusted patterns; lower practical urgency where it does not.

Exploit ScenarioDerived

An application accepts an attacker-controlled regular expression, compiles it, serializes the compiled object with Data::Dump::Streamer, and later reconstructs it by passing the dump output to eval or do. Because the Regexp pattern is written into a qr literal without escaping, a pattern containing "@{[ ... ]}" or "${\ ... }" executes as Perl code at evaluation time, giving the attacker arbitrary code execution. No confirmed public exploit code is identified in the provided sources, though an oss-security advisory describes the defect.

Act Now Prioritize within 24-48h. Why: CRITICAL severity.
No patch listed yet 0.2% exploitation probability (EPSS)

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

Alert me

AnalysisAIv1 – Nov 16, 2026

Code injection in Data::Dump::Streamer before 3.00 allows an attacker-supplied regular expression pattern to break out of the generated qr literal and run arbitrary Perl when the serialized dump is later restored with eval or do; the CVSS 3.1 vector is 9.8 (AV:N/AC:L/PR:N/UI:N), so the library itself models unauthenticated remote exploitation. The flaw only fires within a specific data flow: the application must compile a regex whose pattern the attacker controls, serialize that compiled Regexp through _dump_qr, and then re-evaluate the dumped text, so applications that only dump trusted data or never eval/do their dumps are not exposed. The CPANSec report and an act_now priority label reflect the severity for exposed restore pipelines, but EPSS is low at 0.25% (17th percentile) and no public exploit identified at time of analysis.

RemediationAI

Vendor-released patch: upgrade Data::Dump::Streamer to version 3.00 from CPAN, whose Changes file is at https://metacpan.org/release/YVES/Data-Dump-Streamer-3.00/source/Changes and which is the release boundary above the affected "before 3.00" range; a fixed module version removes the unescaped interpolation and double-escaped-delimiter handling in _dump_qr. Where upgrading immediately is not possible, break the exploitable data flow instead: never eval or do a Data::Dump::Streamer dump that contains patterns derived from untrusted input, since code execution requires re-evaluating the dump and an application that only stores or compares its output is not exposed - the trade-off is that dumps of untrusted regexes can no longer be round-tripped through the module and must be replaced with a non-evaluating serialization path. As a second compensating measure, reject or canonicalize attacker-supplied regex patterns before they are compiled and dumped, filtering interpolation constructs such as "@{[" and "${" and delimiter-escaping sequences - the trade-off is that legitimate patterns using those constructs will be refused, and filtering is pattern-level hardening rather than a substitute for the fixed 3.00 release. Additional vendor and community detail is available in the CPANSec/oss-security advisory at https://seclists.org/oss-sec/2026/q4/680 and the Openwall post at http://www.openwall.com/lists/oss-security/2026/11/12/2.

Affected ProductsAI

All versions of the CPAN Perl module Data::Dump::Streamer prior to 3.00 are affected, per the description and the 3.00 Changes file referenced at https://metacpan.org/release/YVES/Data-Dump-Streamer-3.00/source/Changes. Exposure extends to any Perl application that embeds a pre-3.00 release and follows the vulnerable flow of compiling attacker-influenced regex patterns, dumping the compiled Regexp via _dump_qr, and restoring the dump through eval or do. No CPE strings were supplied in the available intelligence, so exact package-level identification should be taken from the CPAN distribution name and version boundary rather than from NVD CPE configuration data. Corroborating advisories are the CPANSec/oss-security post at https://seclists.org/oss-sec/2026/q4/680, the Openwall list message at http://www.openwall.com/lists/oss-security/2026/11/12/2, EUVD-2026-124152 (linked to https://nvd.nist.gov/vuln/detail/CVE-2026-126673), and https://vuldb.com/vuln/436222.

Affects your stack

Find out whether the stacks and servers you run are on an affected version.

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

Technical ContextAI · show details

Data::Dump::Streamer is a Perl serialization module that emits evaluable Perl source so that complex data structures - including compiled Regexp objects - can be written out and later reconstituted by eval or do. The vulnerable routine, _dump_qr, renders a Regexp's pattern into a qr literal without escaping "$" or "@", so Perl interpolation constructs embedded in the pattern, such as "@{[ ... ]}" and "${\ ... }", are executed when the dump is evaluated. A second defect compounds this: an already escaped delimiter receives an additional backslash, leaving the delimiter bare and terminating the qr literal early, which lets following pattern text be parsed as code rather than as regex content. This is CWE-94 (Improper Control of Generation of Code), rooted in the module's core design purpose of producing executable Perl text from data. The trigger condition is not described in the available sources beyond the above; the module itself imposes no authentication model, so whether an attack is unauthenticated in practice depends on how the hosting application obtains the pattern.

Know when Perl 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

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 9.8 CRITICAL

Attacker-supplied pattern yields arbitrary Perl execution with full C/I/A impact when the dump is evaluated; the eval/do round-trip is the module's intended use, so AC:L and PR:N are retained rather than treated as added complexity.

3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
4.0 AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

Primary rating from Vendor (CPANSec).

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
CVSS changed
Nov 16, 2026 - 21:22 NVD
9.8 (CRITICAL)
CVE Published
Nov 12, 2026 - 00:44 cve.org
CRITICAL 9.8
CVE Published
Nov 12, 2026 - 00:44 cve.org
UNKNOWN (no severity yet)

DescriptionCVE.org

Data::Dump::Streamer versions before 3.00 for Perl allow code injection via unescaped Regexp patterns in _dump_qr.

A Regexp's pattern is written into a qr literal without escaping "$" or "@", so "@{[ ... ]}" and "${\ ... }" in the pattern run as code when the dump is evaluated. An already escaped delimiter gets a second backslash, which leaves the delimiter bare and ends the qr literal early.

An attacker who supplies a pattern that an application compiles, dumps and later restores with eval or do can run arbitrary Perl code.

Executive ViewAI

Why It Matters

CVE-2026-126673 is a critical code injection flaw in the Perl library Data::Dump::Streamer (versions before 3.00) that can lead to arbitrary Perl code execution when serialized data is later evaluated. This impacts any application that serializes attacker-controlled regular expressions and then restores them via eval or do, potentially allowing unauthenticated remote compromise. Leadership should prioritize remediation for exposed systems because the vulnerability is rated critical (CVSS 9.8) and no patch is currently available.

Business Impact: High
Compensating Controls

No vendor-released patch identified at time of analysis. Interim mitigations: (1) Avoid passing attacker-controlled data as regex patterns to Data::Dump::Streamer; (2) Never eval or do serialized dumps from untrusted sources-use safer serialization formats; (3) Validate and sanitize regex patterns to prevent qr literal breakout; (4) Restrict network access to services that perform such serialization; (5) Monitor for suspicious eval activity.

Threat Intelligence Overview

EPSS Score
0.2%
Top 83% exploitable
Prevalence
Low
niche CPAN Perl serialization/debugging module, limited production footprint
Social Media
2
Sightings
Data Quality
5 sources
Confidence: Medium

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 No
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· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
Yes
Human Impact
High

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

Code Injection CRITICAL

Code injection occurs when an application accepts user input and passes it directly into a language interpreter or evaluator without proper sanitization.

Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.

More in Perl

View all
CVE-2012-6329 HIGH POC
7.5 Jan 04

The _compile function in Maketext.pm in the Locale::Maketext implementation in Perl before 5.17.7 does not properly hand

CVE-2017-12814 CRITICAL POC
9.8 Sep 28

Stack-based buffer overflow in the CPerlHost::Add method in win32/perlhost.h in Perl before 5.24.3-RC1 and 5.26.x before

CVE-2015-8608 CRITICAL POC
9.8 Feb 07

The VDir::MapPathA and VDir::MapPathW functions in Perl 5.22 allow remote attackers to cause a denial of service (out-of

CVE-2018-18314 CRITICAL POC
9.8 Dec 07

Perl before 5.26.3 has a buffer overflow via a crafted regular expression that triggers invalid write operations. Rated

CVE-2018-18312 CRITICAL POC
9.8 Dec 05

Perl before 5.26.3 and 5.28.0 before 5.28.1 has a buffer overflow via a crafted regular expression that triggers invalid

CVE-2026-13221 CRITICAL POC
9.1 Jul 13

Silently incorrect regular-expression matching in the Perl interpreter (all versions through 5.43.9) lets an oversized a

CVE-2018-18313 CRITICAL POC
9.1 Dec 07

Perl before 5.26.3 has a buffer over-read via a crafted regular expression that triggers disclosure of sensitive informa

CVE-2016-2381 HIGH
7.5 Apr 08

Perl might allow context-dependent attackers to bypass the taint protection mechanism in a child process via duplicate e

CVE-2023-31484 HIGH POC
8.1 Apr 29

CPAN.pm before 2.35 does not verify TLS certificates when downloading distributions over HTTPS. Rated high severity (CVS

CVE-2016-6185 HIGH POC
7.8 Aug 02

The XSLoader::load method in XSLoader in Perl does not properly locate .so files when called in a string eval, which mig

CVE-2018-12015 HIGH POC
7.5 Jun 07

In Perl through 5.26.2, the Archive::Tar module allows remote attackers to bypass a directory-traversal protection mecha

CVE-2020-10543 HIGH
8.2 Jun 05

Perl before 5.30.3 on 32-bit platforms allows a heap-based buffer overflow because nested regular expression quantifiers

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