CVE-2026-132809: Django heap buffer overflow in OGRGeometry.wkb

CVE-2026-132809 · Severity: medium · CVSS 5.3 · Published 2026-12-02

Django is a web development framework that processes geographic data through its GIS (Geographic Information System) components. A flaw in how Django allocates memory for geographic geometries larger than 4GB can cause the application to crash or become unresponsive when GDAL (a geospatial library) attempts to write data to an undersized buffer. This affects servers using Django with geographic data processing features on 64-bit systems.

Technologies: Django Software Foundation Django. Vendors: Django Software Foundation.

Quick answers

Is CVE-2026-132809 exploited in the wild?
No. Junglewise Threat Intelligence has no report of CVE-2026-132809 being exploited in the wild.
How severe is CVE-2026-132809?
Medium severity, with a CVSS score of 5.3, published 2 December 2026.
Which products and versions are affected?
Django Software Foundation Django 6.1 before 6.1.4, 6.0 before 6.0.11, 5.2 before 5.2.20.
Is there a fix for CVE-2026-132809?
Yes: fixed in Django 6.1.4, 6.0.11, 5.2.20. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
How is CVE-2026-132809 attacked?
It is attacked over the network, in a software library.
Am I affected by CVE-2026-132809?
Check whether you run Django Software Foundation Django at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

How to fix

  • Fixed in: Django 6.1.4, 6.0.11, 5.2.20

Technical details

The vulnerability exists in django.contrib.gis.gdal.OGRGeometry.wkb which allocates an undersized buffer for geometries exceeding 4GB on 64-bit platforms. When GDAL attempts to write to this insufficient buffer, a heap buffer overflow occurs, leading to service degradation. The issue requires processing of very large geographic geometries (>4GB) through the affected code path.

Affected products

  • Django Software Foundation Django 6.1 before 6.1.4, 6.0 before 6.0.11, 5.2 before 5.2.20

Timeline

  • 2026-12-02: disclosed

References

This page as Markdown. Free to reuse under CC BY 4.0 with a link back.