CVE-2026-53877
JSON

6.3medium

Heap buffer over-read in GDALRaster

Severity
6.3medium CVSS:4.0 by DSF
Exploit likelihood
0.53% (higher than 38% of CVEs)
Published
Last changed
Assigned by
DSF
Also known as
GHSA-crhf-3pfg-w68wBIT-DJANGO-2026-53877PYSEC-2026-2091

Description

An issue was discovered in Django 6.0 before 6.0.7 and 5.2 before 5.2.16. `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. Earlier, unsupported Django series (such as 5.0.x, 4.1.x, and 3.2.x) were not evaluated and may also be affected. Django would like to thank Bence Nagy for reporting this issue.

Affected

Product or packageVersionsReported by
djangofrom 6.0 before 6.0.7, from 5.2 before 5.2.16
Not affected: 6.0.7, 5.2.16
CVE List
django (PyPI)before 5.2.16, from 6.0.0 before 6.0.7, from 5.2 before 5.2.16, from 6.0 before 6.0.7GitHub Advisory Database, PyPA Advisory Database
djangoproject djangofrom 5.2 before 5.2.16, from 6.0 before 6.0.7NVD
django (Bitnami)from 5.2.0 before 5.2.16, from 6.0.0 before 6.0.7Bitnami Vulnerability Database

All scores

DSF4.8medium CVSS:3.1CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:L
DSF6.3medium CVSS:4.0CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:L/VI:N/VA:L/SC:N/SI:N/SA:N
GitHub4.8medium CVSS:3.1CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:L
GitHubmedium CVSS:4.0CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:L/VI:N/VA:L/SC:N/SI:N/SA:N
PyPA Advisory DatabaseNot scored CVSS:4.0CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:L/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
Bitnami Vulnerability Databasemedium rating

Classification

CWE-805

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

What each source says

CVE List

An issue was discovered in Django 6.0 before 6.0.7 and 5.2 before 5.2.16. `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. Earlier, unsupported Django series (such as 5.0.x, 4.1.x, and 3.2.x) were not evaluated and may also be affected. Django would like to thank Bence Nagy for reporting this issue.

NVD (es)

Se descubrió un problema en Django 6.0 anterior a 6.0.7 y 5.2 anterior a 5.2.16. ’django.contrib.gis.gdal.GDALRaster’ lee en exceso su búfer en memoria cuando se construye a partir de un objeto de bytes, lo que puede revelar memoria adyacente o causar degradación del servicio mediante una posible falla de segmentación cuando se accede a la propiedad ’vsi_buffer’. Series de Django anteriores y no compatibles (como 5.0.x, 4.1.x y 3.2.x) no fueron evaluadas y también pueden verse afectadas. Django desea agradecer a Bence Nagy por informar de este problema.

References

https://docs.djangoproject.com/en/dev/releases/security/advisory, fix, patch, vendor-advisory
https://groups.google.com/g/django-announceadvisory, article, mailing-list, release-notes, web
https://www.djangoproject.com/weblog/2026/jul/07/security-releases/advisory, fix, patch, vendor-advisory
https://nvd.nist.gov/vuln/detail/CVE-2026-53877advisory, web
https://github.com/django/django/commit/38dfbd27d7d4f4e6eaa087d7a90f2613fbf55b3aweb
https://github.com/django/django/commit/6c66eb8cec52b303af85c2c6e4dd00aa37654dbcweb
https://github.com/django/django/commit/6ca2bbe2efce21010eff48f1f36a3f621d698ed8web
https://docs.djangoproject.com/en/dev/releases/securityweb
https://github.com/pypa/advisory-database/tree/main/vulns/django/PYSEC-2026-2091.yamlweb
https://www.djangoproject.com/weblog/2026/jul/07/security-releasesweb
https://github.com/advisories/GHSA-crhf-3pfg-w68wadvisory

Sources

SourceRecordLicence
CVE ListCVE-2026-53877 changed 2026-07-07CVE Terms of Use
GitHub Advisory DatabaseGHSA-crhf-3pfg-w68w changed 2026-09-10CC-BY-4.0
NVDCVE-2026-53877 changed 2026-10-25Public domain
PyPA Advisory DatabasePYSEC-2026-2091 changed 2026-08-10CC-BY-4.0
Bitnami Vulnerability DatabaseBIT-DJANGO-2026-53877 changed 2026-09-08Apache-2.0