Description
The form library in Django 1.3.x before 1.3.6, 1.4.x before 1.4.4, and 1.5 before release candidate 2 allows remote attackers to bypass intended resource limits for formsets and cause a denial of service (memory consumption) or trigger server errors via a modified max_num parameter.
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | python-django | 1.4.4-1 | — |
| Debian 13 | python-django | 1.4.4-1 | — |
| Debian 12 | python-django | 1.4.4-1 | — |
| Debian 6.0 | python-django | 1.2.3-3+squeeze5 | DSA-2634-1 |
Red Hat
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Red Hat OpenStack 2 | Django14 +1 | 1.4.4-1.el6ost | RHSA-2013:0670 |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| PyPI | django | >= 1.3, < 1.3.6 | 1.3.6 | GHSA-g8xg-jgj6-49r3 |
| PyPI | django | >= 1.4, < 1.4.4 | 1.4.4 | GHSA-g8xg-jgj6-49r3 |
| PyPI | django | >= 1.3, < 1.3.6 · >= 1.4, < 1.4.4 | 1.3.6, 1.4.4 | PYSEC-2013-17 |
Advisories 2
- RHSA-2013:0670 Red Hat Security Advisory: Django security update Red Hat Security Advisories (RHSA) · Aug 1, 2026
- DSA-2634-1 python-django - several vulnerabilities Debian Security (DSA / DLA) · Mar 9, 2026
References
- https://www.djangoproject.com/weblog/2013/feb/19/security/
- USN-1757-1 vendor-advisory
- DSA-2634 vendor-advisory
- RHSA-2013:0670 vendor-advisory