Every CVE Search/ Get API key

CVE-2023-22652

Stack buffer overflow in "read_file" function

3.3 LowFix available

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

0.64%Up 0.6 points since Jun 2, 2023
90%50%10%1%

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 LowCVSS: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 LowCVSS: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 LowCVSS: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 LowCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L
CVSS 3.1
6.5 MediumCVSS: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 MediumCVSS: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 LowCVSS: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 MediumCVSS: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 HighCVSS: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 HighCVSS: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 LowCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L
CVSS 3.1
6.5 MediumCVSS: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

Affected packages
PackageAffectedFixed
libeconf
AlmaLinux:9
before 0.4.1-3.el9_2
0.4.1-3.el9_2
libeconf
Alpaquita:23
0.4.7-r0 up to 0.4.7-r1
0.4.7-r1
libeconf
Debian:12
before 0.5.1+dfsg1-1+deb12u1, plus listed versions
0.5.1+dfsg1-1
0.5.1+dfsg1-1+deb12u1
libeconf
Debian:13
before 0.5.2+dfsg1-1
0.5.2+dfsg1-1
libeconf
Debian:14
before 0.5.2+dfsg1-1
0.5.2+dfsg1-1
libeconf
Debian:11
before 0.3.8-1+deb11u1, plus listed versions
0.3.8-1
0.3.8-1+deb11u1
libeconf
Red Hat:enterprise_linux:9::baseos
before 0:0.4.1-3.el9_2
0:0.4.1-3.el9_2
libeconf-debuginfo
Red Hat:enterprise_linux:9::baseos
before 0:0.4.1-3.el9_2
0:0.4.1-3.el9_2
libeconf-debugsource
Red Hat:enterprise_linux:9::baseos
before 0:0.4.1-3.el9_2
0:0.4.1-3.el9_2
libeconf-utils-debuginfo
Red Hat:enterprise_linux:9::baseos
before 0:0.4.1-3.el9_2
0:0.4.1-3.el9_2
Show 13 moreShow less
Affected packages
PackageAffectedFixed
libeconf
Rocky Linux:9
before 0:0.4.1-3.el9_2
0:0.4.1-3.el9_2
libeconf
SUSE:Manager Proxy 4.2
before 0.5.2-150300.3.11.1
0.5.2-150300.3.11.1
libeconf
SUSE:Manager Server 4.2
before 0.5.2-150300.3.11.1
0.5.2-150300.3.11.1
libeconf
SUSE:Linux Enterprise Micro 5.1
before 0.5.2-150300.3.11.1
0.5.2-150300.3.11.1
libeconf
SUSE:Linux Enterprise Micro 5.2
before 0.5.2-150300.3.11.1
0.5.2-150300.3.11.1
libeconf
SUSE:Linux Enterprise Micro 5.3
before 0.5.2-150400.3.6.1
0.5.2-150400.3.6.1
libeconf
SUSE:Linux Enterprise Micro 5.4
before 0.5.2-150400.3.6.1
0.5.2-150400.3.6.1
libeconf
SUSE:Linux Enterprise Module for Basesystem 15 SP4
before 0.5.2-150400.3.6.1
0.5.2-150400.3.6.1
libeconf
SUSE:Linux Enterprise Module for Basesystem 15 SP5
before 0.5.2-150400.3.6.1
0.5.2-150400.3.6.1
libeconf
openSUSE:Leap 15.4
before 0.5.2-150400.3.6.1
0.5.2-150400.3.6.1
libeconf
openSUSE:Leap 15.5
before 0.5.2-150400.3.6.1
0.5.2-150400.3.6.1
libeconf
SUSE:Linux Enterprise Micro 5.5
before 0.5.2-150400.3.6.1
0.5.2-150400.3.6.1
libeconf
Ubuntu: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

History
RecordedChangedSources
first indexedCVE 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

Show 32 moreShow less
MoveEnter Open