CVE-2023-22652 Stack buffer overflow in "read_file" function

Low 3.3 Published Updated

A stack buffer overflow in libeconf allows attackers to cause a denial of service via malformed configuration files.

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-22652?

CVE-2023-22652 is a low-severity memory corruption vulnerability in openSUSE libeconf, published on 1 Jun 2023. 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

A Buffer Copy without Checking Size of Input ('Classic Buffer Overflow') vulnerability in openSUSE libeconf leads to DoS via malformed config files. This issue affects libeconf: before 0.5.2.

Weakness: CWE-120

Which versions are affected by CVE-2023-22652?

It affects 1 product.

Linux distribution packages (1)
libeconf AlmaLinux:9All versions0.4.1-3.el9_2

Products include Opensuse Libeconf.

How do I fix CVE-2023-22652?

Upgrade to a fixed version.

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

Is CVE-2023-22652 being exploited?

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

Sources

Also known as ALSA-2023:4347, BELL-CVE-2023-22652, CVE-2023-30079, DEBIAN-CVE-2023-22652, DLA-4164-1, GHSA-rgj6-mpw9-qm58 and 2 more.

Is CVE-2023-22652 in your software?

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

Check your SBOMs for free