Heap-based buffer overflow in iniparser - CVE-2025-0633

 

Heap-based buffer overflow in iniparser - CVE-2025-0633

Published: February 24, 2025


Vulnerability identifier: #VU104162
CSH Severity: High
CVSS v4: 7.5 [CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2025-0633
CWE-ID: CWE-122
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to execute arbitrary code on the target system.

The vulnerability exists due to a boundary error within the iniparser_dumpsection_ini() function in iniparser.c. A remote attacker can pass specially crafted data to the application, trigger a heap-based buffer overflow and execute arbitrary code on the target system.

Successful exploitation of this vulnerability may result in complete compromise of vulnerable system.


Affected software

iniparser
SUSE Linux Enterprise Server 12 SP5 LTSS Extended
SUSE Linux Enterprise Server for SAP Applications 12
SUSE Linux Enterprise Server 12
SUSE Linux Enterprise Server for SAP Applications 15
SUSE Linux Enterprise Server 15
SUSE Linux Enterprise Real Time 15
SUSE Linux Enterprise Desktop 15
Fedora
Basesystem Module
openSUSE Leap
openEuler
Ubuntu
Anolis OS
libiniparser0-debuginfo
libiniparser-devel
libiniparser0-32bit
iniparser-debugsource
libiniparser0
libiniparser0-debuginfo-32bit
libiniparser1 (Ubuntu package)
iniparser-doc
iniparser-devel
iniparser
iniparser-debuginfo
libiniparser1-64bit-debuginfo
libiniparser1-64bit
libiniparser1-32bit-debuginfo
libiniparser1-32bit
libiniparser1
libiniparser1-debuginfo

How to mitigate CVE-2025-0633

Install updates from vendor's website.

iniparser - update to 4.2.6
libiniparser0-debuginfo - update to 3.1.0.git20140619_c5beb80a-3.6.1
libiniparser-devel - addressed in versions 3.1.0.git20140619_c5beb80a-3.6.1, 4.1-150500.4.8.1
libiniparser0-32bit - update to 3.1.0.git20140619_c5beb80a-3.6.1
iniparser-debugsource - addressed in versions 3.1.0.git20140619_c5beb80a-3.6.1, 4.1-150500.4.8.1
libiniparser0 - update to 3.1.0.git20140619_c5beb80a-3.6.1
libiniparser0-debuginfo-32bit - update to 3.1.0.git20140619_c5beb80a-3.6.1
libiniparser1 (Ubuntu package) - addressed in versions 4.1-4ubuntu4.2, 4.1-7ubuntu0.1, 4.2.1-1ubuntu0.1
iniparser-doc - update to 4.1-6
iniparser-devel - update to 4.1-6
iniparser - update to 4.1-6
iniparser-debugsource - update to 4.1-6
iniparser-debuginfo - update to 4.1-6
iniparser - update to 4.1-6
iniparser - addressed in versions 4.1-7.el8, 4.1-12.el9, 4.1-17.fc40, 4.2.4-3.fc41
libiniparser1-64bit-debuginfo - update to 4.1-150500.4.8.1
libiniparser1-64bit - update to 4.1-150500.4.8.1
libiniparser1-32bit-debuginfo - update to 4.1-150500.4.8.1
libiniparser1-32bit - update to 4.1-150500.4.8.1
libiniparser1 - update to 4.1-150500.4.8.1
libiniparser1-debuginfo - update to 4.1-150500.4.8.1

External References

Related Security Bulletins