Lucene search
+L

26 matches found

Vulnrichment
Vulnrichment
•added 2026/11/11 3:13 a.m.•7 views

CVE-2026-97040 Cgo directive injection via .syso files disguised as Go object files in cmd/go and cmd/link

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 t...

6.1AI score0.00799EPSS
SaveExploits0References4
Cvelist
Cvelist
•added 2026/11/11 3:13 a.m.•42 views

CVE-2026-97040 Cgo directive injection via .syso files disguised as Go object files in cmd/go and cmd/link

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 t...

0.00799EPSS
SaveExploits0References4
CVE
CVE
•added 2026/11/11 3:13 a.m.•86 views

CVE-2026-97040

The Go toolchain (cmd/go , cmd/link ) is vulnerable to cgo directive injection via .syso files. The root cause is that the linker only validated recognized host object headers before falling through to Go object parsing, allowing untrusted cgo metadata (e.g., cgo_ldflag or cgo_dynamic_linker) in ...

9.8CVSS6.1AI score0.00799EPSS
SaveExploits0References4
osv_go
osv_go
•added 2026/11/11 2:51 a.m.•17 views

GO-2026-6851 Cgo directive injection via .syso files disguised as Go object files in cmd/go and cmd/link

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 t...

9.8CVSS6.1AI score0.00799EPSS
SaveExploits0References3
RedHat Linux
RedHat Linux
•added 2026/04/13 5:44 p.m.•33 views

cmd/go: cmd/go: Arbitrary file write via malicious pkg-config directive

A flaw was found in cmd/go. An attacker can exploit this by building a malicious Go source file that uses the 'cgo pkg-config:' directive. This allows the attacker to write to an arbitrary file with partial control over its content, by providing a '--log-file' argument to the pkg-config command...

8.6CVSS6.6AI score0.00487EPSS
SaveExploits0References8
RedHat Linux
RedHat Linux
•added 2026/04/13 10:25 a.m.•29 views

cmd/go: cmd/go: Arbitrary file write via malicious pkg-config directive

A flaw was found in cmd/go. An attacker can exploit this by building a malicious Go source file that uses the 'cgo pkg-config:' directive. This allows the attacker to write to an arbitrary file with partial control over its content, by providing a '--log-file' argument to the pkg-config command...

8.6CVSS6.6AI score0.00487EPSS
SaveExploits0References8
RedHat Linux
RedHat Linux
•added 2026/04/08 12:41 a.m.•34 views

cmd/go: cmd/go: Arbitrary file write via malicious pkg-config directive

A flaw was found in cmd/go. An attacker can exploit this by building a malicious Go source file that uses the 'cgo pkg-config:' directive. This allows the attacker to write to an arbitrary file with partial control over its content, by providing a '--log-file' argument to the pkg-config command...

8.6CVSS6.6AI score0.00487EPSS
SaveExploits0References8
osv_clsa
osv_clsa
•added 2026/04/01 10:47 a.m.•79 views

CLSA-2026-1775040432 golang: Fix of CVE-2025-61731

CVE-2025-61731: fix pkg-config --log-file argument injection via cgo pkg-config directive...

8.6CVSS7.4AI score0.00487EPSS
SaveExploits0References1
RedhatCVE
RedhatCVE
•added 2026/02/04 6:09 p.m.•22 views

CVE-2025-61731

A flaw was found in cmd/go. An attacker can exploit this by building a malicious Go source file that uses the 'cgo pkg-config:' directive. This allows the attacker to write to an arbitrary file with partial control over its content, by providing a '--log-file' argument to the pkg-config command...

8.6CVSS5.3AI score0.00487EPSS
SaveExploits0References7
osv_bit
osv_bit
•added 2026/01/31 8:43 a.m.•19 views

BIT-GOLANG-2025-61731 Arbitrary file write using cgo pkg-config directive in cmd/go

Building a malicious file with cmd/go can cause can cause a write to an attacker-controlled file with partial control of the file content. The "cgo pkg-config:" directive in a Go source file provides command-line arguments to provide to the Go pkg-config command. An attacker can provide a...

8.6CVSS7.4AI score0.00487EPSS
SaveExploits0References41
NVD
NVD
•added 2026/01/28 8:16 p.m.•58 views

