CVE-2026-39821

Published: May 28, 2026Last modified: May 29, 2026

Description

The ToASCII and ToUnicode functions incorrectly accept Punycode-encoded labels that decode to an ASCII-only label. For example, ToUnicode("xn--example-.com") incorrectly returns the name "example.com" rather than an error. This behavior can lead to privilege escalation in programs using the idna package. For example, a program which performs privilege checks on the ASCII hostname may reject "example.com" but permit "xn--example-.com". If that program subsequently converts the ASCII hostname to Unicode, it will inadvertently permits access to the Unicode name "example.com".

Severity score breakdown

ParameterValue
Base score9.6
Attack VectorNETWORK
Attack complexityLOW
Privileges requiredLOW
User interactionNONE
ScopeCHANGED
ConfidentialityHIGH
Integrity impactHIGH
Availability impactNONE
VectorCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:N

Status

ProductReleasePackageStatus
Alpaquita Linux23 LTSbuildahVulnerable (1.28.0-r1)
containerdVulnerable (1.6.10-r0)
podmanVulnerable (4.3.1-r0)
runcVulnerable (1.1.4-r3)
skopeoVulnerable (1.10.0-r2)
25 LTSbuildahVulnerable (1.40.0-r0)
containerdVulnerable (2.1.1-r0)
docker-cli-buildxVulnerable (0.24.0-r0)
google-guest-agentVulnerable (20250521.00-r0)
osv-scannerVulnerable (2.1.0-r4)
podmanVulnerable (5.5.0-r0)
rootlesskitVulnerable (2.3.5-r0)
runcVulnerable (1.3.0-r1)
skopeoVulnerable (1.18.0-r2)
StreambuildahVulnerable (1.31.0-r0)
calicoctlVulnerable (3.31.3-r0)
cilium-cliVulnerable (0.19.0-r12)
cni-pluginsVulnerable (1.9.0-r2)
containerdVulnerable (1.7.2-r1)
cri-toolsVulnerable (1.35.0-r2)
docker-cli-buildxVulnerable (0.11.0-r0)
etcdVulnerable (3.6.4-r6)
google-guest-agentVulnerable (20250214.01-r0)
grypeVulnerable (0.100.0-r0)
helmVulnerable (3.19.0-r4)
osv-scannerVulnerable (2.1.0-r2)
podmanVulnerable (4.5.1-r1)
rootlesskitVulnerable (2.1.0-r0)
runcVulnerable (1.1.7-r1)
skopeoVulnerable (1.13.0-r1)

References

ON THIS PAGE