CVE-2025-31115
CVE-2025-31115 is a high-severity vulnerability with a CVSS 4.0 base score of 8.7. It is not currently listed as actively exploited by CISA, and its EPSS exploit-prediction score is low. The underlying weakness is classified as CWE-366.
Key facts
- Severity: High (CVSS 4.0 base score 8.7)
- EPSS exploit prediction: 1% (47th percentile)
- Actively exploited: Not listed in CISA KEV
- EU (EUVD) id: EUVD-2025-14786
- Weakness: CWE-366
- Published:
- Last modified:
Description
XZ Utils provide a general-purpose data-compression library plus command-line tools. In XZ Utils 5.3.3alpha to 5.8.0, the multithreaded .xz decoder in liblzma has a bug where invalid input can at least result in a crash. The effects include heap use after free and writing to an address based on the null pointer plus an offset. Applications and libraries that use the lzma_stream_decoder_mt function are affected. The bug has been fixed in XZ Utils 5.8.1, and the fix has been committed to the v5.4, v5.6, v5.8, and master branches in the xz Git repository. No new release packages will be made from the old stable branches, but a standalone patch is available that applies to all affected releases.
Frequently asked questions
- What is CVE-2025-31115?
- XZ Utils provide a general-purpose data-compression library plus command-line tools. In XZ Utils 5.3.3alpha to 5.8.0, the multithreaded .xz decoder in liblzma has a bug where invalid input can at least result in a crash. The effects include heap use after free and writing to an address based on the null pointer plus an offset. Applications and libraries that use the lzma_stream_decoder_mt function are affected. The bug has been fixed in XZ Utils 5.8.1, and the fix has been committed to the v5.4, v5.6, v5.8, and master branches in the xz Git repository. No new release packages will be made from the old stable branches, but a standalone patch is available that applies to all affected releases.
- How severe is CVE-2025-31115?
- CVE-2025-31115 has a CVSS 4.0 base score of 8.7, rated high severity.
- Is CVE-2025-31115 being actively exploited?
- It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 1% (47th percentile), an estimate of the probability of exploitation in the next 30 days.
- How do I fix CVE-2025-31115?
- Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround. Given its high severity, prioritise patching exposed systems.
- Does CVE-2025-31115 have an EU (EUVD) identifier?
- Yes. CVE-2025-31115 is tracked in the ENISA EU Vulnerability Database (EUVD) as EUVD-2025-14786.
- When was CVE-2025-31115 published?
- CVE-2025-31115 was published on 2025-04-03 and last updated on 2026-06-17.
References
- https://github.com/tukaani-project/xz/commit/d5a2ffe41bb77b918a8c96084885d4dbe4bf6480
- https://github.com/tukaani-project/xz/security/advisories/GHSA-6cc8-p5mm-29w2
- https://tukaani.org/xz/xz-cve-2025-31115.patch
- http://www.openwall.com/lists/oss-security/2025/04/03/1
- http://www.openwall.com/lists/oss-security/2025/04/03/2
- http://www.openwall.com/lists/oss-security/2025/04/03/3
- https://cert-portal.siemens.com/productcert/html/ssa-082556.html
Other CWE-366 vulnerabilities
- CVE-2025-58143 — Critical (CVSS 9.8): [This CNA information record relates to multiple CVEs; the text explains which aspects/vulnerabilities correspond to…
- CVE-2026-46181 — High (CVSS 7.8): In the Linux kernel, the following vulnerability has been resolved: RDMA/mlx4: Fix mis-use of RCU in…
- CVE-2024-10630 — High (CVSS 7.8): A race condition in Ivanti Application Control Engine before version 10.14.4.0 allows a local authenticated attacker to…
- CVE-2023-6546 — High (CVSS 7.0): A race condition was found in the GSM 0710 tty multiplexor in the Linux kernel. This issue occurs when two threads…
- CVE-2026-3904 — Medium (CVSS 6.2): Calling NSS-backed functions that support caching via nscd may call the nscd client side code and in the GNU C Library…
- CVE-2026-22819 — Medium (CVSS 5.9): Outray openSource ngrok alternative. Prior to 0.1.5, this vulnerability allows a user i.e a free plan user to get more…