CVE-2025-58058 (CNNVD-202508-3292)

MEDIUM
中文标题:
xz 安全漏洞
英文标题:
github.com/ulikunitz/xz leaks memory when decoding a corrupted multiple LZMA archives
CVSS分数: 5.3
发布时间: 2025-08-28 21:54:05
漏洞类型: 其他
状态: PUBLISHED
数据质量分数: 0.30
数据版本: v3
漏洞描述
中文描述:

xz是一个应用软件。用于支持读取和写入xz压缩流。 xz 0.5.14之前版本存在安全漏洞,该漏洞源于LZMA编码字节流头部检测不足,可能导致内存消耗增加。

英文描述:

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.

CWE类型:
CWE-770
标签:
(暂无数据)
受影响产品
厂商 产品 版本 版本范围 平台 CPE
ulikunitz xz < 0.5.14 - - cpe:2.3:a:ulikunitz:xz:<_0.5.14:*:*:*:*:*:*:*
解决方案
中文解决方案:
(暂无数据)
英文解决方案:
(暂无数据)
临时解决方案:
(暂无数据)
参考链接
https://github.com/ulikunitz/xz/security/advisories/GHSA-jc7w-c686-c4v9 x_refsource_CONFIRM
cve.org
访问
https://github.com/ulikunitz/xz/commit/88ddf1d0d98d688db65de034f48960b2760d2ae2 x_refsource_MISC
cve.org
访问
CVSS评分详情
3.1 (cna)
MEDIUM
5.3
CVSS向量: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
机密性
NONE
完整性
NONE
可用性
LOW
时间信息
发布时间:
2025-08-28 21:54:05
修改时间:
2025-08-29 13:23:07
创建时间:
2025-11-11 15:40:45
更新时间:
2025-11-11 16:00:07
利用信息
暂无可利用代码信息
数据源详情
数据源 记录ID 版本 提取时间
CVE cve_CVE-2025-58058 2025-11-11 15:23:30 2025-11-11 07:40:45
NVD nvd_CVE-2025-58058 2025-11-11 15:01:01 2025-11-11 07:48:32
CNNVD cnnvd_CNNVD-202508-3292 2025-11-11 15:12:55 2025-11-11 08:00:07
版本与语言
当前版本: v3
主要语言: EN
支持语言:
EN ZH
安全公告
暂无安全公告信息
变更历史
v3 CNNVD
2025-11-11 16:00:07
vulnerability_type: 未提取 → 其他; cnnvd_id: 未提取 → CNNVD-202508-3292; data_sources: ['cve', 'nvd'] → ['cnnvd', 'cve', 'nvd']
查看详细变更
  • vulnerability_type: 未提取 -> 其他
  • cnnvd_id: 未提取 -> CNNVD-202508-3292
  • data_sources: ['cve', 'nvd'] -> ['cnnvd', 'cve', 'nvd']
v2 NVD
2025-11-11 15:48:32
data_sources: ['cve'] → ['cve', 'nvd']
查看详细变更
  • data_sources: ['cve'] -> ['cve', 'nvd']