Regression history around OGRGeometry.wkb and CVE-2010-4534
A familiar class of defect
CVE-2026-132809 is a special case of CVE-2010-4534 that regressed in Django 5.0.3, according to the official Django security release. The current issue again involves OGRGeometry.wkb and a buffer that is too small for the geometry data later written into it.
The history is useful because it shows why dependency upgrades and regression tests both matter. A defect can be corrected years earlier and still return through a later code change.
What changed in the current case
The affected property is still the WKB serialization path, but the published trigger is now explicit: geometries larger than 4GB on 64-bit platforms. The hex and geos properties and pickling of OGRGeometry also exposed the problem.
The official release assigns the issue low severity. Rapid7 records CVSS 3.1 score 5.3 with availability impact only. The practical outcome is a segmentation fault or undefined behavior during conversion. The sources do not describe a confirmed code execution exploit.
Why the regression matters
A regression can survive because the original test case no longer represents the environment in which the bug appears. A test that only uses small geometries will not exercise a 4GB boundary. Moving from 32-bit to 64-bit workers can also create conditions that the original test environment never reached.
Teams should not rely on a past fix as proof of current safety. They should verify the installed Django release and the exact code path in the current application.
Build a lasting regression check
Keep tests for every property named in the advisory. Cover wkb, hex, geos, and pickling where the application uses them. Use an injected size limit or a controlled test seam to exercise boundary decisions without allocating four gigabytes in every CI run.
Add at least one integration path that represents production input. If the service accepts uploaded geometry, test a payload above the allowed size and confirm that it is rejected before GDAL serialization.
Upgrade and review
Django 6.1.4, 6.0.11, and 5.2.20 contain the fix. Upgrade supported services and migrate off unsupported lines. After deployment, confirm the running package version inside workers and repeat the boundary tests.
Review the patch history whenever the geometry library or Django release changes. This CVE is a reminder that security regressions can return through ordinary maintenance.


