CVE-2026-48962
JSON

7.3high

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

Severity
7.3high CVSS:3.1 by CISA-ADP
Exploit likelihood
0.50% (higher than 35% of CVEs)
Published
Last changed
Assigned by
CPANSec

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.

Affected

Product or packageVersionsReported by
IO-Compressbefore 2.220CVE List
perl-IO-CompressNot specified
Not affected: from 0:2.212-512.el10_2.1 before *, from 0:2.212-512.el10_0.1 before *, from 0:2.061-2.el7_9.1 before *, from 0:2.081-2.el8_10 before *, from 0:2.081-1.el8_4.1 before *, from 0:2.081-1.el8_6.1 before *
CVE List
perl:5.32Not specified
Not affected: from 8100020260616084412.651ee29f before *, from 8080020260622152847.3ba2f806 before *
CVE List

All scores

CISA-ADP7.3high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L
redhat-SADP7.8high CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Classification

CWE-94CWE-95

SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial.

What each source says

CVE List

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.

NVD (es)

Las versiones de IO::Compress anteriores a la 2.220 para Perl pueden ejecutar código arbitrario en File::GlobMapper a través de un output glob controlado por un atacante. _parseOutputGlob() envuelve la cadena output glob proporcionada por el llamador en comillas dobles y la almacena en el estado del analizador; _getFiles() luego ejecuta la expresión almacenada a través de eval STRING. Una comilla doble literal en el output glob cierra el envoltorio de comillas dobles, y los caracteres que le siguen se evalúan como Perl. Perl arbitrario en el output glob se ejecuta con los privilegios del proceso llamador.

References

https://github.com/pmqs/IO-Compress/commit/f2db247bf90d4cc7ee2710be384946081f3b4610.patchpatch
https://metacpan.org/release/PMQS/IO-Compress-2.220/changesrelease-notes
http://www.openwall.com/lists/oss-security/2026/05/27/4
https://access.redhat.com/security/cve/CVE-2026-48962vdb-entry
https://bugzilla.redhat.com/show_bug.cgi?id=2481767issue-tracking
https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-48962.json
https://access.redhat.com/errata/RHSA-2026:30843vendor-advisory
https://access.redhat.com/errata/RHSA-2026:29941vendor-advisory
https://access.redhat.com/errata/RHSA-2026:30860vendor-advisory
https://access.redhat.com/errata/RHSA-2026:30851vendor-advisory
https://access.redhat.com/errata/RHSA-2026:50262vendor-advisory
https://access.redhat.com/errata/RHSA-2026:29210vendor-advisory

Sources

SourceRecordLicence
CVE ListCVE-2026-48962 changed 2026-11-10CVE Terms of Use
NVDCVE-2026-48962 changed 2026-11-10Public domain