CVE-2025-58058
Last modified
CVE-2025-58058 is a medium-severity vulnerability rated 5.3/10 on the CVSS scale. xz is a pure golang package for reading and writing xz-compressed files. Prior to version 0.5.14, it is possible to put data in front of an LZMA-encoded byte stream without detecting the situation while reading the header. EPSS estimates a 0.39% chance of exploitation in the next 30 days.
Description
xz is a pure golang package for reading and writing xz-compressed files. Prior to version 0.5.14, it is possible to put data in front of an LZMA-encoded byte stream without detecting the situation while reading the header. This can lead to increased memory consumption because the current implementation allocates the full decoding buffer directly after reading the header. The LZMA header doesn't include a magic number or has a checksum to detect such an issue according to the specification. Note that the code recognizes the issue later while reading the stream, but at this time the memory allocation has already been done. This issue has been patched in version 0.5.14.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
Weakness Enumeration
References
Timeline
- Published
- Last Modified
- Status
- Deferred
Frequently Asked Questions
What is CVE-2025-58058?
How severe is CVE-2025-58058?
How do I fix CVE-2025-58058?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2025
- CVE-2025-58052Galette is a membership management web application for non p…8.1
- CVE-2025-58053Galette is a membership management web application for non p…9.8
- CVE-2025-58054Discourse is an open-source community discussion platform. V…5.4
- CVE-2025-58055Discourse is an open-source community discussion platform. I…4.3
- CVE-2025-58056Netty is an asynchronous event-driven network application fr…7.5
- CVE-2025-58057Netty is an asynchronous event-driven network application fr…7.5
- CVE-2025-58059Valtimo is a platform for Business Process Automation. In ve…9.1
- CVE-2025-5806Jenkins Gatling Plugin 136.vb_9009b_3d33a_e serves Gatling r…8
- CVE-2025-58060OpenPrinting CUPS is an open source printing system for Linu…8
- CVE-2025-58061OpenEBS Local PV RawFile allows dynamic deployment of Statef…5.5
- CVE-2025-58062LSTM-Kirigaya's openmcp-client is a vscode plugin for mcp de…7.3
- CVE-2025-58063CoreDNS is a DNS server that chains plugins. Starting in ver…7.1
Are you affected by CVE-2025-58058?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
