Vulnerability · Published Aug 18, 2026 · Assigned by PSF

CVE-2026-17084stringprep.map_table_b2() deviates from RFC 3454 Table B.2

Medium 6.0

In plain English

A medium-severity security flaw in CPython from Python Software Foundation. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.7% (higher than 55% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 4.0)6.0Medium
Exploit odds (30 days)0.7%top 45.4% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official description

The "stringprep" module didn't process characters from RFC 3454 tables B.2 or B.3 correctly: the latest Unicode codepoint attributes were used instead of the specified Unicode 3.2.0. This behavior would cause mismatches when processing domain names using IDNA 2003 (the "idna" codec) and the in_table_b2() function of the "stringprep" module. This only affects domain names containing characters that were not previously registered or had their Unicode attributes such as case-folding behavior updated since Unicode 3.2.0.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Alpine:v3.21python33.12.15-r0ALPINE-CVE-2026-17084
Alpine:v3.22python33.12.15-r0ALPINE-CVE-2026-17084
Alpine:v3.23python33.12.15-r0ALPINE-CVE-2026-17084
Alpine:v3.24python33.14.8-r0ALPINE-CVE-2026-17084
Debian:12pypy3no fix listedDEBIAN-CVE-2026-17084
Debian:13pypy3no fix listedDEBIAN-CVE-2026-17084
Debian:14pypy38.0.1+dfsg-1DEBIAN-CVE-2026-17084
Debian:12python3.113.11.2-6+deb12u9DEBIAN-CVE-2026-17084
Debian:13python3.13no fix listedDEBIAN-CVE-2026-17084
Debian:14python3.143.14.7-3DEBIAN-CVE-2026-17084
Debian:14python3.153.15.0~rc2-1DEBIAN-CVE-2026-17084
Ubuntu:22.04:LTSpython3.10no fix listedUBUNTU-CVE-2026-17084
Ubuntu:24.04:LTSpython3.12no fix listedUBUNTU-CVE-2026-17084
Ubuntu:26.04:LTSpython3.14no fix listedUBUNTU-CVE-2026-17084
Ubuntu:26.10python3.14no fix listedUBUNTU-CVE-2026-17084

Affected products (as reported)

VendorProductVersions
Python Software Foundation CPython 0 – before 3.10.223.11.0 – before 3.11.173.12.0 – before 3.12.153.13.0 – before 3.13.163.14.0 – before 3.14.83.15.0a1 – before 3.15.0rc2

Weakness: CWE-436 · Vector: CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N

References