Import Source
https://github.com/microsoft/AzureLinuxVulnerabilityData/blob/main/osv/AZL-66759.json
JSON Data
https://api.test.osv.dev/v1/vulns/AZL-66759
Upstream
Published
2025-08-28T22:15:32Z
Modified
2026-04-01T05:21:02.996935Z
Summary
CVE-2025-58058 affecting package packer for versions less than 1.9.5-10
Details

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.

References

Affected packages

Azure Linux:3 / packer

Package

Name
packer
Purl
pkg:rpm/azure-linux/packer

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.9.5-10

Database specific

source
"https://github.com/microsoft/AzureLinuxVulnerabilityData/blob/main/osv/AZL-66759.json"