CVE-2025-58058 | github.com/ulikunitz/xz leaks memory when decoding a corrupted multiple LZMA archives

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.

公開: 2025-08-28 最終更新: 2026-06-17 Assigner: [email protected] ソース: [email protected]

総合評価: CVE-2025-58058 は低リスク(32.1/100)。CVSS 深刻度は中。悪用される可能性が高い(EPSS 0.39%、30 パーセンタイル) 推奨対応: 悪用情報と EPSS の推移を監視し、必要に応じて優先度を見直してください。

リスクは変動します。再評価に基づき、本ページの表示内容を更新しています。

CVE-2025-58058 の EPSS(Exploit Prediction Scoring System)スコア

EPSS は日次で悪用されやすさの相対度合いを推定します。パーセンタイルは採点済み CVE の中での相対位置(高いほど相対的に深刻)を示します。

# 日付 旧 EPSS スコア 新 EPSS スコア Δ(新 − 旧)
1 2026-06-15 0.03% 0.39% +0.36%
2 2026-05-22 0.05% 0.03% -0.03%
3 2026-01-29 0.05%

EPSS の全履歴 (全 6 件)

CVE-2025-58058 の CVSS(Common Vulnerability Scoring System)指標

この CVE の CVSS 指標。

ベーススコア バージョン 深刻度 ベクトル 悪用しやすさ 影響 スコアの出典
5.3 3.1 MEDIUM
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L クリックして展開
攻撃ベクター (AV:N)
インターネットなど、ルーティングされたネットワーク越しに遠隔から悪用しうる。端末の前にいる必要はない。
攻撃の複雑さ (AC:L)
攻撃者が条件を満たせば、レース条件や珍しい構成に依存せずに再現しやすい。
必要な権限 (PR:N)
事前のログインや昇格は不要で、匿名アクセスのまま踏み台にしうる。
ユーザーの関与 (UI:N)
メールのリンクを開く、マクロを有効にするなど、被害者の協力がなくても成立しうる。
スコープ (S:U)
影響は脆弱コンポーネントと同一のセキュリティ権限・信頼境界の内側に収まる。
機密性への影響 (C:N)
機微情報の漏えいは想定しにくい。
完全性への影響 (I:N)
改ざん・なりすましによる信頼毀損は軽微か、想定されない。
可用性への影響 (A:L)
遅延や一部機能の停止、断続的な障害など、運用で吸収しうる範囲。
3.9 1.4 [email protected]

CVE-2025-58058 の弱点分類(列挙)

CVE-2025-58058 の GitHub Security Advisory

GHSA-jc7w-c686-c4v9 · 深刻度: medium · エコシステム: go — github.com/ulikunitz/xz leaks memory when decoding a corrupted multiple LZMA archives

CVE-2025-58058 の OS トラッカー

vendor priority summary link
debian not yet assigned CVE-2025-58058 not yet assigned priority: Debian including 1 source packages (golang-github-ulikunitz-xz), 5 status rows across 5 suites (bookworm, bullseye, forky, sid, trixie): open 3, resolved 2. https://security-tracker.debian.org/tracker/CVE-2025-58058
redhat medium https://access.redhat.com/security/cve/CVE-2025-58058
suse medium CVE-2025-58058 severity moderate: SUSE including 78 source package names (1.1.0-1.1:trivy-0.67.2-150000.1.6.1, 2.2.1-5.22:libaudit1-3.1.1-slfo.1.1_2.1, …), 355 product×package rows across 91 product lines (Container private-registry/harbor-trivy-adapter, Container suse/sl-micro/6.0/baremetal-os-container, … (91 product lines)): Known Not Affected 180, Fixed 174, First Fixed 1. https://www.suse.com/security/cve/CVE-2025-58058/
ubuntu medium CVE-2025-58058 medium priority: Ubuntu including 1 source packages (golang-github-ulikunitz-xz), 6 status rows across 6 suites (focal, jammy, noble, plucky, questing, upstream): needs-triage 5, ignored 1. https://ubuntu.com/security/CVE-2025-58058

CVE-2025-58058 の影響を受けるソフトウェア/構成

ベンダー 製品 バージョン 生の CPE
データセットに影響を受ける製品はありません。

CVE-2025-58058 の参考情報

cvelogic Threat Intelligence