Red Hat Security Advisory: Red Hat Hardened Images RPMs bug fix and enhancement update
🔗 CVE IDs covered (10)
📋 Description
CVE-2026-97033 — cmd/go: golang: cmd/go: Arbitrary code execution via unsafe cgo compiler and linker flags CVE-2026-97034 — cmd/go: golang: cmd/go: arbitrary command execution via untrusted GCC spec files CVE-2026-97035 — cmd/go: golang: cmd/go: arbitrary code execution via crafted cgo directives CVE-2026-97037 — cmd/go: golang: cmd/go: arbitrary code execution via malicious cgo linker flags CVE-2026-97038 — cmd/go: golang: cmd/go: Arbitrary code execution via crafted linker inputs CVE-2026-97039 — cmd/go: golang: cmd/go: arbitrary code execution via crafted pkg-config directives CVE-2026-97040 — cmd/go: cmd/link: golang: golang: Arbitrary code execution via crafted .syso files CVE-2026-97041 — cmd/compile: cmd/link: golang: golang: Arbitrary code execution via external linker flag injection CVE-2026-97043 — cmd/go: cmd/compile: golang: golang: arbitrary code execution via crafted cgo compiler directives CVE-2026-97054 — net/http: golang: net/http: Denial of Service via race condition when handling oversized HTTP/1 requests
🎯 Affected products20
- Red Hat Hardened Images
- golang1.26-0:1.26.11-0.1.hum1@aarch64 as a component of Red Hat Hardened Images
- golang1.26-0:1.26.11-0.1.hum1@s390x as a component of Red Hat Hardened Images
- golang1.26-0:1.26.11-0.1.hum1@src as a component of Red Hat Hardened Images
- golang1.26-0:1.26.11-0.1.hum1@x86_64 as a component of Red Hat Hardened Images
- golang1.26-bin-0:1.26.11-0.1.hum1@aarch64 as a component of Red Hat Hardened Images
- golang1.26-bin-0:1.26.11-0.1.hum1@s390x as a component of Red Hat Hardened Images
- golang1.26-bin-0:1.26.11-0.1.hum1@x86_64 as a component of Red Hat Hardened Images
- golang1.26-docs-0:1.26.11-0.1.hum1@noarch@public-hummingbird-aarch64-rpms as a component of Red Hat Hardened Images
- golang1.26-docs-0:1.26.11-0.1.hum1@noarch@public-hummingbird-s390x-rpms as a component of Red Hat Hardened Images
- golang1.26-docs-0:1.26.11-0.1.hum1@noarch@public-hummingbird-x86_64-rpms as a component of Red Hat Hardened Images
- golang1.26-misc-0:1.26.11-0.1.hum1@noarch@public-hummingbird-aarch64-rpms as a component of Red Hat Hardened Images
- golang1.26-misc-0:1.26.11-0.1.hum1@noarch@public-hummingbird-s390x-rpms as a component of Red Hat Hardened Images
- golang1.26-misc-0:1.26.11-0.1.hum1@noarch@public-hummingbird-x86_64-rpms as a component of Red Hat Hardened Images
- golang1.26-src-0:1.26.11-0.1.hum1@noarch@public-hummingbird-aarch64-rpms as a component of Red Hat Hardened Images
- golang1.26-src-0:1.26.11-0.1.hum1@noarch@public-hummingbird-s390x-rpms as a component of Red Hat Hardened Images
- golang1.26-src-0:1.26.11-0.1.hum1@noarch@public-hummingbird-x86_64-rpms as a component of Red Hat Hardened Images
- golang1.26-tests-0:1.26.11-0.1.hum1@noarch@public-hummingbird-aarch64-rpms as a component of Red Hat Hardened Images
- golang1.26-tests-0:1.26.11-0.1.hum1@noarch@public-hummingbird-s390x-rpms as a component of Red Hat Hardened Images
- golang1.26-tests-0:1.26.11-0.1.hum1@noarch@public-hummingbird-x86_64-rpms as a component of Red Hat Hardened Images
✅ Remediation
For details on how to apply this update, which includes the changes described in this advisory, refer to: https://images.redhat.com/ Workaround: Disable cgo support during compilation to prevent processing unsafe compiler and linker directives: ``` export CGO_ENABLED=0 ``` Caveat: Disabling cgo causes builds of packages that strictly depend on C language bindings to fail. Where cgo is required, execute builds within isolated, unprivileged containers and avoid compiling untrusted third-party Go sources. Workaround: Disable cgo support in environments where native C dependencies are not required. Set the CGO_ENABLED environment variable before invoking the Go toolchain: export CGO_ENABLED=0 Caveat: Disabling cgo prevents the compilation of Go packages that rely on native C code or external C libraries. For builds that strictly require cgo, isolate the build process within an unprivileged container or sandbox, and avoid building untrusted source repositories. Workaround: Disable cgo during compilation by setting the `CGO_ENABLED` environment variable: ``` export CGO_ENABLED=0 ``` Caveats: Go packages and applications that require native C bindings will fail to compile while cgo is disabled. If cgo is strictly required, isolate build workflows within unprivileged, ephemeral containers or sandboxes and avoid compiling unverified third-party code. Workaround: Disable cgo support by setting the environment variable `CGO_ENABLED=0` before compiling Go code, or isolate build environments processing untrusted dependencies within a sandboxed container. To disable cgo in the environment: ``` export CGO_ENABLED=0 ``` Caveats: Setting `CGO_ENABLED=0` will cause build failures for any Go applications or modules that strictly depend on C language bindings or native C libraries. In environments where cgo is strictly required, avoid compiling untrusted Go source packages or isolate the build process inside a restricted, unprivileged container with no access to sensitive host directories or network resources. Workaround: Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base, or stability. Workaround: Disable cgo by setting the `CGO_ENABLED` environment variable before executing build commands: export CGO_ENABLED=0 Caveats: This setting prevents the compilation of any Go packages that require cgo or link against native C libraries. Alternatively, build untrusted Go source code exclusively within isolated containers or sandboxed environments to prevent compromise of the host system.
🔗 References (14)
- selfhttps://access.redhat.com/errata/RHSA-2026:99004
- externalhttps://images.redhat.com/
- externalhttps://access.redhat.com/security/cve/CVE-2026-97037
- externalhttps://access.redhat.com/security/updates/classification/
- externalhttps://access.redhat.com/security/cve/CVE-2026-97040
- externalhttps://access.redhat.com/security/cve/CVE-2026-97033
- externalhttps://access.redhat.com/security/cve/CVE-2026-97039
- externalhttps://access.redhat.com/security/cve/CVE-2026-97038
- externalhttps://access.redhat.com/security/cve/CVE-2026-97041
- externalhttps://access.redhat.com/security/cve/CVE-2026-97043
- externalhttps://access.redhat.com/security/cve/CVE-2026-97035
- externalhttps://access.redhat.com/security/cve/CVE-2026-97034
- externalhttps://access.redhat.com/security/cve/CVE-2026-97054
- selfhttps://security.access.redhat.com/data/csaf/v2/advisories/2026/rhsa-2026_99004.json