CVE-2026-132809 Heap buffer overflow in OGRGeometry.wkb

Published Updated

Large geometries written to OGRGeometry.wkb in Django can overflow a heap buffer, degrading services; Django sites using GDAL should care.

CVSS score

Medium

6.9/10

CVSS 4.0 · Scored by DSF Breakdown
Exploited in the wild
Not known
Not in CISA's KEV catalogue
Exploit code
None known
No public exploit found
Fix
Available
6.1.4, 6.0, 6.0.11 +1
Attack path
Over the internet
No login, no user action

What is CVE-2026-132809?

CVE-2026-132809 is a medium-severity memory corruption vulnerability in djangoproject Django, published on 2 Dec 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

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.

Weakness: CWE-131

How severe is CVE-2026-132809?

CVE-2026-132809 scores 6.9 out of 10 under CVSS 4.0, which is medium severity. It was scored by DSF.

Attack vector
Network
Attack complexity
Low
Attack requirements
None
Privileges required
None
User interaction
None
Confidentiality
None
Integrity
None
Availability
Low

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

Which versions are affected by CVE-2026-132809?

An affected version is only exploitable if your software calls django.contrib.gis.gdal.OGRGeometry.wkb. Many projects that include it are not exposed.

How do I fix CVE-2026-132809?

Upgrade djangoproject Django to the fixed version for your release line. The advisory names 6.1.4, 6.0, 6.0.11 and 5.2.

Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.

Is CVE-2026-132809 being exploited?

There is no known exploitation of CVE-2026-132809 in the wild and no public exploit code.

Sources

Also known as ALPINE-CVE-2026-132809, DEBIAN-CVE-2026-132809, GHSA-hp5x-9rj6-742r, UBUNTU-CVE-2026-132809.

Is CVE-2026-132809 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free