CVE-2026-48962 Code injection in IO::Compress

High 7.3 Published Updated

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.

Weakness: CWE-94, CWE-95

Which versions are affected by CVE-2026-48962?

Linux distribution packages (21)
perl-IO-Compress AlmaLinux:10All versions2.212-512.el10_2.1
perl-IO-Compress AlmaLinux:8All versions2.081-2.el8_10
perl-IO-Compress AlmaLinux:9All versions2.102-4.el9_8.1
perl-IO-Compress Red Hat:enterprise_linux:10.2All versions0:2.212-512.el10_2.1
perl-IO-Compress Red Hat:enterprise_linux:8::baseosAll versions0:2.081-2.el8_10
perl-IO-Compress Red Hat:enterprise_linux:9::appstreamAll versions0:2.102-4.el9_8.1
perl-IO-Compress Red Hat:enterprise_linux_eus:10.0All versions0:2.212-512.el10_0.1
perl-IO-Compress Red Hat:rhel_aus:8.4::baseosAll versions0:2.081-1.el8_4.1
perl-IO-Compress Red Hat:rhel_aus:8.6::baseosAll versions0:2.081-1.el8_6.1
perl-IO-Compress Red Hat:rhel_e4s:8.8::baseosAll versions0:2.081-1.el8_8.1
perl-IO-Compress Red Hat:rhel_e4s:9.2::appstreamAll versions0:2.102-4.el9_2.1
perl-IO-Compress Red Hat:rhel_e4s:9.4::appstreamAll versions0:2.102-4.el9_4.1
perl-IO-Compress Red Hat:rhel_els:7All versions0:2.061-2.el7_9.1
perl-IO-Compress Red Hat:rhel_eus:9.6::appstreamAll versions0:2.102-4.el9_6.1
perl-IO-Compress Red Hat:rhel_eus_long_life:8.4::baseosAll versions0:2.081-1.el8_4.1
perl-IO-Compress Red Hat:rhel_eus_long_life:8.6::baseosAll versions0:2.081-1.el8_6.1
perl-IO-Compress Red Hat:rhel_tus:8.8::baseosAll versions0:2.081-1.el8_8.1
perl-IO-Compress Rocky Linux:10All versions0:2.212-512.el10_2.1
perl-IO-Compress Rocky Linux:8All versions0:2.081-2.el8_10
perl-IO-Compress Rocky Linux:9All versions0:2.102-4.el9_8.1
perl-IO-Compress openSUSE:TumbleweedAll versions2.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.

Is CVE-2026-48962 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free