CVE-2026-132809: djangoproject Django · Incorrect Calculation of Buffer Size
Affects djangoproject DjangoSource CVE Database V5
Not known to be exploited · CVSS 5.3 Medium · fixed in 6.1.4 : update djangoproject Django when convenient.
Data as of 2 Dec 2026, 13:32 UTC
Thin evidence
One scorer or none| CNA (DSF) | CVSS 3.1 | 5.3 |
|---|---|---|
| CNA (DSF) | CVSS 4.0 | 6.9 |
- Patch
- Available – fixed in 6.1.4, 6.0.11, 5.2.20
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:LExploitation evidence
Disclosed: evidence found.
CVE published 2 Dec 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 2 Dec 2026.
What to do
Upgrade Django and django to 6.1.4, 6.0.11 or 5.2.20.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| Djangodjango | Affected
| Fixed in
|
| Djangodjango | Affected
| Fixed in
|
| Djangodjango | Affected
| Fixed in
|
PyPIdjangopkg:pypi/djangoOther threats | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
Upgrade affected Django installations to versions 6.1.4, 6.0.11, or 5.2.20 or later, where this buffer size calculation issue has been fixed. No other mitigation actions are indicated by the vendor advisory.
Description
CVE-2026-132809 is a medium severity vulnerability in Django versions prior to 6.1.4, 6.0.11, and 5.2.20. The issue involves an incorrect buffer size calculation in the django.contrib.gis.gdal.OGRGeometry.wkb component, which allocates an undersized buffer for geometries larger than 4GB on 64-bit platforms. This can lead to service degradation when the GDAL library writes data to the buffer. The vulnerability does not affect confidentiality or integrity but impacts availability. Fixed versions have been released to address this issue.
References
- docs.djangoproject.com/en/dev/releases/security/ (opens in a new tab)
- groups.google.com/g/django-announce (opens in a new tab)
- github.com/django/django/commit/c2ccd78ec0a9fe6fe897815db941e09a845a6e91 (opens in a new tab)
- github.com/django/django/commit/7f7d6ca6999de67321f5c0a7d8aaf56e192426ef (opens in a new tab)
- github.com/django/django/commit/06768e69078df785496f2987effd3e902c07f53d (opens in a new tab)
- github.com/django/django/commit/51dcaaf51d1ccb9db8e5755b641d6dd34facb7f7 (opens in a new tab)
- djangoproject.com/weblog/2026/dec/02/security-releases/ (opens in a new tab)