CVE-2026-17084

stringprep.map_table_b2() deviates from RFC 3454 Table B.2

At a glance

Severity
MEDIUM 6.0
EPSS
EPSS 0.73 % · percentile 54 (2026-10-27)
State
PUBLISHED
Published
Updated
Assigner
PSF
NVD status
Awaiting Analysis

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.

Scores

VersionScoreVectorScored by
CVSS 4.0MEDIUM 6.0CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:N/VI:H/VA:N/SC:N/SI:N/SA:NPSF
CVSS 4.0MEDIUM 6.0CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:XNVD · cna@python.org (Secondary)

Weaknesses (CWE)

European references

CERT-FR advisories

Affected products

ProductVersions
Python Software Foundation · CPythonaffected 0 < 3.10.22 ; affected 3.11.0 < 3.11.17 ; affected 3.12.0 < 3.12.15 ; affected 3.13.0 < 3.13.16 ; affected 3.14.0 < 3.14.8 ; affected 3.15.0a1 < 3.15.0rc2

References

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD