Description
The internationalization (i18n) framework in Django 0.91, 0.95, 0.95.1, and 0.96, and as used in other products such as PyLucid, when the USE_I18N option and the i18n component are enabled, allows remote attackers to cause a denial of service (memory consumption) via many HTTP requests with large Accept-Language headers.
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 | 0.96-1.1 | — |
| Debian 13 | python-django | 0.96-1.1 | — |
| Debian 12 | python-django | 0.96-1.1 | — |
| Debian 4.0 | python-django | 0.95.1-1etch2 | DSA-1640-1 |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| PyPI | django | >= 0.96.0, < 0.96.1 | 0.96.1 | GHSA-9v8h-57gv-qch6 |
| PyPI | django | >= 0.95, < 0.95.2 | 0.95.2 | GHSA-9v8h-57gv-qch6 |
| PyPI | django | >= 0.91.0, < 0.91.1 | 0.91.1 | GHSA-9v8h-57gv-qch6 |
| PyPI | django | < 1.1 | 1.1 | PYSEC-2007-1 |
Advisories 1
- DSA-1640-1 python-django - cross site request forgery Debian Security (DSA / DLA) · Mar 9, 2026
References
- ADV-2007-3660 vdb-entry
- FEDORA-2007-3157 vendor-advisory
- DSA-1640 vendor-advisory
- 27435 third-party-advisory
- FEDORA-2007-2788 vendor-advisory
- 26227 vdb-entry
- http://sourceforge.net/forum/forum.php?forum_id=749199
- django-i18n-dos(38143) vdb-entry
- http://www.djangoproject.com/weblog/2007/oct/26/security-fix
- 31961 third-party-advisory
- ADV-2007-3661 vdb-entry
- 27597 third-party-advisory