Skip to main content
EPSS 0.3%top 78%

CVE-2026-48962: CWE-95 Improper Neutralization of Directives in Dynamically Evaluated Code ('Eval Injection') in PMQS IO::Compress

0
High
VulnerabilityCVE-2026-48962cvecve-2026-48962cwe-95
Published: 05/27/2026 (05/27/2026, 03:12:38 UTC)
Source: CVE Database V5
Vendor/Project: PMQS
Product: IO::Compress

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.

CVSS v3.1

Score 7.3high

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
Low
Integrity
Low
Availability
Low
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L

Affected software

PMQS

IO::Compress

Affected versions
>=0 <2.220
GitHub Actionsmore threats →cve
IO-Compress
pkg:github/IO-Compress
Affected versions
>=0 <2.220

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 08/05/2026, 13:00:36 UTC

Technical Analysis

The IO::Compress Perl module versions prior to 2.220 contain a code injection vulnerability (CWE-95) in the File::GlobMapper component. Specifically, the _parseOutputGlob() function wraps a user-supplied output glob string in double quotes and stores it in parser state. Later, _getFiles() evaluates this stored string using Perl's eval function. If the output glob contains a literal double quote, it prematurely closes the wrapper, allowing the subsequent characters to be executed as arbitrary Perl code. This flaw enables an attacker to execute arbitrary code with the privileges of the calling process.

Potential Impact

Successful exploitation allows an attacker to execute arbitrary Perl code on the affected system with the privileges of the process running IO::Compress. This can lead to full compromise of the affected process, including confidentiality, integrity, and availability impacts. The vulnerability has a CVSS v3.1 score of 7.3 (high severity) and can be exploited remotely without user interaction or privileges.

Mitigation Recommendations

According to the Red Hat advisory, no effective mitigation currently meets their criteria for ease of use, applicability, and stability. Users should upgrade to IO::Compress version 2.220 or later when available. Red Hat has released updated packages for Red Hat Enterprise Linux 7 Extended Life Cycle Support that address this vulnerability. Applying these updates is the recommended remediation. Until a fix is applied, no reliable workaround is documented.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
CPANSec
Date Reserved
2026-05-26T18:09:32.365Z
State
PUBLISHED
Vendor Advisory Urls
[{"url":"https://access.redhat.com/security/cve/CVE-2026-48962","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:30843","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:29941","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:30860","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:30851","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:29210","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:29182","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:30085","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:30859","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:30858","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:29867","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:30115","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:30086","vendor":"Red Hat"}]

Threat ID: 6a16660ce29bf47b5090358d

Added to database: 05/27/2026, 03:33:32 UTC

Last enriched: 08/05/2026, 13:00:36 UTC

Last updated: 09/10/2026, 21:01:18 UTC

Views: 163

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses