CVE-2026-132809 — djangoproject Django
One of 7 djangoproject Django vulnerabilities published together by NVD: our article covers all of them.
PythonVulnerabilitiesWebSummary
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.
Severity breakdown
Medium · 6.9
An attacker without an account can exploit this over the network, without any user action.
- Attack from
- the network (remotely)
- Attack complexity
- low (no special conditions)
- Special conditions
- none
- Login needed
- no
- User action needed
- no
- Impact
- low on availability, none on confidentiality and integrity
- Impact on other systems
- none
Weakness
- CWE-131: Incorrect Calculation of Buffer Size
Affected and fixed versions
| Product | Affected versions | Fixed in |
|---|---|---|
| djangoproject Django | ≥ 6.1, < 6.1.4 | 6.1.4 |
| ≥ 6.0, < 6.0.11 | 6.0.11 | |
| ≥ 5.2, < 5.2.20 | 5.2.20 |
References by type
Patches and fixed releases
- github.com/django/django/commit/06768e69078df785496f2987effd3e902c07f53d
- github.com/django/django/commit/51dcaaf51d1ccb9db8e5755b641d6dd34facb7f7
- github.com/django/django/commit/7f7d6ca6999de67321f5c0a7d8aaf56e192426ef
- github.com/django/django/commit/c2ccd78ec0a9fe6fe897815db941e09a845a6e91
Other references
Affected
- djangoproject Django
What to do
- Follow the vendor advisory and the references below for fixed versions and workarounds.
Frequently asked questions
What is 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. Weakness type: Incorrect Calculation of Buffer Size (CWE-131).
How severe is CVE-2026-132809?
CVE-2026-132809 has a CVSS 4.0 base score of 6.9 (medium), from the CNA. An attacker without an account can exploit this over the network, without any user action.
Is CVE-2026-132809 being exploited?
Not as far as is known: CVE-2026-132809 is not in CISA's Known Exploited Vulnerabilities catalog as of December 2, 2026.
Which versions are affected by CVE-2026-132809?
djangoproject Django ≥ 6.1, < 6.1.4 (fixed in 6.1.4); djangoproject Django ≥ 6.0, < 6.0.11 (fixed in 6.0.11); djangoproject Django ≥ 5.2, < 5.2.20 (fixed in 5.2.20).
How do I fix CVE-2026-132809?
Update to a fixed release: djangoproject Django 6.1.4; djangoproject Django 6.0.11; djangoproject Django 5.2.20.
Timeline & sources
- oss-security: Django CVE-2026-115868, CVE-2026-119642, CVE-2026-124827, CVE-2026-125673, CVE-2026-127929,...
- NVD: CVE-2026-132809 — djangoproject Django
References
Related vulnerabilities & news
- CVE-2026-132092 — djangoproject Django
- Ubuntu Advisory USN-9335-1 Fixes Certificate Validation Flaw in python-scciclient
- PAGI-FastAPI for Perl Flaw Lets to_app Deployments Skip Auth and CSRF Middleware
- Pydantic Deep 0.2.18 Before 0.4.0 Missing Authentication in DeepResearch App
- Path Traversal Vulnerability in torchvision's extracttar() Function