# CVE-2022-23833: Infinite Loop in Django

- Severity: High 7.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 53.8%, higher than 99% of CVEs (2026-12-01)
- Published: 2022-02-03T00:00:00.000Z
- Modified: 2026-09-08T08:46:35.537Z
- Also known as: GHSA-6cw3-g6wv-c2xv, BIT-DJANGO-2022-23833, PYSEC-2022-20
- Weaknesses: CWE-835
- Assigned by: mitre

## Description

An issue was discovered in MultiPartParser in Django 2.2 before 2.2.27, 3.2 before 3.2.12, and 4.0 before 4.0.2. Passing certain inputs to multipart forms could result in an infinite loop when parsing files.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- django (PyPI): from 2.2 before 2.2.27; from 3.2 before 3.2.12; from 4.0 before 4.0.2
- djangoproject django: from 2.2 before 2.2.27; from 3.2 before 3.2.12; from 4.0 before 4.0.2
- fedoraproject fedora: 34; 35
- debian debian_linux: 11.0
- django (Bitnami): from 2.2.0 before 2.2.27; from 3.2.0 before 3.2.12; from 4.0.0 before 4.0.2

## Every score

- GitHub: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- GitHub: CVSS:4.0 High `CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N`
- NVD: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- NVD: CVSS:2.0 5.0 Medium `AV:N/AC:L/Au:N/C:N/I:N/A:P`
- Bitnami Vulnerability Database: rating High

## References

- <https://groups.google.com/forum/#%21forum/django-announce> (web)
- <https://docs.djangoproject.com/en/4.0/releases/security/> (advisory, patch, third-party-advisory, web)
- <https://www.djangoproject.com/weblog/2022/feb/01/security-releases/> (advisory, article, patch, third-party-advisory)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/B4SQG2EAF4WCI2SLRL6XRDJ3RPK3ZRDV/> (vendor-advisory, web)
- <https://security.netapp.com/advisory/ntap-20220221-0003/> (advisory, third-party-advisory)
- <https://www.debian.org/security/2022/dsa-5254> (advisory, third-party-advisory, vendor-advisory, web)
- <https://github.com/django/django/commit/c477b761804984c932704554ad35f78a2e230c6a> (web)
- <https://github.com/django/django/commit/d16133568ef9c9b42cb7a08bdf9ff3feec2e5468> (web)
- <https://github.com/django/django/commit/f9c7d48fdd6f198a6494a9202f90242f176e4fc9> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2022-23833> (advisory, web)
- <https://docs.djangoproject.com/en/4.0/releases/security> (web)
- <https://github.com/advisories/GHSA-6cw3-g6wv-c2xv> (advisory)
- <https://github.com/django/django> (package)
- <https://github.com/pypa/advisory-database/tree/main/vulns/django/PYSEC-2022-20.yaml> (web)
- <https://groups.google.com/forum/#!forum/django-announce> (web)
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/B4SQG2EAF4WCI2SLRL6XRDJ3RPK3ZRDV> (web)
- <https://security.netapp.com/advisory/ntap-20220221-0003> (web)
- <https://www.djangoproject.com/weblog/2022/feb/01/security-releases> (web)

## Sources

- CVE List: [CVE-2022-23833](https://www.cve.org/CVERecord?id=CVE-2022-23833), CVE Terms of Use, modified 2024-08-03
- GitHub Advisory Database: [GHSA-6cw3-g6wv-c2xv](https://github.com/advisories/GHSA-6cw3-g6wv-c2xv), CC-BY-4.0, modified 2024-09-20
- NVD: [CVE-2022-23833](https://nvd.nist.gov/vuln/detail/CVE-2022-23833), Public domain, modified 2026-06-17
- PyPA Advisory Database: [PYSEC-2022-20](https://osv.dev/vulnerability/PYSEC-2022-20), CC-BY-4.0, modified 2023-12-06
- Bitnami Vulnerability Database: [BIT-DJANGO-2022-23833](https://osv.dev/vulnerability/BIT-DJANGO-2022-23833), Apache-2.0, modified 2026-09-08

---

Page: https://cve.day/CVE-2022-23833 · Whole record: https://cve.day/CVE-2022-23833.json · Rebuilt by cve.day 2026-11-25T22:58:09.467Z
