本文へ移動

#CVE-2026-97042

脆弱性の一覧へ戻る

編集部の見出し:Go のツールチェーン:Windows の cgo でライブラリの指定の確認が抜ける

CVE(NVD)CVSS 8.8 HighEPSS 0.5%

NVD の情報

Building a malicious package that uses "//go:cgo_import_dynamic" or links against a crafted PE object on Windows could pass unsafe library arguments to the external linker. The compiler only checked the first character of the library name in "//go:cgo_import_dynamic" directives and skipped validation in cgo-generated files. In addition, on Windows, "cmd/cgo" and "cmd/link" did not validate imported DLL names extracted from PE object files before emitting "-l<name>" flags for the external linker, allowing a crafted DLL name containing ".." path traversal or special characters to reference arbitrary files on disk. The compiler now validates every character of the library name in "//go:cgo_import_dynamic" directives (including in cgo-generated files on Windows) and rejects ".." path traversal, and "cmd/cgo" and "cmd/link" reject PE imported DLL names containing path separators, "..", ":", or leading "-" or "@".

公開日
2026-11-11
最終更新(NVD)
2026-11-16
NVD の状態
Awaiting Analysis
脆弱性の種類
CWE-88

深刻度(CVSS)

  • 8.8 HighCVSS 3.1/副/評価:134c704f-9b21-4f2e-91b3-4a467353bcc0CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

悪用の状況

CISA KEV には掲載されていません(掲載されていないことは、悪用されていないことの証明ではありません)。

EPSS:今後30日に悪用される推定確率 0.45%(全体の上位 60.0%、評価日 2026-11-18)

解消方法

  • 解消方法の情報なし

「NVD の条件から推定」は、NVD が影響ありとする版の上限から読み取ったもので、修正版とは限りません。「解消方法の情報なし」は、修正が無いという意味ではありません。必ずベンダーの公告で確認してください。

編集部の記載(レポート掲載時)

レポートの編集部がベンダー公告などから転記した内容です。検証済みの値ではないため、必ず出典で確認してください。

2026-11-17 のレポートGo のツールチェーン:Windows の cgo でライブラリの指定の確認が抜ける

第4版の続報。CISA の評価で 8.8。

参照(NVD)

NVD から取得:2026-11-18T19:20:46.908Z/EPSS 評価日:2026-11-18

This product uses the NVD API but is not endorsed or certified by the NVD.

悪用の確認情報は CISA Known Exploited Vulnerabilities Catalog(NVD 経由で取得)によります。EPSS は FIRST(www.first.org/epss)によります。