CVE-2023-52612 crypto: scomp - fix req->dst buffer overflow

High 7.8 Published Updated

A buffer overflow in the Linux kernel's scomp crypto module allows attackers to potentially execute code or cause a denial of service.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Local or same network only
Victim action needed
Not needed
Fix
Available

What is CVE-2023-52612?

CVE-2023-52612 is a high-severity memory corruption vulnerability in Debian Debian Linux, published on 18 Mar 2024. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

In the Linux kernel, the following vulnerability has been resolved:

crypto: scomp - fix req->dst buffer overflow

The req->dst buffer size should be checked before copying from the scomp_scratch->dst to avoid req->dst buffer overflow problem.

Weakness: CWE-120

Which versions are affected by CVE-2023-52612?

It affects 2 products.

Products include Debian Debian Linux, Linux kernel.

How do I fix CVE-2023-52612?

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-2023-52612 being exploited?

There is no known exploitation of CVE-2023-52612 in the wild and no public exploit code.

All Debian Debian Linux vulnerabilities

Sources

Also known as BELL-CVE-2023-52612, DEBIAN-CVE-2023-52612, GHSA-9x4r-pqr3-8fxx, UBUNTU-CVE-2023-52612.

Is CVE-2023-52612 in your software?

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

Check your SBOMs for free