CVE-2026-48962 Code injection in IO::Compress
Attackers can execute arbitrary Perl code by providing a malicious output glob string to the IO::Compress library, leading to full process compromise.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2026-48962?
CVE-2026-48962 is a high-severity code injection vulnerability in PMQS IO::Compress, published on 27 May 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official 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.
Which versions are affected by CVE-2026-48962?
Linux distribution packages (21)
perl-IO-Compress AlmaLinux:10 | All versions | 2.212-512.el10_2.1 |
perl-IO-Compress AlmaLinux:8 | All versions | 2.081-2.el8_10 |
perl-IO-Compress AlmaLinux:9 | All versions | 2.102-4.el9_8.1 |
perl-IO-Compress Red Hat:enterprise_linux:10.2 | All versions | 0:2.212-512.el10_2.1 |
perl-IO-Compress Red Hat:enterprise_linux:8::baseos | All versions | 0:2.081-2.el8_10 |
perl-IO-Compress Red Hat:enterprise_linux:9::appstream | All versions | 0:2.102-4.el9_8.1 |
perl-IO-Compress Red Hat:enterprise_linux_eus:10.0 | All versions | 0:2.212-512.el10_0.1 |
perl-IO-Compress Red Hat:rhel_aus:8.4::baseos | All versions | 0:2.081-1.el8_4.1 |
perl-IO-Compress Red Hat:rhel_aus:8.6::baseos | All versions | 0:2.081-1.el8_6.1 |
perl-IO-Compress Red Hat:rhel_e4s:8.8::baseos | All versions | 0:2.081-1.el8_8.1 |
perl-IO-Compress Red Hat:rhel_e4s:9.2::appstream | All versions | 0:2.102-4.el9_2.1 |
perl-IO-Compress Red Hat:rhel_e4s:9.4::appstream | All versions | 0:2.102-4.el9_4.1 |
perl-IO-Compress Red Hat:rhel_els:7 | All versions | 0:2.061-2.el7_9.1 |
perl-IO-Compress Red Hat:rhel_eus:9.6::appstream | All versions | 0:2.102-4.el9_6.1 |
perl-IO-Compress Red Hat:rhel_eus_long_life:8.4::baseos | All versions | 0:2.081-1.el8_4.1 |
perl-IO-Compress Red Hat:rhel_eus_long_life:8.6::baseos | All versions | 0:2.081-1.el8_6.1 |
perl-IO-Compress Red Hat:rhel_tus:8.8::baseos | All versions | 0:2.081-1.el8_8.1 |
perl-IO-Compress Rocky Linux:10 | All versions | 0:2.212-512.el10_2.1 |
perl-IO-Compress Rocky Linux:8 | All versions | 0:2.081-2.el8_10 |
perl-IO-Compress Rocky Linux:9 | All versions | 0:2.102-4.el9_8.1 |
perl-IO-Compress openSUSE:Tumbleweed | All versions | 2.220.0-1.1 |
How do I fix CVE-2026-48962?
Upgrade to a fixed version.
Upgrade, and never evaluate templates, expressions or code built from user input. More about Code injection.
Is CVE-2026-48962 being exploited?
There is no known exploitation of CVE-2026-48962 in the wild and no public exploit code.
Public exploit code: 1 proofs of concept on GitHub.
Sources
Also known as ALSA-2026:30858, ALSA-2026:30859, ALSA-2026:30860, AZL-89280, BELL-CVE-2026-48962, CLSA-2026-1782898054 and 25 more.