CVE-2022-48522 Memory corruption in n/a

Critical 9.8 Published Updated

A stack-based crash in Perl's S_find_uninit_var function allows attackers to achieve remote code execution or local privilege escalation.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2022-48522?

CVE-2022-48522 is a critical memory corruption vulnerability in n/a, published on 22 Aug 2023. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

In Perl 5.34.0, function S_find_uninit_var in sv.c has a stack-based crash that can lead to remote code execution or local privilege escalation.

Weakness: CWE-787

Which versions are affected by CVE-2022-48522?

It affects 1 product.

Products include Perl Perl.

How do I fix CVE-2022-48522?

Apply the vendor's patch.

Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.

Is CVE-2022-48522 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2022-48522 exists.

Sources

Also known as DEBIAN-CVE-2022-48522, GHSA-96cv-gp7m-9r39, OESA-2023-1563, OESA-2023-1564, OESA-2023-1565, UBUNTU-CVE-2022-48522.

Is CVE-2022-48522 in your software?

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

Check your SBOMs for free