Description
Due to unsanitized NUL values, attackers may be able to maliciously set environment variables on Windows. In syscall.StartProcess and os/exec.Cmd, invalid environment variable values containing NUL values are not properly checked for. A malicious environment variable value can exploit this behavior to set a value for a different environment variable. For example, the environment variable string "A=B\x00C=D" sets the variables "A=B" and "C=D".
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| Go standard library | syscall | < 1.18.8, 1.19.0-0 – < 1.19.3 | 1.18.8 |
| Go standard library | os/exec | < 1.18.8, 1.19.0-0 – < 1.19.3 | 1.18.8 |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 12 | golang-1.19 | 1.19.3-1 | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 22.04 LTS | golang-1.17 +2 | No fix yet | — |
| Ubuntu 20.04 LTS | golang-1.13 +3 | No fix yet | — |
| Ubuntu 18.04 LTS | golang-1.8 +2 | No fix yet | — |
| Ubuntu 16.04 LTS | golang-1.6 +1 | No fix yet | — |
| Ubuntu 14.04 LTS | golang-1.10 | No fix yet | — |
Show 4 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu Pro 22.04 LTS | golang-1.13 | No fix yet | — |
| Ubuntu Pro 20.04 LTS | golang-1.16 | No fix yet | — |
| Ubuntu Pro 18.04 LTS | golang-1.13 +2 | No fix yet | — |
| Ubuntu Pro 16.04 LTS | golang-1.13 +1 | No fix yet | — |
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES 15 SP4 | go1.18 | 1.18.8-150000.1.37.1 | SUSE-SU-2022:4055-1 |
| SLES 15 SP4 | go1.18-openssl | 1.18.10.1-150000.1.9.1 | SUSE-SU-2023:2312-1 |
| SLES 15 SP4 | go1.19 | 1.19.3-150000.1.15.1 | SUSE-SU-2022:4054-1 |
| SLES 15 SP3 | go1.18 | 1.18.8-150000.1.37.1 | SUSE-SU-2022:4055-1 |
| SLES 15 SP3 | go1.18-openssl | 1.18.10.1-150000.1.9.1 | SUSE-SU-2023:2312-1 |
| SLES 15 SP3 | go1.19 | 1.19.3-150000.1.15.1 | SUSE-SU-2022:4054-1 |
Show 4 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES for SAP 15 SP3 | go1.18-openssl | 1.18.10.1-150000.1.9.1 | SUSE-SU-2023:2312-1 |
| SLE Real Time 15 SP3 | go1.18-openssl | 1.18.10.1-150000.1.9.1 | SUSE-SU-2023:2312-1 |
| SLE HPC 15 SP3 | go1.18-openssl | 1.18.10.1-150000.1.9.1 | SUSE-SU-2023:2312-1 |
| SUSE Enterprise Storage 7.1 | go1.18-openssl | 1.18.10.1-150000.1.9.1 | SUSE-SU-2023:2312-1 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | go1.18 | 1.18.8-1.1 | openSUSE-SU-2024:12471-1 |
| openSUSE Tumbleweed | go1.19 | 1.19.3-1.1 | openSUSE-SU-2024:12472-1 |
| openSUSE Leap 15.5 | go1.18-openssl | 1.18.10.1-150000.1.9.1 | SUSE-SU-2023:2312-1 |
| openSUSE Leap 15.4 | go1.18 | 1.18.8-150000.1.37.1 | SUSE-SU-2022:4055-1 |
| openSUSE Leap 15.4 | go1.18-openssl | 1.18.10.1-150000.1.9.1 | SUSE-SU-2023:2312-1 |
| openSUSE Leap 15.4 | go1.19 | 1.19.3-150000.1.15.1 | SUSE-SU-2022:4054-1 |
| openSUSE Leap 15.3 | go1.18 | 1.18.8-150000.1.37.1 | SUSE-SU-2022:4055-1 |
| openSUSE Leap 15.3 | go1.19 | 1.19.3-150000.1.15.1 | SUSE-SU-2022:4054-1 |
Amazon Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Amazon Linux 2023 | golang +7 | 1.19.3-2.amzn2023.0.2 | ALAS2023-2023-048 |
| Amazon Linux 2023 | golist | 0.10.1-11.amzn2023.0.3 | ALAS2023-2023-046 |
Azure Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Azure Linux 3 | golang | No fix yet | — |
Oracle Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Oracle Linux 8 | delve | 1.8.3-1.0.1.module+el8.7.0+20882+f24d347b | ELSA-2023-18908, ELSA-2022-24267 |
| Oracle Linux 8 | go-toolset | 1.18.8-1.module+el8.7.0+20882+f24d347b | ELSA-2023-18908, ELSA-2022-24267 |
| Oracle Linux 8 | golang +6 | 1.18.8-1.0.1.module+el8.7.0+20882+f24d347b | ELSA-2023-18908, ELSA-2022-24267 |
Wolfi
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Wolfi rolling | katib-earlystopping +8 | 0.19.0-r31 | — |
| Wolfi rolling | katib-suggestion-goptuna-compat | 0.19.0-r40 | — |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| Go | stdlib | < 1.18.8 · >= 1.19.0-0, < 1.19.3 | 1.18.8, 1.19.3 | GO-2022-1095 |
Advisories 14
- WID-SEC-2023-2031 Xerox FreeFlow Print Server: Mehrere Schwachstellen BSI CERT-Bund (WID) · Oct 11, 2026
- WID-SEC-2023-1350 Splunk Splunk Enterprise: Mehrere Schwachstellen in Komponenten von Drittanbietern BSI CERT-Bund (WID) · Jul 1, 2026
- SUSE-SU-2022:4055-1 Security update for go1.18 SUSE / openSUSE Security Updates · Feb 4, 2026
- openSUSE-SU-2024:12472-1 go1.19-1.19.3-1.1 on GA media SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2023:2312-1 Security update for go1.18-openssl SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2022:4054-1 Security update for go1.19 SUSE / openSUSE Security Updates · Feb 4, 2026
- openSUSE-SU-2024:12471-1 go1.18-1.18.8-1.1 on GA media SUSE / openSUSE Security Updates · Feb 4, 2026
- WID-SEC-2023-2229 Splunk Splunk Enterprise: Mehrere Schwachstellen BSI CERT-Bund (WID) · Nov 18, 2025
- WID-SEC-2023-1424 Xerox FreeFlow Print Server für Solaris: Mehrere Schwachstellen BSI CERT-Bund (WID) · Oct 6, 2025
- ALAS2023-2023-048 Important: golang security update (Amazon Linux 2023) Amazon Linux Security Center (ALAS) · Sep 9, 2025
- WID-SEC-2023-0995 IBM DB2: Mehrere Schwachstellen BSI CERT-Bund (WID) · Jun 29, 2023
- ALAS2023-2023-046 Important: golist security update (Amazon Linux 2023) Amazon Linux Security Center (ALAS) · May 11, 2023
- ELSA-2023-18908 Important: ol8addon security update (Oracle Linux 8) Oracle Linux Security Advisories (ELSA) · Mar 7, 2023
- ELSA-2022-24267 Important: ol8addon security update (Oracle Linux 8) Oracle Linux Security Advisories (ELSA) · Nov 23, 2022