IO::Compress: Improper Neutralization of Directives in Dynamically Evaluated Code
CVE-2026-48962 is a high-severity improper neutralization of directives in dynamically evaluated code vulnerability in IO::Compress from PMQS, with a CVSS 3.1 base score of 7.8 out of 10. It can be exploited with local access to the system by an attacker with a low-privileged account, without any action from a user. The record lists version 2.220 as the first without the flaw, so updating IO::Compress to that release or later removes the exposure. There is no confirmed exploitation so far. EPSS estimates a 0.44% chance of exploitation within 30 days, which is low compared with other CVEs.
High severity with no evidence of exploitation so far.
What to do
- Update IO::Compress to 2.220 or a later version.
Affected products and versions
Version data comes from the organisation that assigned the CVE. Confirm against the vendor advisory before deciding you are unaffected.
How the severity score breaks down
- Attack vector
- LocalThe attacker needs local access or must trick a user into running something.
- Attack complexity
- LowNo special conditions are needed; the attack works reliably.
- Privileges required
- LowA basic user account is enough.
- User interaction
- NoneNo action by a victim is required.
- Scope
- UnchangedImpact stays within the vulnerable component.
- Confidentiality
- HighAll data handled by the component can be read.
- Integrity
- HighData or code can be modified at will.
- Availability
- HighThe component can be taken down completely.
Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H. Scored by CNA.
| Scoring system | Score | Severity | Scored by |
|---|---|---|---|
| CVSS 3.1 | 7.3 | High | CISA (ADP) |
| CVSS 3.1 | 7.8 | High | CNA |
Official 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.
Source: the CVE record as published by its numbering authority, via NVD and CVE.org.
The underlying weakness: Improper Neutralization of Directives in Dynamically Evaluated Code
The product receives input from an upstream component, but it does not neutralize or incorrectly neutralizes code syntax before using the input in a dynamic evaluation call (e.g. eval).
How developers prevent this class of flaw
- If possible, refactor your code so that it does not need to use eval() at all.
- For Python programs, it is frequently encouraged to use the ast.literal_eval() function instead of eval, since it is intentionally designed to avoid executing code. However, an adversary could still cause excessive memory or stack consumption via deeply nested structures, so the python documentation discourages use of ast.literal_eval() on untrusted data.
More Improper Neutralization of Directives in Dynamically Evaluated Code vulnerabilities (CWE-95)
Timeline
- CVE record published.
- CISA published its SSVC assessment (exploitation: none, automatable: yes, technical impact: partial).
- Record last changed materially (score, affected products, status or references).
References
Patches and release notes
Other references
- metacpan.org/release/PMQS/IO-Compress-2.220/changes
- openwall.com/lists/oss-security/2026/05/27/4
- access.redhat.com/errata/RHSA-2026:29182
- access.redhat.com/errata/RHSA-2026:29210
- access.redhat.com/errata/RHSA-2026:29867
- access.redhat.com/errata/RHSA-2026:29941
- access.redhat.com/errata/RHSA-2026:30085
- access.redhat.com/errata/RHSA-2026:30086
- access.redhat.com/errata/RHSA-2026:30115
- access.redhat.com/errata/RHSA-2026:30843
- access.redhat.com/errata/RHSA-2026:30851
- access.redhat.com/errata/RHSA-2026:30858
- access.redhat.com/errata/RHSA-2026:30859
- access.redhat.com/errata/RHSA-2026:30860
- access.redhat.com/errata/RHSA-2026:50262
Other vulnerabilities in IO::Compress
- 7.3 High severity
Recent Improper Neutralization of Directives in Dynamically Evaluated Code vulnerabilities
- 10.0 Critical severity
- 9.3 Critical severity
- 8.6 High severity
- 8.8 High severity
- 7.2 High severity
- 9.8 Critical severity
Spotted an error? Tell us.