Advisory
UBUNTU-CVE-2026-97038
Also known as: CVE-2026-97038
Summary
The record has no summary.
Details
Building a malicious package containing ".syso" files or cgo linker inputs could inject arbitrary linker flags or execute arbitrary code at link time. Linker input files—including ".syso" files, direct object or library inputs in "#cgo LDFLAGS", and libraries in "-L" directories—were passed to the external linker without validating their format or checking for embedded linker options. Across platforms, this allowed executing GNU ld implicit linker scripts disguised as libraries or ".syso" files (or loaded via "-l:<filename>" or "-l" containing path separators), injecting unallowlisted linker flags via PE/COFF ".drectve" sections on Windows or Mach-O "LC_LINKER_OPTION" load commands on Darwin, or invoking LTO plugins via GCC or LLVM LTO intermediate representation sections in ELF, PE/COFF, or Mach-O objects. The go command now verifies that ".syso" files, direct linker inputs, and libraries in "-L" directories are valid binary objects or archives that do not contain unallowlisted ".drectve" directives, "LC_LINKER_OPTION" load commands, or LTO IR sections, and disallows "-l:<filename>" and ":", "=", or path separators in "-l" flags.
Severity
Not rated by the source.
Dates
- Published
- 2026-11-12 00:00 UTC
- Modified
- 2026-11-12 23:49 UTC
Affected packages and fixes
| Package | System | Fix |
|---|---|---|
| golang-1.10 | Debian packages (deb) · Ubuntu 14.04 | No fixed version is listed. |
| golang-1.10 | Debian packages (deb) · Ubuntu 16.04 | No fixed version is listed. |
| golang-1.6 | Debian packages (deb) · Ubuntu 16.04 | No fixed version is listed. |
| golang-1.10 | Debian packages (deb) · Ubuntu 18.04 | No fixed version is listed. |
| golang-1.8 | Debian packages (deb) · Ubuntu 18.04 | No fixed version is listed. |
| golang-1.9 | Debian packages (deb) · Ubuntu 18.04 | No fixed version is listed. |
| golang-1.13 | Debian packages (deb) · Ubuntu 20.04 | No fixed version is listed. |
| golang-1.14 | Debian packages (deb) · Ubuntu 20.04 | No fixed version is listed. |
| golang-1.18 | Debian packages (deb) · Ubuntu 20.04 | No fixed version is listed. |
| golang-1.20 | Debian packages (deb) · Ubuntu 20.04 | No fixed version is listed. |
| golang-1.21 | Debian packages (deb) · Ubuntu 20.04 | No fixed version is listed. |
| golang-1.22 | Debian packages (deb) · Ubuntu 20.04 | No fixed version is listed. |
| golang-1.17 | Debian packages (deb) · Ubuntu 22.04 | No fixed version is listed. |
| golang-1.18 | Debian packages (deb) · Ubuntu 22.04 | No fixed version is listed. |
| golang-1.20 | Debian packages (deb) · Ubuntu 22.04 | No fixed version is listed. |
| golang-1.21 | Debian packages (deb) · Ubuntu 22.04 | No fixed version is listed. |
| golang-1.22 | Debian packages (deb) · Ubuntu 22.04 | No fixed version is listed. |
| golang-1.23 | Debian packages (deb) · Ubuntu 22.04 | No fixed version is listed. |
| golang-1.24 | Debian packages (deb) · Ubuntu 22.04 | No fixed version is listed. |
| golang-1.25 | Debian packages (deb) · Ubuntu 22.04 | No fixed version is listed. |
| golang-1.26 | Debian packages (deb) · Ubuntu 22.04 | No fixed version is listed. |
| golang-1.21 | Debian packages (deb) · Ubuntu 24.04 | No fixed version is listed. |
| golang-1.22 | Debian packages (deb) · Ubuntu 24.04 | No fixed version is listed. |
| golang-1.23 | Debian packages (deb) · Ubuntu 24.04 | No fixed version is listed. |
| golang-1.24 | Debian packages (deb) · Ubuntu 24.04 | No fixed version is listed. |
| golang-1.25 | Debian packages (deb) · Ubuntu 24.04 | No fixed version is listed. |
| golang-1.26 | Debian packages (deb) · Ubuntu 24.04 | No fixed version is listed. |
| golang-1.26 | Debian packages (deb) · Ubuntu 26.10 | No fixed version is listed. |
| golang-1.27 | Debian packages (deb) · Ubuntu 26.10 | No fixed version is listed. |
| golang-1.23 | Debian packages (deb) · Ubuntu 26.04 | No fixed version is listed. |
| golang-1.24 | Debian packages (deb) · Ubuntu 26.04 | No fixed version is listed. |
| golang-1.25 | Debian packages (deb) · Ubuntu 26.04 | No fixed version is listed. |
| golang-1.26 | Debian packages (deb) · Ubuntu 26.04 | No fixed version is listed. |
Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Links
- https://ubuntu.com/security/CVE-2026-97038
- https://www.cve.org/CVERecord?id=CVE-2026-97038
- https://groups.google.com/g/golang-announce/c/iY8TY0wWgbM/m/KsU1KfWgAQAJ
- https://github.com/golang/go/issues/82572
- https://github.com/golang/go/commit/51dadca52c3698bb8b3dc9ea83d86a26eec71da4
- https://github.com/golang/go/commit/1fa5bc200a8d16b77867cd8688d4b4902368f0f9
- https://go.dev/cl/862151
- https://go.dev/issue/82572
- https://groups.google.com/g/golang-announce/c/iY8TY0wWgbM
- https://pkg.go.dev/vuln/GO-2026-6853
Source
Source: Ubuntu Security Notices · CC BY-SA 4.0