CVE-2026-126673 Data::Dump::Streamer versions before 3.00 for Perl allow code injection via unescaped Regexp patterns in _dump_qr
Attackers supplying Regexp patterns to Data::Dump::Streamer can run arbitrary Perl code when the dump is restored with eval or do.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Not stated
- Victim action needed
- Not needed
- Harmful if only installed
- No
- Needs a specific call
- Yes
- Fix
- None listed
What is CVE-2026-126673?
CVE-2026-126673 is a code injection vulnerability, published on 12 Nov 2026.
Official description
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.
Weakness: CWE-94
Which versions are affected by CVE-2026-126673?
An affected version is only exploitable if your software calls _dump_qr. Many projects that include it are not exposed.
How do I fix CVE-2026-126673?
No fix has been published for CVE-2026-126673 yet. Limit exposure of the affected software until one is available.
Upgrade, and never evaluate templates, expressions or code built from user input. More about Code injection.
Is CVE-2026-126673 being exploited?
There is no known exploitation of CVE-2026-126673 in the wild and no public exploit code.
Sources
Also known as DEBIAN-CVE-2026-126673, GHSA-h6p6-jc3j-2qf8, UBUNTU-CVE-2026-126673.