Data-Dump-Streamerに任意のPerlコードを実行される脆弱性
Summary
Data-Dump-Streamerの3.00より前の版には、正規表現のパターンを経由してコードを注入される脆弱性があります。攻撃者が用意したパターンをアプリケーションがダンプしてevalやdoで復元すると、任意のPerlコードが実行されるおそれがあります。3.00で修正されているため、3.00以降へ更新してください。
AI summary
Produced by SecPulse using an external AI model; it may contain mistakes. Check the original description and references below before acting on it.
Data-Dump-Streamerの3.00より前の版には、正規表現のパターンを経由してコードを注入される脆弱性があります。攻撃者が用意したパターンをアプリケーションがダンプしてevalやdoで復元すると、任意のPerlコードが実行されるおそれがあります。3.00で修正されているため、3.00以降へ更新してください。
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| CPANData-Dump-Streamer |
< 3.00→ 3.00 |
3.00 |
Fix status by distribution
Records published by each distribution for this CVE. Fixed versions differ by release; check each link.
- Debian DEBIAN-CVE-2026-126673 libdata-dump-streamer-perl No fixed version in this record
- Ubuntu UBUNTU-CVE-2026-126673 libdata-dump-streamer-perl No fixed version in this record
Original description The description as published by the source.
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.
Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory
References
- advisory metacpan.org
- advisory nvd.nist.gov
- advisory github.com
- package github.com
- web github.com
- web openwall.com
- web cpan.org