Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessSupply malicious output glob to application
-
ExploitEmbedded double quote escapes eval STRING wrapper
-
ExecutionInjected Perl executed by _getFiles()
-
ImpactArbitrary code runs at calling process privilege
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Eval input sanitization
MITRE ATT&CK
1 technique across 1 tactic: Execution The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires the target application to pass attacker-controlled (or attacker-influenceable) data specifically as the OUTPUT glob string to File::GlobMapper - for example the second argument of File::GlobMapper::globmap() or the IO::Compress output-pattern feature - on an IO::Compress version before 2.220. The malicious value must include a literal double-quote character to break out of the double-quoted wrapper that _parseOutputGlob() constructs before _getFiles() passes it to eval STRING. Per the CVSS vector (AV:N/AC:L/PR:N/UI:N) no authentication or user interaction is needed at the library boundary, but the decisive limiting factor is the data flow: if the output glob is hard-coded by the developer (the common deployment) the bug is unreachable, and the input/match pattern is NOT the injection point, so only output patterns sourced from untrusted input are exploitable. |
| Impact | The CVSS 3.1 vector (AV:N/AC:L/PR:N/UI:N, Scope:Unchanged, C:L/I:L/A:L) describes low attack complexity with no privileges or user interaction, but only 'low' confidentiality, integrity, and availability impact - and that impact rating is arguably understated, since the flaw yields arbitrary Perl execution at the process's privilege, which would normally map to High impacts; treat real impact as higher than the 7.3 implies. Conversely, the AV:N (network) label is optimistic: exploitation requires a calling application to pass attacker-controlled data specifically as the OUTPUT glob, an uncommon developer-dependent data flow, so reachability - not network position - is the true limiting factor. EPSS is very low (0.03%, 8th percentile), there is no CISA KEV listing, and no public exploit was identified, so there is no evidence of active or widespread exploitation; SSVC inputs were not provided. Net assessment: a genuine code-injection bug that should be patched promptly anywhere a product exposes glob output patterns to untrusted input, but not an emergency for the common case where the output glob is hard-coded by the developer. |
| Exploit ScenarioDerived | An application uses IO::Compress's File::GlobMapper to batch-rename or compress files and allows a user to influence the output naming pattern (via a web form, job configuration, or CLI argument). The attacker supplies an output glob containing a literal double quote followed by Perl code, such as |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – May 27, 2026
Arbitrary Perl code execution in the IO::Compress distribution (all versions before 2.220) lets an attacker who controls the output glob string passed to the bundled File::GlobMapper run arbitrary Perl at the calling process's privilege. The output glob is wrapped in double quotes and later handed to Perl's eval STRING, so an embedded double quote escapes the string context and the trailing characters execute as code. This is rated CVSS 7.3 and tagged RCE/Code Injection; no public exploit was identified at time of analysis and EPSS is very low (0.03%), but a vendor patch (2.220) and the fixing commit are publicly available.
RemediationAI
Vendor-released patch: upgrade IO::Compress to version 2.220 or later (for example via cpan IO::Compress or your OS/Perl distribution package manager). The fix is upstream commit f2db247bf90d4cc7ee2710be384946081f3b4610, which removes the eval STRING call in _getFiles() in favor of non-evaluating delimiter-based substitution; see the MetaCPAN 2.220 changelog for confirmation. If you cannot upgrade immediately, the concrete compensating control is to ensure no untrusted or attacker-influenced data is ever passed as the OUTPUT glob argument to File::GlobMapper::globmap() (the second argument) or the equivalent IO::Compress output-glob feature - keep output patterns hard-coded or strictly allowlisted, and reject or strip literal double-quote characters from any output glob derived from user input (trade-off: this breaks legitimate output names that contain double quotes and is more fragile than upgrading). The input/match pattern is not the injection vector, so constraining only the output pattern is sufficient as a stopgap.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
IO::Compress is a core Perl distribution that provides gzip/zip/bzip2 compression interfaces, and it bundles File::GlobMapper - a helper that maps input filename globs to output filenames (e.g. globmap('*.tmp','X-#1')). Internally, _parseOutputGlob() built the output transformation by string-concatenating the caller-supplied glob inside double quotes and storing it in the parser state; _getFiles() then evaluated that stored string with eval STRING to interpolate the capture tokens (#1, #2, *). This is a textbook CWE-95 (improper neutralization of directives in dynamically evaluated code, i.e. eval injection): because the glob is interpolated into code rather than treated as data, any Perl syntax it contains is executed. The 2.220 fix replaces eval STRING in _getFiles() with a delimiter-based substitution scheme using non-printable markers (\xFF/\xFE plus escape bytes) that performs the variable substitution without ever evaluating the string as code. No CPE strings were supplied in the source data; the affected scope is taken from the ENISA EUVD range (IO::Compress < 2.220).
Know when the next one hits your stack
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L
Primary rating from Vendor (9b29abf9-4ab0-4765-b253-1875cd9b441e).
CVSS VectorVendor: 9b29abf9-4ab0-4765-b253-1875cd9b441e
Lifecycle Timeline
1DescriptionCVE.org
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.
Executive ViewAI
The IO::Compress Perl library (versions before 2.220) contains a code injection vulnerability that allows arbitrary code execution on affected systems. Organizations running applications dependent on IO::Compress face risk of unauthorized access and system compromise. A vendor patch is available and should be deployed immediately.
Apply vendor patch.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Code injection occurs when an application accepts user input and passes it directly into a language interpreter or evaluator without proper sanitization.
Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.
EUVD-2026-32048
GHSA-q6wx-vhvq-x7h6
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB