Buffer overflow in elfutils - CVE-2025-1365

 

Buffer overflow in elfutils - CVE-2025-1365

Published: March 25, 2025


Vulnerability identifier: #VU106004
CSH Severity: Medium
CVSS v4: 7.1 [CVSS:4.0/AV:L/AC:H/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2025-1365
CWE-ID: CWE-119
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 process_symtab() function in readelf.c. A remote attacker can trick the victim into passing specially crafted file to the application, trigger memory corruption and execute arbitrary code on the target system.

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


Affected software

elfutils
SUSE Linux Enterprise Server 12 SP5
SUSE Linux Enterprise Server 12 SP5 LTSS Extended
SUSE Linux Enterprise Server 12
SUSE Linux Enterprise Server for SAP Applications 12
SUSE Linux Enterprise Desktop 12
SUSE Linux Enterprise High Performance Computing 12
SUSE Manager Client Tools for SLE
SUSE Linux Enterprise Server for the Raspberry Pi
SUSE Linux Enterprise Server
SUSE Linux Enterprise Server for SAP Applications
SUSE Linux Enterprise Desktop
Ubuntu
openEuler
mgrctl-bash-completion
mgrctl-zsh-completion
mgrctl-debuginfo
mgrctl
golang-github-QubitProducts-exporter_exporter
golang-github-prometheus-promu
elfutils (Ubuntu package)
elfutils-devel
elfutils
elfutils-debuginfo
elfutils-debuginfod
elfutils-debuginfod-client
elfutils-debuginfod-client-devel
elfutils-default-yama-scope
elfutils-libs
elfutils-libelf-devel
elfutils-libelf
elfutils-help
elfutils-extra
elfutils-debugsource
golang-github-lusitaniae-apache_exporter
golang-github-prometheus-node_exporter
golang-github-boynux-squid_exporter
spacecmd

How to mitigate CVE-2025-1365

Cybersecurity Help is currently unaware of any official solution to address this vulnerability.

mgrctl-bash-completion - update to 0.1.38-1.30.2
mgrctl-zsh-completion - update to 0.1.38-1.30.2
mgrctl-debuginfo - update to 0.1.38-1.30.2
mgrctl - update to 0.1.38-1.30.2
golang-github-QubitProducts-exporter_exporter - update to 0.4.0-1.15.2
golang-github-prometheus-promu - update to 0.17.0-1.30.2
elfutils (Ubuntu package) - addressed in versions 0.186-1ubuntu0.1, 0.190-1.1ubuntu0.1, 0.191-2ubuntu0.1
elfutils-devel - update to 0.190-8
elfutils - update to 0.190-8
elfutils-debuginfo - update to 0.190-8
elfutils-debuginfod - update to 0.190-8
elfutils-debuginfod-client - update to 0.190-8
elfutils-debuginfod-client-devel - update to 0.190-8
elfutils-default-yama-scope - update to 0.190-8
elfutils-libs - update to 0.190-8
elfutils-libelf-devel - update to 0.190-8
elfutils-libelf - update to 0.190-8
elfutils-help - update to 0.190-8
elfutils-extra - update to 0.190-8
elfutils-debugsource - update to 0.190-8
golang-github-lusitaniae-apache_exporter - update to 1.0.10-1.27.3
golang-github-prometheus-node_exporter - update to 1.9.1-1.39.2
golang-github-boynux-squid_exporter - update to 1.13.0-1.12.2
spacecmd - update to 5.0.15-38.165.2

External References

Related Security Bulletins