{"id":"CVE-2026-53877","published":"2026-07-07T14:10:04Z","modified":"2026-07-07T14:59:07Z","title":"Heap buffer over-read in GDALRaster","vendor":"djangoproject","product":"Django","tier":"tail","description":{"text":"An issue was discovered in Django 6.0 before 6.0.7 and 5.2 before 5.2.16.\n`django.contrib.gis.gdal.GDALRaster` over-reads its in-memory buffer when constructed from a bytes object, which can disclose adjacent memory or cause service degradation via a potential segmentation fault when the `vsi_buffer` property is accessed.\nEarlier, unsupported Django series (such as 5.0.x, 4.1.x, and 3.2.x) were not evaluated and may also be affected.\nDjango would like to thank Bence Nagy for reporting this issue.","provenance":"source","from":"CVE.org"},"cvss":{"score":4.8,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:L","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00527,"percentile":0.45521,"provenance":"source"},"cwes":[{"id":"CWE-805","name":"Buffer Access with Incorrect Length Value"}],"references":[{"url":"https://docs.djangoproject.com/en/dev/releases/security/","tags":["vendor-advisory"]},{"url":"https://groups.google.com/g/django-announce","tags":["mailing-list"]},{"url":"https://www.djangoproject.com/weblog/2026/jul/07/security-releases/","tags":["vendor-advisory"]}],"priority":{"score":12.5,"factors":[{"name":"EPSS percentile","points":9.1},{"name":"CVSS severity","points":3.36}]},"vendorSlug":"djangoproject","affectedVersions":[{"vendor":"djangoproject","product":"Django","versions":[">= 6.0, < 6.0.7",">= 5.2, < 5.2.16"]}],"fixedVersions":[{"vendor":"djangoproject","product":"Django","versions":["6.0.7","5.2.16"]}],"capec":[{"id":"CAPEC-540","name":"Overread Buffers"}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-07-07T14:58:59.505374Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"PyPI","package":"django","vulnerableRanges":["<5.2.16",">=6.0.0, <6.0.7",">=5.2, <5.2.16",">=6.0, <6.0.7"],"patched":["5.2.16","6.0.7"],"from":["GHSA-crhf-3pfg-w68w","PYSEC-2026-2091"],"provenance":"source"}],"summary":{"text":"Sentence 1: A heap buffer over-read exists in the GDALRaster component of Django, specifically in django.contrib.gis.gdal, which over-reads its in-memory buffer when constructed from a bytes object. Sentence 2: An attacker with network access and no authentication or user interaction could potentially disclose adjacent memory or degrade service, for example through a segmentation fault when the vsi_buffer property is accessed, and the flaw is triggered when GDALRaster is constructed from a bytes object.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:53:04Z"},"euvd":{"id":"EUVD-2026-42044","exploited":false,"provenance":"source"}}