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.

Project Subscriptions

No data.

Advisories

No advisories yet.

Fixes

Solution

Upgrade to Data-Dump-Streamer 3.00 or later.


Workaround

For deployments that cannot upgrade to 3.00, which requires Perl 5.18 and a C compiler, do not restore dumps that contain Regexps compiled from untrusted input.

History

Tue, 17 Nov 2026 03:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}


Mon, 16 Nov 2026 21:30:00 +0000

Type Values Removed Values Added
Metrics cvssV3_1

{'score': 9.8, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H'}


Thu, 12 Nov 2026 06:30:00 +0000

Type Values Removed Values Added
References

Thu, 12 Nov 2026 01:00:00 +0000

Type Values Removed Values Added
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.
Title Data::Dump::Streamer versions before 3.00 for Perl allow code injection via unescaped Regexp patterns in _dump_qr
Weaknesses CWE-94
References

Projects

Sign in to view the affected projects.

cve-icon MITRE

Status: PUBLISHED

Assigner: CPANSec

Published:

Updated: 2026-11-16T20:19:11.552Z

Reserved: 2026-11-11T12:57:30.656Z

Link: CVE-2026-126673

cve-icon Vulnrichment

Updated: 2026-11-12T05:05:03.042Z

cve-icon NVD

Status : Deferred

Published: 2026-11-12T01:17:11.457

Modified: 2026-11-16T21:17:25.067

Link: CVE-2026-126673

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-11-16T22:30:21Z

Weaknesses