cve-ja
← 新着
CVE

認証なしで、細工したパッケージのビルド時に不正なリンカ設定を注入されるおそれ。

コード・インジェクション。対象は cmd/go(1.26.11 未満・1.27.4 未満)。

CVE-2026-97040要確認

一言・影響を受ける人・対策は AI(sonnet)が元の説明文から作成。版の番号などは元の文と機械で照合した。対応の前に元の告知を確かめてほしい。誤りに気づいたら運営者へ。

CVSS
9.8
Critical
CISA
悪用
未確認
CISA の一覧には無い
PoC
見つかっていない
11/19 時点
修正
修正版あり
1.26.11・1.27.4 以降
国内
まだ無い
同じ CVE 番号の記事を待っている
まずやること:Go を 1.26.11 または 1.27.4 以降に更新する
公開
2026年11月11日
最終更新
2026年11月11日
優先度の理由
重大(PoC 未公開)
最終確認
2026年11月19日
EPSS
0.63%
PoC
見つかっていない
攻撃の条件
ネット越し・ログイン不要・相手の操作は要らない
国内
まだ無い

概要

認証なしで、細工したパッケージのビルド時に不正なリンカ設定を注入されるおそれ。

元の説明(英語)を読む

Building a package containing a crafted ".syso" file could bypass cgo flag validation and inject arbitrary linker flags when linking. When loading ".syso" entries from a package archive, the linker only checked for recognized host object headers (ELF, Mach-O, PE, and XCOFF) before falling through to Go object parsing. A ".syso" file beginning with a "go object" header was parsed as a Go compiler object, allowing untrusted cgo metadata directives (such as "cgo_ldflag" or "cgo_dynamic_linker") embedded in the ".syso" file to be passed to the external linker without validation. Additionally, ".syso" filenames longer than 16 bytes lost their ".syso" extension when truncated in archive headers, and unrecognized ".syso" formats forced external linking in pure-Go builds. The linker now rejects ".syso" files that are not recognized host object formats, and "cmd/go" and "cmd/pack" preserve the ".syso" suffix when truncating long archive member names.

影響を受ける人

Go で外部パッケージをビルドする開発者

対策

  • Go を 1.26.11 または 1.27.4 以降に更新する

国内の動き

本文に同じ CVE 番号のある国内の注意喚起・報道は、まだ無い。

海外の動き

本文に同じ CVE 番号のある海外の注意喚起・報道は、まだ無い。

PoC

公開されている PoC は、まだ見つかっていない。

経過

2026年11月11日・一次情報
脆弱性が公開された

影響する版

Go toolchain cmd/go1.26.11 未満が対象(1.26.11 で修正)・1.27.4 未満が対象(1.27.4 で修正)
Go toolchain cmd/link1.26.11 未満が対象(1.26.11 で修正)・1.27.4 未満が対象(1.27.4 で修正)