HarborGuard / CVE
Back to search
HIGHCVE-2026-48962Published Modified CNA CPANSec

CVE-2026-48962: IO::Compress versions before 2.220 for Perl can execute arbitrary code in File::GlobMapper via an attacker-controlled output glob

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.

Metrics

CVSS v3.1
7.3
Severity
HIGH
Fixed in
2.220
Affected Products
1

Fix available

2.220
Patch commits
Affected packages
  • PMQS / IO::Compress
    < 2.220 (from 0)
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L