CVE-2023-46052 Memory corruption in n/a

High 7.1 Published Updated

Heap bounds overwrite in Sane test utility allows code execution if attacker-controlled config is used, though exploitation is disputed.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Local or same network only
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2023-46052?

CVE-2023-46052 is a high-severity memory corruption vulnerability in n/a, published on 27 Mar 2024. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.

Official description

Sane 1.2.1 heap bounds overwrite in init_options() from backend/test.c via a long init_mode string in a configuration file. NOTE: this is disputed because there is no expectation that test.c code should be executed with an attacker-controlled configuration file.

Which versions are affected by CVE-2023-46052?

It affects 1 product.

Products include Sane-Project Sane Backends.

How do I fix CVE-2023-46052?

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-46052 being exploited?

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

Sources

Also known as DEBIAN-CVE-2023-46052, GHSA-86vw-c532-f7g7.

Is CVE-2023-46052 in your software?

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

Check your SBOMs for free