Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessSubmit crafted regex with embedded Perl
-
DeliveryApplication compiles and dumps pattern via _dump_qr
-
ExploitUnescaped $/@ written into qr literal
-
Executioneval/do restores the dump
-
ImpactArbitrary 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. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – 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
AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
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.
Primary rating from Vendor (CPANSec).
CVSS VectorVendor: CPANSec
Lifecycle Timeline
3DescriptionCVE.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
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.
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
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.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
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.
The _compile function in Maketext.pm in the Locale::Maketext implementation in Perl before 5.17.7 does not properly hand
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
The VDir::MapPathA and VDir::MapPathW functions in Perl 5.22 allow remote attackers to cause a denial of service (out-of
Perl before 5.26.3 has a buffer overflow via a crafted regular expression that triggers invalid write operations. Rated
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
Silently incorrect regular-expression matching in the Perl interpreter (all versions through 5.43.9) lets an oversized a
Perl before 5.26.3 has a buffer over-read via a crafted regular expression that triggers disclosure of sensitive informa
Perl might allow context-dependent attackers to bypass the taint protection mechanism in a child process via duplicate e
CPAN.pm before 2.35 does not verify TLS certificates when downloading distributions over HTTPS. Rated high severity (CVS
The XSLoader::load method in XSLoader in Perl does not properly locate .so files when called in a string eval, which mig
In Perl through 5.26.2, the Archive::Tar module allows remote attackers to bypass a directory-traversal protection mecha
Perl before 5.30.3 on 32-bit platforms allows a heap-based buffer overflow because nested regular expression quantifiers
EUVD-2026-124152
GHSA-h6p6-jc3j-2qf8
NVD
CVE.org
EPSS
VulDB
Exploit-DB