Advisory
UBUNTU-CVE-2026-97036
Also known as: CVE-2026-97036
Summary
The record has no summary.
Details
On Darwin, building a malicious package that uses cgo could cause arbitrary code execution when using the Apple linker due to passing "-l to_library <path>" in a "#cgo LDFLAGS" directive. The Apple linker recombines the separated arguments "-l" and "to_library" into "-lto_library", which loads an arbitrary LTO plugin dynamic library at link time. The go command now disallows "-l" followed by "to_library" in "#cgo LDFLAGS", rejects "-lazy_library", "-lazy_framework", "-load_hidden", "-library", and "-library-path", and checks recombined "-l" arguments against disallowed linker flags and patterns.
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-97036
- https://www.cve.org/CVERecord?id=CVE-2026-97036
- https://groups.google.com/g/golang-announce/c/iY8TY0wWgbM/m/KsU1KfWgAQAJ
- https://github.com/golang/go/issues/82574
- https://github.com/golang/go/commit/0edfcc8731871d158162c4b73efded994fdcc3bc
- https://github.com/golang/go/commit/0e2c832156565cf52d1f5ffb578039f747884d64
- https://go.dev/cl/862149
- https://go.dev/issue/82574
- https://groups.google.com/g/golang-announce/c/iY8TY0wWgbM
- https://pkg.go.dev/vuln/GO-2026-6855
Source
Source: Ubuntu Security Notices · CC BY-SA 4.0