CVE-2023-41164 in Djangoproject Django and 1 more product
In Django 3.2 before 3.2.21, 4.1 before 4.1.11, and 4.2 before 4.2.5, django.utils.encoding.uri_to_iri() is subject to a potential DoS (denial of service) attack via certain inputs with a very large number of Unicode characters.
Affects 2 products from 2 vendors. Facts below cite their sources.
Remotely exploitable over the network, low complexity, no authentication required, no user interaction needed, impact contained to the vulnerable component, no confidentiality impact, no integrity impact, full availability impact.
Affected products and versions
| Vendor | Product | Affected versions |
|---|---|---|
| Djangoproject | Django | ≥ 3.2, < 3.2.21 ≥ 4.1, < 4.1.11 ≥ 4.2, < 4.2.5 |
| Fedoraproject | Fedora | 39 |
A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.
Fix and vendor advisory
Exploitation
| CISA known-exploited | Not in the CISA KEV catalog |
|---|---|
| Public exploit | Not confirmed |
Official description
In Django 3.2 before 3.2.21, 4.1 before 4.1.11, and 4.2 before 4.2.5, django.utils.encoding.uri_to_iri() is subject to a potential DoS (denial of service) attack via certain inputs with a very large number of Unicode characters.
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2023-41164 |
|---|---|
| BreachSpider ID | BS-2023-GLOBAL-344097-H |
| CVSS vector | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| Published | 2023-11-03 |
| Last modified | 2026-06-17 |
| Weakness (CWE) | |
| Source | NVD |
Weakness definitions
CWE-1284: CWE-1284
Analysis AI-written, not human-reviewed
Django versions 3.2 before 3.2.21, 4.1 before 4.1.11, and 4.2 before 4.2.5 are vulnerable to a denial of service (DoS) attack due to improper handling of URI to IRI conversion with large Unicode character inputs.
An attacker can exploit this vulnerability by sending a URI with a very large number of Unicode characters to a Django application that uses django.utils.encoding.uri_to_iri(). This can cause excessive CPU and memory usage, leading to a denial of service.
Questions
What is CVE-2023-41164?
Django versions 3.2 before 3.2.21, 4.1 before 4.1.11, and 4.2 before 4.2.5 are vulnerable to a denial of service (DoS) attack due to improper handling of URI to IRI conversion with large Unicode character inputs.
What is the CVSS score for CVE-2023-41164?
CVE-2023-41164 has CVSS 7.5 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H. EPSS: 1.6%.
Is CVE-2023-41164 actively exploited?
No confirmed active exploitation of CVE-2023-41164 as of 2026-09-25.
How do I remediate CVE-2023-41164?
Priority: HIGH. Advisory: https://docs.djangoproject.com/en/4.2/releases/security/
What systems are affected by CVE-2023-41164?
CVE-2023-41164 affects Djangoproject Django; Fedoraproject Fedora.
For developers and AI agents
Run this check from your own code or agent
REST API
curl -s https://breachspider.com/api/v1/assets/correlate-cves \
-H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"assets":[{"asset_id":"dev-1","vendor":"Djangoproject","product":"Django","version":"1.0"}]}'
MCP for AI agents
# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp
Free trial: 14 days, 750 device checks, no card.
Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-06-17.