CVE-2026-48962 Details
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.
A vulnerability in the IO::Compress Perl module, affecting versions prior to 2.220, allows for arbitrary code execution through the File::GlobMapper component. The issue arises because the output glob parsing function, _parseOutputGlob(), improperly handles user-supplied glob strings by wrapping them in double quotes and storing them for later evaluation. This creates an opportunity for code execution, as a double quote can terminate the string prematurely, allowing subsequent characters to be executed as Perl code. The vulnerability exploits the eval function, which executes Perl code in the context of the calling process, potentially leading to severe consequences if the executed code escalates privileges or manipulates sensitive data.
Users can upgrade to IO::Compress version 2.220 or later, where this vulnerability has been addressed.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed May 27, 2026CISA-ADP
Assessed May 27, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-94 | Improper Control of Generation of Code ('Code Injection') | redhat-SADP |
| CWE-95 | Improper Neutralization of Directives in Dynamically Evaluated Code ('Eval Injection') | CPANSec |
Affected Products
| Product | Versions |
|---|---|
| PMQS IO::Compress | < 2.220 |
CPE
Remediation
| |
Change History
10 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Aug 5, 2026 | CVE Modified | redhat-SADP |
| Jul 24, 2026 | CVE Translated | [email protected] |
| Jul 23, 2026 | CVE Translated | [email protected] |
| Jul 15, 2026 | CVE Modified | redhat-SADP |
| Jun 30, 2026 | CVE Modified | redhat-SADP |
| Jun 17, 2026 | CVE Modified | CPANSec |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| May 27, 2026 | CVE Modified | CISA-ADP |
| May 27, 2026 | CVE Modified | CVE |
| May 27, 2026 | New CVE Received | CPANSec |
Volerion