CPANSA-IO-Compress-2026-48962: IO-Compress vulnerability
| Publisher | giterlizzi | Document category | csaf_security_advisory |
|---|---|---|---|
| Initial release date | 2026-05-27T00:00:00 | Engine | CSAF Perl Toolkit 0.26 |
| Current release date | 2026-05-27T00:00:00 | Build Date | |
| Current version | 1 | Status | final |
| CVSS v3.1 Base Score | 7.3 | Severity | |
| Original language | Language | en | |
| Also referred to | |||
Vulnerability Description
IO::Compress versions before 2.220 for Perl can execute arbitrary code in File::GlobMapper via an attacker-controlled output glob. _parseOutputGlob() wraps the caller-supplied output glob string in double quotes and stores it in the parser state; _getFiles() then runs the stored expression through eval STRING. A literal double quote in the output glob closes the dquote wrapper, and the characters that follow are evaluated as Perl. Arbitrary Perl in the output glob executes at the calling process's privilege.
Vulnerabilities
CVE-2026-48962
Vulnerability DescriptionIO::Compress versions before 2.220 for Perl can execute arbitrary code in File::GlobMapper via an attacker-controlled output glob.
_parseOutputGlob() wraps the caller-supplied output glob string in double quotes and stores it in the parser state; _getFiles() then runs the stored expression through eval STRING. A literal double quote in the output glob closes the dquote wrapper, and the characters that follow are evaluated as Perl.
Arbitrary Perl in the output glob executes at the calling process's privilege.
| Weakness | CWE-95 : Improper Neutralization of Directives in Dynamically Evaluated Code ('Eval Injection') |
|---|
Product status
Known affected
| Product | Score | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| IO-Compress less than 2.220 |
|
Fixed
- IO-Compress greater than or equal 2.220
giterlizzi
Namespace: https://github.com/giterlizzi/
gdt@cpan.org
References
- CPANSA-IO-Compress-2026-48962 JSON self
https://raw.githubusercontent.com/giterlizzi/perl-CPANSA-CSAF/develop/csaf/white/2026/cpansa-io-compress-2026-48962.json - https://github.com/pmqs/IO-Compress/commit/f2db247bf90d4cc7ee2710be384946081f3b4610.patch external
https://github.com/pmqs/IO-Compress/commit/f2db247bf90d4cc7ee2710be384946081f3b4610.patch - https://metacpan.org/release/PMQS/IO-Compress-2.220/changes external
https://metacpan.org/release/PMQS/IO-Compress-2.220/changes - http://www.openwall.com/lists/oss-security/2026/05/27/4 external
http://www.openwall.com/lists/oss-security/2026/05/27/4 - CVE-2026-48962 (NVD) external
https://nvd.nist.gov/vuln/detail/CVE-2026-48962
Revision history
| Version | Date of the revision | Summary of the revision |
|---|---|---|
| 1 | Wed May 27 00:00:00 2026 | First release |
Sharing rules
TLP:WHITE
For the TLP version see: https://www.first.org/tlp/