Python disclosed CVE-2026-17084, a security flaw in its standard-library handling of StringPrep/IDNA 2003 that could cause domain names to be processed incorrectly. The issue stemmed from use of str.lower() in code paths that should have followed RFC 3454 case-folding rules tied specifically to Unicode 3.2.0; instead, Python applied the Unicode version bundled with the running interpreter, creating divergent results for certain characters and breaking RFC-compliant IDNA behavior.
The affected logic involved Python’s built-in stringprep module and idna codec, which implement IDNA 2003 behavior, while IDNA 2008 support remains available through the third-party idna package. According to the disclosure, reported by Bitshift, the fix introduced exceptions so lowercasing matches Unicode 3.2.0 behavior in the relevant function, restoring standards-compliant processing for internationalized domain names described in related IETF specifications such as RFC 5890.

See affected versions and whether adversaries are exploiting it.
3 events from the most recent confirmed update back to the earliest known activity.
A fix was developed for Python that added exceptions so lowercasing would match Unicode 3.2.0 behavior for the affected function, restoring RFC-compliant IDNA 2003 processing. Stan Ulbrych co-developed the remediation, and Marc-Andre Lemburg and Petr Viktorin reviewed it.
Bitshift reported a specification-compliance security issue in Python's standard-library StringPrep and IDNA 2003 handling, where use of str.lower() diverged from RFC 3454's required Unicode 3.2.0 case-folding behavior. The issue was tracked as CVE-2026-17084.
RFC 5890 was published, defining terminology and framework for IDNA 2008, which obsoleted IDNA 2003. This provides the standards context referenced in the vulnerability discussion.
Vulnerabilities, threat actors, malware, products, organizations, and breaches Mallory has linked to this story.
See whether adversaries are exploiting this yet, and where the affected versions run in your environment.
2 references tracked. Mallory keeps watching after this page renders.
Map indicators from this story to your assets and identify affected systems in minutes.
Every observed campaign, victim, and pivot linked to actors named in this story.
Malware, exploits, and IOCs connected to the activity described here.
YARA, Sigma, and Snort rules deployed to your SIEM as soon as they’re published.
Get matching new stories delivered to your team as they break — not the next morning.
Ask questions about this story and take action on the answers.