CVE-2026-17084 PUBLISHED

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

Assigner: PSF
Reserved: 24.07.2026 Published: 18.08.2026 Updated: 19.08.2026

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.

Metrics

CVSS 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
CVSS Score: 6

Product Status

Vendor Python Software Foundation
Product CPython
Versions Default: unaffected
  • affected from 0 to 3.15.0 (excl.)

Credits

  • Bitshift (https://github.com/TheShiftedBit) reporter
  • Seth Larson (https://github.com/sethmlarson) coordinator
  • Stan Ulbrych (https://github.com/StanFromIreland) remediation developer
  • Marc-Andre Lemburg (https://github.com/malemburg) remediation reviewer
  • Petr Viktorin (https://github.com/encukou) remediation reviewer

References