Live threats

All CVEs / Djangoproject

CVE-2012-3443Djangoproject Django

Medium 5.0 No auth needed

Priority
45
CVSS 2.0
5.0
EPSS
2.7%
probability of exploitation in 30 days · percentile 87
Auth required
No
Published
Jul 31, 2012
Updated
Jun 16, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-20
Vector
AV:N/AC:L/Au:N/C:N/I:N/A:P

What happens

The django.forms.ImageField class in the form system in Django before 1.3.2 and 1.4.x before 1.4.1 completely decompresses image data during image validation, which allows remote attackers to cause a denial of service (memory consumption) by uploading an image file.

Original NVD text.

What to do

  1. Apply the vendor's security update for Django.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
PyPI django < 1.3.2 1.3.2 pip install "django>=1.3.2"
PyPI django ≥ 1.4 < 1.4.1 1.4.1 pip install "django>=1.4.1"
PyPI django < 1.3.2 1.3.2 pip install "django>=1.3.2"
PyPI django ≥ 1.4 < 1.4.1 1.4.1 pip install "django>=1.4.1"

Per OSV / GitHub Advisories (GHSA-59w8-4wm2-4xw8, PYSEC-2012-3). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
djangoprojectdjango≤ 1.3
djangoprojectdjango0.95
djangoprojectdjango0.96
djangoprojectdjango1.0
djangoprojectdjango1.0
djangoprojectdjango1.0
djangoprojectdjango1.0
djangoprojectdjango1.0
djangoprojectdjango1.0.1
djangoprojectdjango1.0.2
djangoprojectdjango1.1
djangoprojectdjango1.1
djangoprojectdjango1.1
djangoprojectdjango1.1
djangoprojectdjango1.1.2
djangoprojectdjango1.1.3
djangoprojectdjango1.1.4
djangoprojectdjango1.2
djangoprojectdjango1.2
djangoprojectdjango1.2
djangoprojectdjango1.2-alpha1
djangoprojectdjango1.2.2
djangoprojectdjango1.2.4
djangoprojectdjango1.2.5
djangoprojectdjango1.2.6
djangoprojectdjango1.2.7
djangoprojectdjango1.3
djangoprojectdjango1.3
djangoprojectdjango1.4

Official sources

References

Links published by the sources. Open them with care.