Heap-based buffer overflow in Django - CVE-2026-132809

 

Heap-based buffer overflow in Django - CVE-2026-132809

Published: December 2, 2026


Vulnerability identifier: #VU172353
CSH Severity: Low
CVSS v4: 6.8 [CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2026-132809
CWE-ID: CWE-122
Exploitation vector: Local access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a local user to potentially cause a denial of service by crashing the process that handles geometry data.

The vulnerability exists due to a heap-based buffer overflow in django.contrib.gis.gdal.OGRGeometry.wkb when exporting a large geometry to well-known binary format. A local user can cause the affected code to process oversized geometry data, resulting in a write beyond the allocated buffer that may crash the process.

The buffer is undersized for geometries larger than 4 GB on 64-bit platforms.


Affected software

Django

How to mitigate CVE-2026-132809

Install security update from vendor's website.

Django - addressed in versions 5.2.20, 6.0.11, 6.1.4

External References

Related Security Bulletins