{"schemaVersion":4,"id":"CVE-2026-132809","aliases":["DEBIAN-CVE-2026-132809","UBUNTU-CVE-2026-132809"],"status":"published","duplicateOf":null,"title":"Heap buffer overflow in OGRGeometry.wkb","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.\n`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.\nEarlier, unsupported Django series (such as 5.1.x, 5.0.x, and 4.2.x) were not evaluated and may also be affected.\nDjango would like to thank Zhixi \"Jace\" Sun for reporting this issue.","dates":{"published":"2026-12-02T13:21:31.184Z","modified":"2026-12-03T14:05:55.710Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":6.9,"severity":"medium","version":"4.0","versionLabel":"v4.0","source":"CVE.org","vector":"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","computed":false,"selection":"backend-summary"},"metrics":[{"version":"4.0","versionLabel":"v4.0","source":"CVE.org","score":6.9,"severity":"medium","vector":"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","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":5.3,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","exploitability":null,"impact":null,"computed":false},{"version":"4.0","versionLabel":"v4.0","source":"NVD","score":6.9,"severity":"medium","vector":"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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":5.3,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","exploitability":null,"impact":null,"computed":false},{"version":"4.0","versionLabel":"v4.0","source":"OSV · Debian","score":6.9,"severity":"medium","vector":"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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","exploitability":null,"impact":null,"computed":true}]},"epss":{"probability":0.00752,"percentile":0.56384,"severity":"low","asOf":"2026-12-04T00:00:00.000Z","change":{"pp":null,"baselineDate":null,"baselineScore":null},"history":[{"date":"2026-12-03T00:00:00.000Z","score":0.00752,"percentile":null},{"date":"2026-12-04T00:00:00.000Z","score":0.00752,"percentile":0.56384}],"last30":[{"date":"2026-12-03T00:00:00.000Z","score":0.00752,"percentile":null},{"date":"2026-12-04T00:00:00.000Z","score":0.00752,"percentile":0.56384}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-131","name":"Incorrect Calculation of Buffer Size","description":"The product does not correctly calculate the size to be used when allocating a buffer.","type":"weakness","status":"Draft","abstraction":"Base","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/131.html"}],"affected":[{"vendor":"debian","product":"python-django","name":"python-django","label":"python-django","ecosystem":"Debian","cpePart":null,"purl":"pkg:deb/debian/python-django","purlType":"deb","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null,"bounds":{"kind":"all"}}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"python-django","name":"python-django","label":"python-django","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/python-django","purlType":"deb","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null,"bounds":{"kind":"all"}}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"djangoproject","product":"django","name":"Django","label":"django","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ 6.1, < 6.1.4","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":"6.1","startInclusive":true,"end":"6.1.4","endInclusive":false}},{"text":"≥ 6.0, < 6.0.11","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":"6.0","startInclusive":true,"end":"6.0.11","endInclusive":false}},{"text":"≥ 5.2, < 5.2.20","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":"5.2","startInclusive":true,"end":"5.2.20","endInclusive":false}}],"versionsText":"≥ 6.1, < 6.1.4 | ≥ 6.0, < 6.0.11 | ≥ 5.2, < 5.2.20","eol":{"isEol":null,"eolDate":null,"matchMethod":"cpe","cycle":null,"product":{"name":"django","label":"Django","category":"framework"}},"hubHref":"/vendor/djangoproject/django"}],"affectedCount":3,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://docs.djangoproject.com/en/dev/releases/security/","label":"docs.djangoproject.com/en/dev/releases/security/","hostname":"docs.djangoproject.com","tags":["Vendor Advisory"]},{"url":"https://groups.google.com/g/django-announce","label":"groups.google.com/g/django-announce","hostname":"groups.google.com","tags":["Mailing List"]},{"url":"https://github.com/django/django/commit/c2ccd78ec0a9fe6fe897815db941e09a845a6e91","label":"github.com/django/django/commit/c2ccd78ec0a9fe6fe897815db941e09a845a6e91","hostname":"github.com","tags":["Patch"]},{"url":"https://github.com/django/django/commit/7f7d6ca6999de67321f5c0a7d8aaf56e192426ef","label":"github.com/django/django/commit/7f7d6ca6999de67321f5c0a7d8aaf56e192426ef","hostname":"github.com","tags":["Patch"]},{"url":"https://github.com/django/django/commit/06768e69078df785496f2987effd3e902c07f53d","label":"github.com/django/django/commit/06768e69078df785496f2987effd3e902c07f53d","hostname":"github.com","tags":["Patch"]},{"url":"https://github.com/django/django/commit/51dcaaf51d1ccb9db8e5755b641d6dd34facb7f7","label":"github.com/django/django/commit/51dcaaf51d1ccb9db8e5755b641d6dd34facb7f7","hostname":"github.com","tags":["Patch","REPORT"]},{"url":"https://www.djangoproject.com/weblog/2026/dec/02/security-releases/","label":"www.djangoproject.com/weblog/2026/dec/02/security-releases/","hostname":"www.djangoproject.com","tags":["Vendor Advisory","REPORT"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2026-132809","label":"security-tracker.debian.org/tracker/CVE-2026-132809","hostname":"security-tracker.debian.org","tags":["Advisory"]},{"url":"https://ubuntu.com/security/CVE-2026-132809","label":"ubuntu.com/security/CVE-2026-132809","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-132809","label":"www.cve.org/CVERecord?id=CVE-2026-132809","hostname":"www.cve.org","tags":["REPORT"]}],"lineage":{"upstream":[],"downstream":["MGASA-2026-0650"],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2026-12-02T13:21:31.184Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2026-12-03T14:05:55.710Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"priority":{"label":"routine","tag":null,"reason":"Not severe (CVSS 6.9, network access); no exploitation reported by the 5 checked sources","nextStep":"Fix in the normal cadence","rank":[0,0,0,0,1,69],"checkedSources":["cisa","enisa","circl","shadowserver","cisa-adp"],"evidence":[{"type":"epss","source":"FIRST","date":"2026-12-04T00:00:00.000Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"value":0.00752,"stale":false,"promoted":null},{"type":"cvss","source":"cve.org","date":"2026-12-03T14:05:55.710Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":6.9,"vector":"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","version":"4.0","headline":true},{"type":"cvss","source":"cve.org","date":"2026-12-03T14:05:55.710Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":5.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","version":"3.1"},{"type":"cvss","source":"nvd","date":"2026-12-03T14:05:55.710Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":6.9,"vector":"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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","version":"4.0"},{"type":"cvss","source":"nvd","date":"2026-12-03T14:05:55.710Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":5.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","version":"3.1"},{"type":"cvss","source":"osv_debian","date":"2026-12-03T14:05:55.710Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":6.9,"vector":"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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","version":"4.0"},{"type":"adp","source":"cisa-adp","date":"2026-12-03T14:05:09.745Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"exploitation":"none"}],"epss":{"value":0.00752,"date":"2026-12-04T00:00:00.000Z","stale":false,"promoted":null},"sources":[{"id":"cisa","lastSuccessfulSync":"2026-12-05T07:02:00.704Z","state":"fresh"},{"id":"enisa","lastSuccessfulSync":"2026-12-05T07:02:01.187Z","state":"fresh"},{"id":"circl","lastSuccessfulSync":"2026-12-05T07:02:01.389Z","state":"fresh"},{"id":"shadowserver","lastSuccessfulSync":null,"state":"unavailable"},{"id":"cisa-adp","lastSuccessfulSync":"2026-12-05T07:01:05.155Z","state":"fresh"},{"id":"epss","lastSuccessfulSync":"2026-12-05T07:01:59.185Z","state":"fresh"},{"id":"osv","lastSuccessfulSync":"2026-12-05T07:01:58.234Z","state":"fresh"}],"feedEvent":null},"meta":{"dataAsOf":"2026-12-05T07:49:23.033Z","stale":false,"partial":false}}