CVE-2023-22652
Stack buffer overflow in "read_file" function
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.
Attack profile
How easy it is to exploit
- Attack vector
- Local
- Complexity
- Low
- Privileges needed
- None
- User interaction
- Required
What an attacker can affect
- Confidentiality
- None
- Integrity
- None
- Availability
- Low
Exploit likelihood
What each source reports
CVE List Score used
3.3
Stack buffer overflow in "read_file" function
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.
- Record
CVE-2023-22652- CVSS 3.1
- 3.3 Low
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L - Weakness
- CWE-120
- Updated
- 2026-11-02
EUVDEUVD-2023-26782
3.3
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.
- Record
EUVD-2023-26782- CVSS 3.1
- 3.3 Low
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L - Updated
- 2026-11-02
GitHub AdvisoriesGHSA-rgj6-mpw9-qm58
3.3
A Buffer Copy without Checking Size of Input ('Classic Buffer Overflow') vulnerability in...
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.
- Record
GHSA-rgj6-mpw9-qm58- CVSS 3.1
- 3.3 Low
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L - Weakness
- CWE-120
- Updated
- 2026-11-02
NVD
3.3
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.
- Record
CVE-2023-22652- CVSS 3.1
- 3.3 Low
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L - CVSS 3.1
- 6.5 Medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H - Weakness
- CWE-120
- Updated
- 2026-11-02
OSVBELL-CVE-2023-22652
6.5
- Record
BELL-CVE-2023-22652- CVSS 3.1
- 6.5 Medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H - Updated
- 2026-11-02
OSV
3.3
Stack buffer overflow in "read_file" function
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.
- Record
CVE-2023-22652- CVSS 3.1
- 3.3 Low
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L - Weakness
- CWE-120
- Updated
- 2026-11-02
Show 10 moreShow less
OSVDEBIAN-CVE-2023-22652
6.5
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.
- Record
DEBIAN-CVE-2023-22652- CVSS 3.1
- 6.5 Medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H - Updated
- 2026-11-02
OSVRHSA-2023:4347
8.8
Red Hat Security Advisory: libeconf security update
- Record
RHSA-2023:4347- CVSS 3.1
- 8.8 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
OSVRLSA-2023:4347
8.8
Moderate: libeconf security update
Libeconf is a highly flexible and configurable library to parse and manage key=value configuration files. It reads configuration file snippets from different directories and builds the final configuration file from it.
Security Fix(es):
- libeconf: stack-based buffer overflow in read_file() in lib/getfilecontents.c (CVE-2023-22652)
For more details about the security issue(s), including the impact, a CVSS score, acknowledgments, and other related information, refer to the CVE page(s) listed in the References section.
- Record
RLSA-2023:4347- CVSS 3.1
- 8.8 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
OSVUBUNTU-CVE-2023-22652
3.3
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.
- Record
UBUNTU-CVE-2023-22652- CVSS 3.1
- 3.3 Low
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L - CVSS 3.1
- 6.5 Medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H - Updated
- 2026-11-02
OSVALSA-2023:4347 No score
Moderate: libeconf security update
Libeconf is a highly flexible and configurable library to parse and manage key=value configuration files. It reads configuration file snippets from different directories and builds the final configuration file from it.
Security Fix(es):
- libeconf: stack-based buffer overflow in read_file() in lib/getfilecontents.c (CVE-2023-22652)
For more details about the security issue(s), including the impact, a CVSS score, acknowledgments, and other related information, refer to the CVE page(s) listed in the References section.
- Record
ALSA-2023:4347- Updated
- 2026-11-02
OSVSUSE-SU-2023:3639-1 No score
Security update for libeconf
This update for libeconf fixes the following issues:
Update to version 0.5.2.
- CVE-2023-30078, CVE-2023-32181: Fixed a stack-buffer-overflow vulnerability in 'econf_writeFile' function (bsc#1211078).
- CVE-2023-30079, CVE-2023-22652: Fixed a stack-buffer-overflow vulnerability in 'read_file' function. (bsc#1211078)
The following non-security bug was fixed:
- Fixed parsing files correctly which have space characters AND none space characters as delimiters (bsc#1198165).
- Record
SUSE-SU-2023:3639-1- Updated
- 2026-11-02
OSVSUSE-SU-2023:3954-1 No score
Security update for libeconf
This update for libeconf fixes the following issues:
Update to version 0.5.2.
- CVE-2023-30078, CVE-2023-32181: Fixed a stack-buffer-overflow vulnerability in 'econf_writeFile' function (bsc#1211078).
- CVE-2023-30079, CVE-2023-22652: Fixed a stack-buffer-overflow vulnerability in 'read_file' function. (bsc#1211078)
- Record
SUSE-SU-2023:3954-1- Updated
- 2026-11-02
OSVSUSE-SU-2023:3954-2 No score
Security update for libeconf
This update for libeconf fixes the following issues:
Update to version 0.5.2.
- CVE-2023-30078, CVE-2023-32181: Fixed a stack-buffer-overflow vulnerability in 'econf_writeFile' function (bsc#1211078).
- CVE-2023-30079, CVE-2023-22652: Fixed a stack-buffer-overflow vulnerability in 'read_file' function. (bsc#1211078)
- Record
SUSE-SU-2023:3954-2- Updated
- 2026-11-02
OSVSUSE-SU-2024:2426-1 No score
Security update for libeconf
This update for libeconf fixes the following issues:
Update to version 0.5.2.
- CVE-2023-30078, CVE-2023-32181: Fixed a stack-buffer-overflow vulnerability in 'econf_writeFile' function (bsc#1211078).
- CVE-2023-30079, CVE-2023-22652: Fixed a stack-buffer-overflow vulnerability in 'read_file' function. (bsc#1211078)
- Record
SUSE-SU-2024:2426-1- Updated
- 2026-11-02
OSVUSN-8368-1 No score
libeconf vulnerability
It was discovered that libeconf did not properly check the size of input when copying data to a buffer. An attacker could possibly use this issue to cause libeconf to crash, resulting in a denial of service.
- Record
USN-8368-1- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
libeconfAlmaLinux:9 |
before 0.4.1-3.el9_2 | 0.4.1-3.el9_2 |
libeconfAlpaquita:23 |
0.4.7-r0 up to 0.4.7-r1 | 0.4.7-r1 |
libeconfDebian:12 |
before 0.5.1+dfsg1-1+deb12u1, plus listed versions 0.5.1+dfsg1-1 |
0.5.1+dfsg1-1+deb12u1 |
libeconfDebian:13 |
before 0.5.2+dfsg1-1 | 0.5.2+dfsg1-1 |
libeconfDebian:14 |
before 0.5.2+dfsg1-1 | 0.5.2+dfsg1-1 |
libeconfDebian:11 |
before 0.3.8-1+deb11u1, plus listed versions 0.3.8-1 |
0.3.8-1+deb11u1 |
libeconfRed Hat:enterprise_linux:9::baseos |
before 0:0.4.1-3.el9_2 | 0:0.4.1-3.el9_2 |
libeconf-debuginfoRed Hat:enterprise_linux:9::baseos |
before 0:0.4.1-3.el9_2 | 0:0.4.1-3.el9_2 |
libeconf-debugsourceRed Hat:enterprise_linux:9::baseos |
before 0:0.4.1-3.el9_2 | 0:0.4.1-3.el9_2 |
libeconf-utils-debuginfoRed Hat:enterprise_linux:9::baseos |
before 0:0.4.1-3.el9_2 | 0:0.4.1-3.el9_2 |
Show 13 moreShow less
| Package | Affected | Fixed |
|---|---|---|
libeconfRocky Linux:9 |
before 0:0.4.1-3.el9_2 | 0:0.4.1-3.el9_2 |
libeconfSUSE:Manager Proxy 4.2 |
before 0.5.2-150300.3.11.1 | 0.5.2-150300.3.11.1 |
libeconfSUSE:Manager Server 4.2 |
before 0.5.2-150300.3.11.1 | 0.5.2-150300.3.11.1 |
libeconfSUSE:Linux Enterprise Micro 5.1 |
before 0.5.2-150300.3.11.1 | 0.5.2-150300.3.11.1 |
libeconfSUSE:Linux Enterprise Micro 5.2 |
before 0.5.2-150300.3.11.1 | 0.5.2-150300.3.11.1 |
libeconfSUSE:Linux Enterprise Micro 5.3 |
before 0.5.2-150400.3.6.1 | 0.5.2-150400.3.6.1 |
libeconfSUSE:Linux Enterprise Micro 5.4 |
before 0.5.2-150400.3.6.1 | 0.5.2-150400.3.6.1 |
libeconfSUSE:Linux Enterprise Module for Basesystem 15 SP4 |
before 0.5.2-150400.3.6.1 | 0.5.2-150400.3.6.1 |
libeconfSUSE:Linux Enterprise Module for Basesystem 15 SP5 |
before 0.5.2-150400.3.6.1 | 0.5.2-150400.3.6.1 |
libeconfopenSUSE:Leap 15.4 |
before 0.5.2-150400.3.6.1 | 0.5.2-150400.3.6.1 |
libeconfopenSUSE:Leap 15.5 |
before 0.5.2-150400.3.6.1 | 0.5.2-150400.3.6.1 |
libeconfSUSE:Linux Enterprise Micro 5.5 |
before 0.5.2-150400.3.6.1 | 0.5.2-150400.3.6.1 |
libeconfUbuntu:22.04:LTS |
before 0.3.8-1+deb11u1build0.22.04.1, plus listed versions 0.3.8-1 |
0.3.8-1+deb11u1build0.22.04.1 |
History
| Recorded | Changed | Sources |
|---|---|---|
| first indexed | CVE List, EUVD, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2023-22652 is a low vulnerability (CVSS 3.3) in Opensuse Libeconf, published June 1, 2023. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 0.64%, the 50th percentile. Fixed in libeconf 0.4.1-3.el9_2.
References
bugzilla.suse.com/show_bug.cgi?id=CVE-2023-22652
https//github.com/openSUSE/libeconf/issues/177
lists.fedoraproject.org/archives/list/[email protected]/message/SMG5256D5I3GFA3RBAJQ2WYPJDYAIL74
lists.fedoraproject.org/archives/list/[email protected]/message/SDD5GL5T3V5XZ3VFA4HPE6YGJ2K4HHPC
lists.fedoraproject.org/archives/list/[email protected]/message/YAYW7X753Z6GOJKVLQPXBDHISN6ZT233
lists.debian.org/debian-lts-announce/2025/05/msg00016.html
Show 32 moreShow less
github.com/openSUSE/libeconf/issues/177
nvd.nist.gov/vuln/detail/CVE-2023-22652
github.com/advisories/GHSA-rgj6-mpw9-qm58
access.redhat.com/errata/RHSA-2023:4347
access.redhat.com/security/cve/CVE-2023-22652
bugzilla.redhat.com/2212463
errata.almalinux.org/9/ALSA-2023-4347.html
docs.bell-sw.com/security/cves/CVE-2023-22652
github.com/CVEProject/cvelistV5/tree/main/cves/2023/22xxx/CVE-2023-22652.json
github.com/openSUSE/libeconf
security-tracker.debian.org/tracker/CVE-2023-22652
access.redhat.com/security/updates/classification
bugzilla.redhat.com/show_bug.cgi?id=2212463
security.access.redhat.com/data/csaf/v2/advisories/2023/rhsa-2023_4347.json
cve.org/CVERecord?id=CVE-2023-22652
access.redhat.com/security/cve/CVE-2023-30079
bugzilla.redhat.com/show_bug.cgi?id=2234595
cve.org/CVERecord?id=CVE-2023-30079
nvd.nist.gov/vuln/detail/CVE-2023-30079
errata.rockylinux.org/RLSA-2023:4347
suse.com/support/update/announcement/2023/suse-su-20233639-1
bugzilla.suse.com/1198165
bugzilla.suse.com/1211078
suse.com/security/cve/CVE-2023-22652
suse.com/security/cve/CVE-2023-30078
suse.com/security/cve/CVE-2023-30079
suse.com/security/cve/CVE-2023-32181
suse.com/support/update/announcement/2023/suse-su-20233954-1
suse.com/support/update/announcement/2023/suse-su-20233954-2
suse.com/support/update/announcement/2024/suse-su-20242426-1
ubuntu.com/security/CVE-2023-22652
ubuntu.com/security/notices/USN-8368-1