CVE-2023-22652 json
Stack buffer overflow in "read_file" function
published 2023-06-01 3 y ago modified 2026-06-17 4 mo ago also EUVD-2023-26782
- cvss
- 3.3
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.6%
- EPSS 0.6% chance of exploitation in 30 days, percentile 50%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- openSUSE libeconf 0.5.2
- libeconf Debian 12 0.5.1+dfsg1-1+deb12u1
- libeconf Debian 14, Debian 13 0.5.2+dfsg1-1
debian advisories DEBIAN-CVE-2023-22652
- libeconf Ubuntu 22.04 LTS 0.3.8-1+deb11u1build0.22.04.1
ubuntu advisories UBUNTU-CVE-2023-22652
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- libeconf RHEL 9 0.4.1-3.el9_2
red hat advisories RHSA-2023:4347
- libeconf SLE Module for Basesystem 15 SP5, SLE Module for Basesystem 15 SP4, SLE Micro 5.5 +4 more 0.5.2-150400.3.6.1
- libeconf SLE Micro 5.2, SLE Micro 5.1, Manager Server 4.2 +1 more 0.5.2-150300.3.11.1
suse advisories SUSE-SU-2024:2426-1SUSE-SU-2023:3954-2SUSE-SU-2023:3954-1SUSE-SU-2023:3639-1
- libeconf AlmaLinux 9 0.4.1-3.el9_2
almalinux advisories ALSA-2023:4347
- libeconf Rocky Linux 9 0.4.1-3.el9_2
rocky linux advisories RLSA-2023:4347
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2023-22652 updated cvss 6.5
libeconf: stack-based buffer overflow in read_file() in lib/getfilecontents.c
-
Red Hat Enterprise Linux BaseOS (v. 9) libeconf 0.4.1-3.el9_2fixed: vendor fix RHSA-2023:4347
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- Proof of concept is public
- Automatable
- no
- Technical impact
- partial
- Assessed
- 21 mo ago
Exploit prediction
0.64% chance of exploitation in the next 30 days, higher than 50% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- github.com https://github.com/openSUSE/libeconf/issues/177 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 3.3 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L |
| NVD | 3.1 | 6.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H |
Affected products
- openSUSE libeconf
Classification
- Weakness
-
- CWE-120 Buffer Copy without Checking Size of Input
References
-
github.com
/openSUSE/libeconf/issues/177
exploit
-
bugzilla.suse.com
/show_bug.cgi?id=CVE-2023-22652
issue-tracking, vendor-advisory
-
https
//github.com/openSUSE/libeconf/issues/177
broken-link
- lists.fedoraproject.org /archives/list/package-announce@lists.fedoraproject.org/message/SMG5256D5I3GFA3RBAJQ2WYPJDYAIL74/
- lists.fedoraproject.org /archives/list/package-announce@lists.fedoraproject.org/message/SDD5GL5T3V5XZ3VFA4HPE6YGJ2K4HHPC/
- lists.fedoraproject.org /archives/list/package-announce@lists.fedoraproject.org/message/YAYW7X753Z6GOJKVLQPXBDHISN6ZT233/
- lists.debian.org /debian-lts-announce/2025/05/msg00016.html
Sources
- CVE List CVE-2023-22652
- NVD CVE-2023-22652
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.