CVE-2026-132809
An issue was discovered in Django 6.1 before 6.1.4, 6.0 before 6.0.11, and 5.2 before 5.2.20. `django.contrib.gis.gdal.OGRGeometry.wkb` allocates an undersized buffer for geometries larger than 4GB on 64-bit platforms, which can cause service degradation when GDAL subsequently writes to it. Earlier, unsupported Django series (such as 5.1.x, 5.0.x, and 4.2.x) were not evaluated and may also be affected. Django would like to thank Zhixi "Jace" Sun for reporting this issue.
Am I affected?
Check a product version without an account, or sign in for saved inventory assessments.
Timeline
- Published by NVD
- First covered by RedTeamDaily
- Last updated by NVD
Affected products
| Product | Versions |
|---|---|
Djangoproject DjangoComponent identitycpe:2.3:a:djangoproject:django | from 5.2 before 5.2.20; from 6.0 before 6.0.11; from 6.1 before 6.1.4 |
Source evidence and freshness
Lifecycle: Deferred. Technical severity: CVSS 4.0 · Provider: 6a34fbeb-21d4-45e7-8e0a-62b95bc12c92. Exploitation evidence and inventory applicability are separate assessments.
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Provider-specific scores
- 6a34fbeb-21d4-45e7-8e0a-62b95bc12c92 · CVSS 4.0 · 6.9 Medium
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X - 6a34fbeb-21d4-45e7-8e0a-62b95bc12c92 · CVSS 3.1 · 5.3 Medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
Remediation by product and branch
Djangoproject Django
from 5.2 before 5.2.20 · Branch 5.2.x
fix available · Verified fixed release: 5.2.20
Confirm the release branch and deployment prerequisites, then verify the installed build and expected security behaviour after changing it.
Django Software Foundation CNA advisory · Verified:
from 6.0 before 6.0.11 · Branch 6.0.x
fix available · Verified fixed release: 6.0.11
Confirm the release branch and deployment prerequisites, then verify the installed build and expected security behaviour after changing it.
Django Software Foundation CNA advisory · Verified:
from 6.1 before 6.1.4 · Branch 6.1.x
fix available · Verified fixed release: 6.1.4
Confirm the release branch and deployment prerequisites, then verify the installed build and expected security behaviour after changing it.
Django Software Foundation CNA advisory · Verified:
FIRST EPSS forecast
No EPSS score has been imported for this vulnerability. This is unavailable data, not a zero forecast.
A model forecast of exploitation activity in the next 30 days. It does not establish applicability, observed attacks, impact or organisation-specific risk. FIRST methodology and limits
Change history
Changes to the source evidence for this vulnerability. Retrievals that changed nothing are not listed. Email already sent is not edited afterwards.
Patch reported ·
- Patch reported: not recorded → yes
Recorded entry #45232
Reason recorded: Primary advisory checked: https://www.djangoproject.com/weblog/2026/dec/02/security-releases/
{ "fields": [ { "kind": "value", "field": "patch_available", "label": "Patch reported", "revised": true, "previous": null } ] }Affected rule added ·
Djangoproject Django from 5.2 before 5.2.20 · branch 5.2.x (Django Software Foundation CNA)
Recorded entry #45231
Reason recorded: Primary advisory checked: https://www.djangoproject.com/weblog/2026/dec/02/security-releases/
{ "fields": [], "rule": { "to": "5.2.20", "from": "5.2", "branch": "5.2.x", "source": "Django Software Foundation CNA", "fixedIn": "5.2.20", "toInclusive": false, "fixedVerified": true, "fromInclusive": true } }Affected rule added ·
Djangoproject Django from 6.0 before 6.0.11 · branch 6.0.x (Django Software Foundation CNA)
Recorded entry #45230
Reason recorded: Primary advisory checked: https://www.djangoproject.com/weblog/2026/dec/02/security-releases/
{ "fields": [], "rule": { "to": "6.0.11", "from": "6.0", "branch": "6.0.x", "source": "Django Software Foundation CNA", "fixedIn": "6.0.11", "toInclusive": false, "fixedVerified": true, "fromInclusive": true } }Affected rule added ·
Djangoproject Django from 6.1 before 6.1.4 · branch 6.1.x (Django Software Foundation CNA)
Recorded entry #45229
Reason recorded: Primary advisory checked: https://www.djangoproject.com/weblog/2026/dec/02/security-releases/
{ "fields": [], "rule": { "to": "6.1.4", "from": "6.1", "branch": "6.1.x", "source": "Django Software Foundation CNA", "fixedIn": "6.1.4", "toInclusive": false, "fixedVerified": true, "fromInclusive": true } }
Coverage
Django4Shell flaw in GeoDjango prompts urgent upgrade to Django 6.1.4, 6.0.11 and 5.2.20
Django released 6.1.4, 6.0.11 and 5.2.20 for seven vulnerabilities. For CVE-2026-124827, check PostGIS applications that accept untrusted values in a GeoDjango RasterField.
Sources: NVD and CISA known exploited vulnerabilities catalogue.