CVE-2022-41716

unknown
Published 2022-11-01 · Modified 2026-02-04
CVSS v3
CVSS v2
VIR risk

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

Predictions

Exploit likelihood
20%
Patch ETA

Heuristic predictions, AS-IS, for prioritization only.

Mitigations

vendor Authored 2026-05-27

Vendor advisory: debian — https://security-tracker.debian.org/tracker/CVE-2022-41716

vendor Authored 2026-05-27

Vendor advisory: suse — https://www.suse.com/security/cve/CVE-2022-41716.html

OS impact

OSVersionStatusFixed in
suse slesaffected
debian debianbullseyeaffected
debian debianbookwormfixed1.19.3-1

Package impact

EcosystemPackageVulnerableFixed
golang Gostdlib>=1.19.0-0,<1.19.31.18.8

References

Verify integrity in audit chain (admin only). AS-IS.