On this page (7 sections)

Ubuntu has published notice USN-9200-1 for elfutils, the GNU toolset for reading and modifying ELF binaries and DWARF debug data. It covers two bugs: CVE-2025-1352 in the readelf tool and CVE-2025-1376 in the strip tool. Both CVE entries were published in February 2025 and both are scored as low severity in the GitHub Advisory Database.

If you run Ubuntu servers, CI runners, build hosts or malware and crash-analysis pipelines that feed files to these tools, this is worth a quick package update. A typical web server that never runs these utilities on outside files has little exposure.

What happened

Ubuntu's notice says elfutils mishandled memory when processing certain malformed DWARF data, and that strip could dereference invalid memory when handling certain sections without data. In both cases Ubuntu describes the trigger as a specially crafted file that a user or an automated system is tricked into processing.

The two entries were published by the National Vulnerability Database on February 16 and 17, 2025, and the GitHub Advisory Database lists them with a last-updated date of June 2, 2026. The Ubuntu notice is dated 2026-11-25 in the research. Because the CVEs date from February 2025, this looks like a distribution update for previously published bugs rather than a new disclosure.

Technical details

CVE-2025-1352: eu-readelf memory corruption

The CVE record places the flaw in the function __libdw_thread_tail in libdw_alloc.c, reached through eu-readelf, and classifies it as CWE-119 (improper restriction of operations within the bounds of a memory buffer). Ubuntu states that an attacker could possibly cause readelf to crash, resulting in denial of service, or execute arbitrary code. The record notes the attack complexity is high and exploitation appears difficult. The upstream bug is tracked at Sourceware bug 32650, and the record names patch commit 2636426a091bd6c6f7f02e49ab20d4cdc6bfc753.

The two sources frame the attack path a little differently. The CVE description says the attack can be initiated remotely, and the CVSS v4 metrics in the GitHub advisory list a network attack vector with passive user interaction. Ubuntu, for its part, describes the trigger as a user or automated system being tricked into running readelf on a crafted file. Treat the file-processing scenario as the practical one to defend against.

CVE-2025-1376: eu-strip denial of service

This one sits in elf_strptr in libelf/elf_strptr.c, reached through eu-strip, and is classified as CWE-404 (improper resource shutdown or release). Ubuntu describes invalid memory being dereferenced when strip handles certain sections without data, leading to a crash. The GitHub advisory lists a local attack vector, low privileges required and low availability impact only. The upstream report is Sourceware bug 32672, and the named patch is b16f441cca0a4841050e3215a9f120a6d8aea918.

The low CVSS scores reflect high attack complexity and the need for a crafted input file. They do not mean the code execution possibility Ubuntu mentions for readelf can be ignored on systems that routinely process untrusted binaries.

Who is realistically exposed

These are command line tools, not network services. A website is not directly attackable through them. Exposure comes from workflows that run them on files an outsider can influence:

  • CI/CD and build servers that inspect or strip binaries from pull requests or third-party packages
  • Malware triage, crash analysis and artifact scanning pipelines
  • Shared developer or hosting machines where users upload ELF files that scripts then inspect
  • Packaging and release jobs that run strip on dependencies you did not build

A compromised build host matters for website owners because it can be a path to tampered deployments, so the fix is cheap insurance even when the severity score looks small.

How to check your exposure

First see whether elfutils is installed and which version your Ubuntu release carries. These are read-only queries; compare the result with the fixed version listed in the Ubuntu notice for your release.

Show installed elfutils package versions (Debian/Ubuntu)Shell
dpkg -l | grep -i elfutils
apt-cache policy elfutils

Then look for automation that calls the affected tools on external input. The following search through a build repository lists scripts that reference them; review each hit for where its input files come from.

Find scripts that call eu-readelf or eu-strip (run from your repository or scripts directory)Shell
grep -rnE 'eu-readelf|eu-strip|readelf|strip ' . 2>/dev/null | head -50

Note that on many systems readelf and strip come from binutils rather than elfutils, so a hit does not by itself mean the vulnerable code is in use. The Ubuntu notice concerns the elfutils implementations.

What to do now

  1. Read USN-9200-1 and note the fixed package version for your Ubuntu release.
  2. Run the version check above on servers, build runners and developer machines.
  3. Update the elfutils packages with your normal patch process.
  4. Rebuild or refresh container images and CI runner images that bundle elfutils.
  5. Stop running readelf or strip on untrusted files outside a sandbox or throwaway container until patched.
  6. Run analysis jobs with a low-privilege account and no access to deployment credentials.

Apply the update through the package manager. Package names and fixed versions depend on your release, so confirm them against the notice.

Caution. Updating packages on a build server while jobs are running can interrupt them. Schedule the update for a quiet window, and rebuild container images rather than patching running containers in place.
Update the elfutils package (Debian/Ubuntu)Shell
sudo apt update
sudo apt install --only-upgrade elfutils
Tip. The research does not list fixed versions or covered Ubuntu releases, so do not assume your release is patched until the package version matches the one in the notice.

Detection and monitoring

The research does not describe what exploitation looks like, so there is no reliable indicator to hunt for. Based on the denial-of-service impact Ubuntu describes, a crash of readelf or strip is one possible sign that a malformed file was processed. Successful code execution, which Ubuntu says is possible for CVE-2025-1352, would not necessarily cause a crash, so the absence of crashes is not evidence that nothing happened.

Watch build and analysis jobs for segmentation faults and unexpected core dumps. The following read-only command searches the kernel log for recent crash messages that mention these tools; run it on the build host and look for matching lines.

Search the kernel log for recent crashes of readelf or strip (run on the build host)Shell
sudo dmesg -T | grep -iE 'segfault|eu-readelf|eu-strip|readelf|strip'

Repeated crashes on a file you did not create deserve a look: keep the file, quarantine it and check who submitted it. Also review what your analysis jobs could reach, such as credentials and deployment keys, since that limits the damage if a tool is ever subverted. For the wider picture, keep a routine of patching hosts and watching your public-facing sites. Webforta offers security scans of verified websites and monitoring for certificate, DNS and header changes, which complement but do not replace patching build infrastructure. Our guide to small business website security covers the basics.

What is unconfirmed

The research does not state fixed upstream versions, the exact Ubuntu releases covered, or whether either bug has been exploited in the wild. Neither CVE appears in CISA KEV, which is not proof that no exploitation has happened. The CVE records say an exploit has been disclosed publicly and may be used, without describing what it does. The GitHub advisories also list affected and patched versions as unknown and carry no package mapping, so rely on the distribution notice for exact package versions.

Sources

This article is based on the public sources below. Details can change as vendors and researchers publish more; check the original advisories before acting on version numbers.

  1. CVE-2025-1352 - GitHub Advisory Databasegithub.com
  2. CVE-2025-1376 - GitHub Advisory Databasegithub.com
  3. USN-9200-1: elfutils vulnerabilitiesubuntu.com ·
  • elfutils
  • Ubuntu
  • USN
  • memory corruption
  • Linux