ADVISORIES

Vulnerability

CVE-2022-41716

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

35 advisories report this vulnerability, across 11 ecosystems.

Advisories

  • ALAS2023-2023-046

    Amazon Linux 2023 - ALAS2023-2023-046: Important priority package update for golist

    Important CVE-2022-1705CVE-2022-1962CVE-2022-24675CVE-2022-27191 Amazon Linux Updated 11 May 2023
  • ALAS2023-2023-048

    Amazon Linux 2023 - ALAS2023-2023-048: Important priority package update for golang

    Important CVE-2021-33196CVE-2021-38297CVE-2021-41771CVE-2021-41772 Amazon Linux Updated 9 September 2025
  • AZL-79026

    CVE-2022-41716 affecting package golang 1.25.7-1

    CVE-2022-41716 Azure Linux Updated 21 April 2026
  • AZL-98883

    CVE-2022-41716 affecting package golang 1.27.1-1

    CVE-2022-41716 Azure Linux Updated 16 September 2026
  • CGA-2jf2-8jc3-c752
    CVE-2022-41716 ChainguardWolfi Updated 5 November 2026
  • CGA-6g83-xr3r-m76c
    CVE-2022-41716 ChainguardWolfi Updated 5 November 2026
  • CGA-78cc-37r4-7493
    CVE-2022-41716 ChainguardWolfi Updated 5 November 2026
  • CGA-87cr-43xw-p7rv
    CVE-2022-41716 ChainguardWolfi Updated 5 November 2026
  • CGA-grrr-w3r8-r8mp
    CVE-2022-41716 ChainguardWolfi Updated 5 November 2026
  • CGA-j2hm-qm65-qmrr
    CVE-2022-41716 ChainguardWolfi Updated 5 November 2026
  • CGA-jqp7-9v73-j42c
    CVE-2022-41716 ChainguardWolfi Updated 5 November 2026
  • CGA-jx5r-f8x4-gfvg
    CVE-2022-41716 ChainguardWolfi Updated 5 November 2026
  • CGA-mp4h-m28m-pgmq
    CVE-2022-41716 ChainguardWolfi Updated 5 November 2026
  • CGA-mphp-2hj5-grxr
    CVE-2022-41716 ChainguardWolfi Updated 5 November 2026
  • CGA-q757-pmf9-m2x7
    CVE-2022-41716 ChainguardWolfi Updated 5 November 2026
  • CGA-q7m9-gx9g-2ghx
    CVE-2022-41716 ChainguardWolfi Updated 5 November 2026
  • CGA-qj5c-hh9q-fvww
    CVE-2022-41716 ChainguardWolfi Updated 5 November 2026
  • CGA-r97c-6qp7-89w5
    CVE-2022-41716 ChainguardWolfi Updated 5 November 2026
  • CGA-rj7h-52mx-x27v
    CVE-2022-41716 ChainguardWolfi Updated 5 November 2026
  • CGA-w225-j6cp-86fm
    CVE-2022-41716 ChainguardWolfi Updated 5 November 2026
  • CGA-w2p8-3fx4-39c6
    CVE-2022-41716 ChainguardWolfi Updated 5 November 2026
  • CGA-whx6-r44v-gjx5
    CVE-2022-41716 ChainguardWolfi Updated 5 November 2026
  • CGA-wm88-2fmg-g227
    CVE-2022-41716 ChainguardWolfi Updated 5 November 2026
  • CGA-x697-wjjp-8q9p
    CVE-2022-41716 ChainguardWolfi Updated 5 November 2026
  • DEBIAN-CVE-2022-41716

    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…

    CVE-2022-41716 Debian Updated 20 November 2026
  • ELSA-2022-24267

    ELSA-2022-24267: ol8addon security update (IMPORTANT)

    Important CVE-2022-1705CVE-2022-1962CVE-2022-27664CVE-2022-28131 Oracle Linux Updated 23 November 2022
  • ELSA-2023-18908

    ELSA-2023-18908: ol8addon security update (IMPORTANT)

    Important CVE-2022-27664CVE-2022-2879CVE-2022-2880CVE-2022-32190 Oracle Linux Updated 7 March 2023
  • GO-2022-1095

    Unsanitized NUL in environment variables on Windows in syscall and os/exec

    CVE-2022-41716 Go Updated 4 February 2026
  • OESA-2022-2115

    golang security update

    High CVE-2022-41716 openEuler Updated 18 August 2026
  • SUSE-SU-2022:4054-1

    Security update for go1.19

    CVE-2022-41716 SUSEopenSUSE Updated 4 February 2026
  • SUSE-SU-2022:4055-1

    Security update for go1.18

    CVE-2022-41716 SUSEopenSUSE Updated 4 February 2026
  • SUSE-SU-2023:2312-1

    Security update for go1.18-openssl

    CVE-2022-1705CVE-2022-1962CVE-2022-24675CVE-2022-27536 SUSEopenSUSE Updated 4 February 2026
  • UBUNTU-CVE-2022-41716

    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…

    CVE-2022-41716 Ubuntu Updated 6 October 2026
  • openSUSE-SU-2024:12471-1

    go1.18-1.18.8-1.1 on GA media

    CVE-2022-41716 openSUSE Updated 4 February 2026
  • openSUSE-SU-2024:12472-1

    go1.19-1.19.3-1.1 on GA media

    CVE-2022-41716 openSUSE Updated 4 February 2026

References