CVE-2026-48962: CWE-95 Improper Neutralization of Directives in Dynamically Evaluated Code ('Eval Injection') in PMQS IO::Compress
CVE-2026-48962 is a code injection vulnerability in PMQS IO::Compress for Perl versions before 2. 220. It arises from improper neutralization of directives in dynamically evaluated code, specifically in the File::GlobMapper component. An attacker can supply a crafted output glob string containing a literal double quote that breaks out of the intended quoting and injects arbitrary Perl code. This code executes with the privileges of the calling process, potentially allowing arbitrary code execution.
AI Analysis
Technical Summary
The vulnerability in IO::Compress occurs because the _parseOutputGlob() function wraps a user-supplied output glob string in double quotes and stores it. Later, _getFiles() evaluates this stored string using Perl's eval STRING. If the output glob contains a literal double quote, it closes the wrapping quotes prematurely, allowing the attacker to append arbitrary Perl code that gets executed. This is a classic example of CWE-95: Improper Neutralization of Directives in Dynamically Evaluated Code ('Eval Injection').
Potential Impact
Successful exploitation allows an attacker to execute arbitrary Perl code with the privileges of the process running IO::Compress. This can lead to full compromise of the affected system or application depending on the privilege level. No known exploits in the wild have been reported yet.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, avoid processing untrusted input in the output glob parameter or restrict usage to trusted sources only. Monitor vendor channels for updates and apply patches promptly once released.
CVE-2026-48962: CWE-95 Improper Neutralization of Directives in Dynamically Evaluated Code ('Eval Injection') in PMQS IO::Compress
Description
CVE-2026-48962 is a code injection vulnerability in PMQS IO::Compress for Perl versions before 2. 220. It arises from improper neutralization of directives in dynamically evaluated code, specifically in the File::GlobMapper component. An attacker can supply a crafted output glob string containing a literal double quote that breaks out of the intended quoting and injects arbitrary Perl code. This code executes with the privileges of the calling process, potentially allowing arbitrary code execution.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The vulnerability in IO::Compress occurs because the _parseOutputGlob() function wraps a user-supplied output glob string in double quotes and stores it. Later, _getFiles() evaluates this stored string using Perl's eval STRING. If the output glob contains a literal double quote, it closes the wrapping quotes prematurely, allowing the attacker to append arbitrary Perl code that gets executed. This is a classic example of CWE-95: Improper Neutralization of Directives in Dynamically Evaluated Code ('Eval Injection').
Potential Impact
Successful exploitation allows an attacker to execute arbitrary Perl code with the privileges of the process running IO::Compress. This can lead to full compromise of the affected system or application depending on the privilege level. No known exploits in the wild have been reported yet.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, avoid processing untrusted input in the output glob parameter or restrict usage to trusted sources only. Monitor vendor channels for updates and apply patches promptly once released.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- CPANSec
- Date Reserved
- 2026-05-26T18:09:32.365Z
- Cvss Version
- null
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6a16660ce29bf47b5090358d
Added to database: 5/27/2026, 3:33:32 AM
Last enriched: 5/27/2026, 3:48:48 AM
Last updated: 5/27/2026, 4:36:11 AM
Views: 11
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.