CWE-95 Improper Neutralization of Directives in Dynamically Evaluated Code ('Eval Injection') in PMQS IO::Compress (CVE-2026-48962)
CVE-2026-48962 is a high-severity vulnerability in the Perl IO::Compress module before version 2.220. It allows arbitrary code execution due to improper neutralization of directives in dynamically evaluated code within File::GlobMapper. Specifically, an attacker-controlled output glob string is wrapped in double quotes and then evaluated via Perl's eval, enabling injection of arbitrary Perl code if the output glob contains a literal double quote. This code executes with the privileges of the calling process.
AI Analysis
Technical Summary
The IO::Compress Perl module versions prior to 2.220 contain a vulnerability (CWE-95) where the _parseOutputGlob() function wraps a user-supplied output glob string in double quotes and stores it in parser state. The _getFiles() function subsequently evaluates this stored expression using Perl's eval function. If the output glob includes a literal double quote, it breaks out of the quoted context, allowing the following characters to be interpreted and executed as Perl code. This results in arbitrary code execution at the privilege level of the calling process. The vulnerability affects the File::GlobMapper component of IO::Compress. Red Hat has issued security advisories and released patched versions (perl-IO-Compress 2.061-2.el7_9.1) for Red Hat Enterprise Linux 7 Extended Lifecycle Support to address this issue.
Potential Impact
Successful exploitation allows an unauthenticated attacker to execute arbitrary Perl code on the affected system with the privileges of the calling process. This can lead to confidentiality, integrity, and availability impacts, including potential system compromise. The CVSS v3.1 base score is 7.3 (High), reflecting network attack vector, low attack complexity, no privileges required, no user interaction, and impacts on confidentiality, integrity, and availability.
Mitigation Recommendations
A security update fixing this vulnerability is available from Red Hat for Red Hat Enterprise Linux 7 Extended Lifecycle Support. Users should apply the updated perl-IO-Compress package (version 2.061-2.el7_9.1 or later) as provided in Red Hat advisory RHSA-2026:30843. This official fix addresses the arbitrary code execution issue. No additional mitigation steps are required beyond applying the vendor-provided patch.
CWE-95 Improper Neutralization of Directives in Dynamically Evaluated Code ('Eval Injection') in PMQS IO::Compress (CVE-2026-48962)
Description
CVE-2026-48962 is a high-severity vulnerability in the Perl IO::Compress module before version 2.220. It allows arbitrary code execution due to improper neutralization of directives in dynamically evaluated code within File::GlobMapper. Specifically, an attacker-controlled output glob string is wrapped in double quotes and then evaluated via Perl's eval, enabling injection of arbitrary Perl code if the output glob contains a literal double quote. This code executes with the privileges of the calling process.
CVSS v3.1
Score 7.3high
Affected software
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The IO::Compress Perl module versions prior to 2.220 contain a vulnerability (CWE-95) where the _parseOutputGlob() function wraps a user-supplied output glob string in double quotes and stores it in parser state. The _getFiles() function subsequently evaluates this stored expression using Perl's eval function. If the output glob includes a literal double quote, it breaks out of the quoted context, allowing the following characters to be interpreted and executed as Perl code. This results in arbitrary code execution at the privilege level of the calling process. The vulnerability affects the File::GlobMapper component of IO::Compress. Red Hat has issued security advisories and released patched versions (perl-IO-Compress 2.061-2.el7_9.1) for Red Hat Enterprise Linux 7 Extended Lifecycle Support to address this issue.
Potential Impact
Successful exploitation allows an unauthenticated attacker to execute arbitrary Perl code on the affected system with the privileges of the calling process. This can lead to confidentiality, integrity, and availability impacts, including potential system compromise. The CVSS v3.1 base score is 7.3 (High), reflecting network attack vector, low attack complexity, no privileges required, no user interaction, and impacts on confidentiality, integrity, and availability.
Mitigation Recommendations
A security update fixing this vulnerability is available from Red Hat for Red Hat Enterprise Linux 7 Extended Lifecycle Support. Users should apply the updated perl-IO-Compress package (version 2.061-2.el7_9.1 or later) as provided in Red Hat advisory RHSA-2026:30843. This official fix addresses the arbitrary code execution issue. No additional mitigation steps are required beyond applying the vendor-provided patch.
Technical Details
- Gcve Source
- db.gcve.eu
- Csaf Category
- csaf_security_advisory
- Csaf Version
- 2.0
- Publisher
- Red Hat Product Security
- Advisory Id
- RHSA-2026:29210
- Cve Count
- 1
- Additional Cves
- []
- Cvss Version
- null
Threat ID: 6a3c3b294853345fc1c94005
Added to database: 06/24/2026, 20:16:41 UTC
Last enriched: 07/15/2026, 15:37:50 UTC
Last updated: 07/31/2026, 19:22:59 UTC
Views: 111
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
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
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.