CVE-2025-61731

Building a malicious file with cmd/go can cause can cause a write to an attacker-controlled file with partial control of the file content. The "cgo pkg-config:" directive in a Go source file provides command-line arguments to provide to the Go pkg-config command. An attacker can provide a...

8.6CVSS0.00487EPSS
SaveExploits0References38
osv_ubuntu
osv_ubuntu
•added 2026/01/28 8:16 p.m.•41 views

UBUNTU-CVE-2025-61731

Building a malicious file with cmd/go can cause can cause a write to an attacker-controlled file with partial control of the file content. The "cgo pkg-config:" directive in a Go source file provides command-line arguments to provide to the Go pkg-config command. An attacker can provide a...

8.6CVSS6.6AI score0.00487EPSS
SaveExploits0References4
CVE
CVE
•added 2026/01/28 7:30 p.m.•171 views

CVE-2025-61731

The Go Toolset (Golang) is vulnerable to an arbitrary file write via the #cgo pkg-config: directive in Go source files. An attacker can provide a --log-file argument to this directive, which is passed to the pkg-config command, causing it to write to an attacker-controlled location. This issue af...

8.6CVSS7.3AI score0.00487EPSS
SaveExploits0References38Affected Software1
EUVD
EUVD
•added 2026/01/28 7:30 p.m.•23 views

EUVD-2025-206447

Building a malicious file with cmd/go can cause can cause a write to an attacker-controlled file with partial control of the file content. The "cgo pkg-config:" directive in a Go source file provides command-line arguments to provide to the Go pkg-config command. An attacker can provide a...

7.8CVSS5.9AI score0.00487EPSS
SaveExploits0References4
Cvelist
Cvelist
•added 2026/01/28 7:30 p.m.•81 views

CVE-2025-61731 Arbitrary file write using cgo pkg-config directive in cmd/go

Building a malicious file with cmd/go can cause can cause a write to an attacker-controlled file with partial control of the file content. The "cgo pkg-config:" directive in a Go source file provides command-line arguments to provide to the Go pkg-config command. An attacker can provide a...

0.00487EPSS
SaveExploits0References4
AlpineLinux
AlpineLinux
•added 2026/01/28 7:30 p.m.•28 views

CVE-2025-61731

Building a malicious file with cmd/go can cause can cause a write to an attacker-controlled file with partial control of the file content. The "cgo pkg-config:" directive in a Go source file provides command-line arguments to provide to the Go pkg-config command. An attacker can provide a...

8.6CVSS6.5AI score0.00487EPSS
SaveExploits0
osv_go
osv_go
•added 2026/01/28 7:07 p.m.•30 views

GO-2026-4339 Arbitrary file write using cgo pkg-config directive in cmd/go

Building a malicious file with cmd/go can cause can cause a write to an attacker-controlled file with partial control of the file content. The "cgo pkg-config:" directive in a Go source file provides command-line arguments to provide to the Go pkg-config command. An attacker can provide a...

8.6CVSS7.4AI score0.00487EPSS
SaveExploits0References3
EUVD
EUVD
•added 2025/10/07 12:30 a.m.•19 views

EUVD-2020-20826

Malware in sbrugna...

7.5CVSS7.4AI score0.02405EPSS
SaveExploits0References16
Vulnrichment
Vulnrichment
•added 2025/02/06 5:09 p.m.•19 views

CVE-2025-22867 Arbitrary code execution during build on darwin in cmd/go

On Darwin, building a Go module which contains CGO can trigger arbitrary code execution when using the Apple version of ld, due to usage of the @executablepath, @loaderpath, or @rpath special values in a "cgo LDFLAGS" directive. This issue only affected go1.24rc2...

7.5AI score0.01079EPSS
SaveExploits0References4
CVE
CVE
•added 2025/02/06 5:09 p.m.•123 views

CVE-2025-22867

Building a Go module containing CGO on Darwin can lead to arbitrary code execution when utilizing the Apple version of ld . This vulnerability is caused by the use of special values such as @executable_path, @loader_path, or @rpath within a "#cgo LDFLAGS" directive. The issue specifically affecte...

7.5CVSS7.5AI score0.01079EPSS
SaveExploits0References4
Rows per page
Query Builder