CVE-2025-1372GNU elfutils eu-readelf readelf.c print_string_section buffer overflow
A vulnerability was found in GNU elfutils 0.192. It has been declared as critical. Affected by this vulnerability is the function dump_data_section/print_string_section of the file readelf.c of the component eu-readelf. The manipulation of the argument z/x leads to buffer overflow. An attack has to be approached locally. The exploit has been disclosed to the public and may be used. The identifier of the patch is 73db9d2021cab9e23fd734b0a76a612d52a6f1db. It is recommended to apply a patch to fix this issue.
What to do
Fixed builds are available from Ubuntu: see the table below for the fixed version per release.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 24.04 | elfutils | Fixed | 0.190-1.1ubuntu0.1 | UBUNTU-CVE-2025-1372 |
| Ubuntu 22.04 | elfutils | Fixed | 0.186-1ubuntu0.1 | UBUNTU-CVE-2025-1372 |
| Ubuntu 20.04 | elfutils | Not affected vulnerable_code_not_present | ||
| Debian 14 | elfutils | Will not fix Debian rates this unimportant for its packages (a minor issue, or one that doesn't affect Debian's build), so no security update is planned. | DEBIAN-CVE-2025-1372 | |
| Debian 13 | elfutils | Will not fix Debian rates this unimportant for its packages (a minor issue, or one that doesn't affect Debian's build), so no security update is planned. | DEBIAN-CVE-2025-1372 | |
| Debian 12 | elfutils | Will not fix Debian rates this unimportant for its packages (a minor issue, or one that doesn't affect Debian's build), so no security update is planned. | DEBIAN-CVE-2025-1372 | |
| Red Hat Enterprise Linux 10 | elfutils | Not affected | ||
| Red Hat Enterprise Linux 10 | elfutils-debuginfod | Not affected | ||
| Red Hat Enterprise Linux 10 | elfutils-debuginfod-client | Not affected | ||
| Red Hat Enterprise Linux 10 | elfutils-debuginfod-client-devel | Not affected | ||
| Red Hat Enterprise Linux 10 | elfutils-default-yama-scope | Not affected | ||
| Red Hat Enterprise Linux 10 | elfutils-devel | Not affected | ||
| Red Hat Enterprise Linux 10 | elfutils-libelf | Not affected | ||
| Red Hat Enterprise Linux 10 | elfutils-libelf-devel | Not affected | ||
| Red Hat Enterprise Linux 10 | elfutils-libs | Not affected | ||
| Red Hat Enterprise Linux 9 | elfutils | Not affected | ||
| Red Hat Enterprise Linux 9 | elfutils-debuginfod | Not affected | ||
| Red Hat Enterprise Linux 9 | elfutils-debuginfod-client | Not affected | ||
| Red Hat Enterprise Linux 9 | elfutils-debuginfod-client-devel | Not affected | ||
| Red Hat Enterprise Linux 9 | elfutils-default-yama-scope | Not affected | ||
| Red Hat Enterprise Linux 9 | elfutils-devel | Not affected | ||
| Red Hat Enterprise Linux 9 | elfutils-libelf | Not affected | ||
| Red Hat Enterprise Linux 9 | elfutils-libelf-devel | Not affected | ||
| Red Hat Enterprise Linux 9 | elfutils-libs | Not affected | ||
| Red Hat Enterprise Linux 8 | elfutils | Not affected | ||
| Red Hat Enterprise Linux 8 | elfutils-default-yama-scope | Not affected | ||
| Red Hat Enterprise Linux 8 | elfutils-devel | Not affected | ||
| Red Hat Enterprise Linux 8 | elfutils-devel-static | Not affected | ||
| Red Hat Enterprise Linux 8 | elfutils-libelf | Not affected | ||
| Red Hat Enterprise Linux 8 | elfutils-libelf-devel | Not affected | ||
| Red Hat Enterprise Linux 8 | elfutils-libelf-devel-static | Not affected | ||
| Red Hat Enterprise Linux 8 | elfutils-libs | Not affected | ||
| Red Hat Enterprise Linux 7 | elfutils | Not affected | ||
| Red Hat Enterprise Linux 7 | elfutils-default-yama-scope | Not affected | ||
| Red Hat Enterprise Linux 7 | elfutils-devel | Not affected | ||
| Red Hat Enterprise Linux 7 | elfutils-devel-static | Not affected | ||
| Red Hat Enterprise Linux 7 | elfutils-libelf | Not affected | ||
| Red Hat Enterprise Linux 7 | elfutils-libelf-devel | Not affected | ||
| Red Hat Enterprise Linux 7 | elfutils-libelf-devel-static | Not affected | ||
| Red Hat Enterprise Linux 7 | elfutils-libs | Not affected | ||
| Red Hat Enterprise Linux 6 | elfutils | Not affected | ||
| Red Hat Enterprise Linux 6 | elfutils-devel | Not affected | ||
| Red Hat Enterprise Linux 6 | elfutils-devel-static | Not affected | ||
| Red Hat Enterprise Linux 6 | elfutils-libelf | Not affected | ||
| Red Hat Enterprise Linux 6 | elfutils-libelf-devel | Not affected | ||
| Red Hat Enterprise Linux 6 | elfutils-libelf-devel-static | Not affected | ||
| Red Hat Enterprise Linux 6 | elfutils-libs | Not affected |
What the vendor says
As published in the CVE record by VulDB, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- GNU elfutils: affected: 0.192
Vendor advisories:
References
- https://vuldb.com/?id.295981
- https://vuldb.com/?ctiid.295981
- https://vuldb.com/?submit.496485
- https://sourceware.org/bugzilla/show_bug.cgi?id=32656
- https://sourceware.org/bugzilla/show_bug.cgi?id=32657
- https://sourceware.org/bugzilla/attachment.cgi?id=15927
- https://sourceware.org/bugzilla/show_bug.cgi?id=32656#c3
- https://www.gnu.org/
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.