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 package | Versions | Reported by |
|---|---|---|
| IO-Compress | before 2.220 | CVE List |
| perl-IO-Compress | Not 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.32 | Not specified Not affected: from 8100020260616084412.651ee29f before *, from 8080020260622152847.3ba2f806 before * | CVE List |
All scores
| CISA-ADP | 7.3high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L |
| redhat-SADP | 7.8high CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
Classification
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
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-48962 changed 2026-11-10 | CVE Terms of Use |
| NVD | CVE-2026-48962 changed 2026-11-10 | Public domain |