CVE-2026-126673
Data::Dump::Streamer versions before 3.00 for Perl allow code injection via unescaped Regexp patterns in _dump_qr
- Severity
- critical CVSS 9.8 (v3.1)
- Weakness
- CWE-94 Improper Control of Generation of Code
- Published
- 12 November 2026 by CPANSec
- First seen on our lists
- 12 November 2026
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.
Our coverage
We have not written about this one. Know why it matters? Send a tip.
On the lists
- [oss-security] CVE-2026-126673: Data::Dump::Streamer versions before 3.00 for Perl allow code injection via unescaped Regexp patterns in _dump_qr