Skip to main content

IO::Compress EUVDEUVD-2026-32048

| CVE-2026-48962 HIGH
Eval Injection (CWE-95)
2026-05-27 9b29abf9-4ab0-4765-b253-1875cd9b441e GHSA-q6wx-vhvq-x7h6
7.3
CVSS 3.1 · Vendor: 9b29abf9-4ab0-4765-b253-1875cd9b441e
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Supply malicious output glob to application
  2. Exploit
    Embedded double quote escapes eval STRING wrapper
  3. Execution
    Injected Perl executed by _getFiles()
  4. Impact
    Arbitrary 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 "; system('id'); "; when _getFiles() runs the stored expression through eval STRING, the injected Perl executes at the calling process's privilege. No public PoC was identified, though the test cases added in the patch demonstrate the parsing behavior being abused.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

IO::Compress 0 <2.220

Affected Packages

euvd io_compress fix: 2.220

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

Vendor (9b29abf9-4ab0-4765-b253-1875cd9b441e) PRIMARY 7.3 HIGH
AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L
SUSE HIGH
Red Hat 7.8 HIGH

Primary rating from Vendor (9b29abf9-4ab0-4765-b253-1875cd9b441e).

CVSS VectorVendor: 9b29abf9-4ab0-4765-b253-1875cd9b441e

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
Low
Integrity
Low
Availability
Low

Lifecycle Timeline

1
Patch available
May 27, 2026 - 19:46 EUVD

DescriptionCVE.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

Why It Matters

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.

Business Impact: High
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.0%
Top 92% exploitable
Exploit
POC
Public exploit code exists
Data Quality
8 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment MSRC Vendor GitHub VulDB

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.

SignalValue
Severity HIGH
CISA KEV No
Public POC Yes
EPSS 0.0%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
Yes
Human Impact
High
Technical Impact
Partial

Priority Score

56
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +36
PoC: +20
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Code Injection CRITICAL

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.

Vendor StatusVendor

SUSE

Severity: High

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy