CVE-2026-53877 Django: GDALRaster may over-read heap memory when constructed from bytes
A medium-severity vulnerability reachable over the network, needing no privileges and no user interaction. EPSS estimates a 0.5% chance of exploitation in the next 30 days. A fixed version is named.
- Exploited in the wild
- Not in KEV
- EPSS
- 0.5%
- percentile 38%
- Fix
- Named by a source
- CVE published 7 Jul 2026
Reference
None of the "Needs attention" rules apply right now.
EPSS 0.5% (+1) · Network attack vector (+10) · No privileges required (+5) · No user interaction (+5)
Immediate actions
- django (PyPI): upgrade to 5.2.16 / 6.0.7 or later on your release line.
- Patch: https://docs.djangoproject.com/en/dev/releases/security/
- Patch: https://www.djangoproject.com/weblog/2026/jul/07/security-releases/
- Commit / pull request: https://github.com/django/django/commit/38dfbd27d7d4f4e6eaa087d7a90f2613fbf55b3a
- Commit / pull request: https://github.com/django/django/commit/6c66eb8cec52b303af85c2c6e4dd00aa37654dbc
- Commit / pull request: https://github.com/django/django/commit/6ca2bbe2efce21010eff48f1f36a3f621d698ed8
- Advisory: https://groups.google.com/g/django-announce
- Advisory: https://nvd.nist.gov/vuln/detail/CVE-2026-53877
- Advisory: https://github.com/advisories/GHSA-crhf-3pfg-w68w
Who should check
django (PyPI) pkg:pypi/django
- Affected< 5.2.16Fixed in5.2.16OSV (GHSA-crhf-3pfg-w68w)
- Affected>= 6.0.0, < 6.0.7Fixed in6.0.7OSV (GHSA-crhf-3pfg-w68w)
- Affected>= 5.2, < 5.2.16Fixed in5.2.16OSV (PYSEC-2026-2091)
- Affected>= 6.0, < 6.0.7Fixed in6.0.7OSV (PYSEC-2026-2091)
djangoproject django product:djangoproject/django
- Affected>= 6.0, < 6.0.7Affected range ends before6.0.7as published by CNA (CVE List)
- Affected>= 5.2, < 5.2.16Affected range ends before5.2.16as published by CNA (CVE List)
- Affected>= 5.2, < 5.2.16Affected range ends before5.2.16as published by CPE data (via the NVD API)
- Affected>= 6.0, < 6.0.7Affected range ends before6.0.7as published by CPE data (via the NVD API)
Products (not packages) are shown as their sources publish them. We check no product version against these ranges; a fixed version is the one the source names. Ask the vendor's advisory.
Confirmed facts
- CVSS
- 4.8 MEDIUM (version 3.1)
- Score from
- CNA (6a34fbeb-21d4-45e7-8e0a-62b95bc12c92)
- Attack vector
- network
- Attack complexity
- high
- Privileges required
- none
- User interaction
- none
- Weakness
- CWE-805
- Exploitation (CISA SSVC)
- none
- Automatable (CISA SSVC)
- no
- Assigned by
- 6a34fbeb-21d4-45e7-8e0a-62b95bc12c92
Unknowns
- We show one CVSS score. Other sources may score this CVE differently.
Advisory text
Quoted from the source advisory (untrusted)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.
Update history
- 7 Jul 2026Published
References
- patchhttps://docs.djangoproject.com/en/dev/releases/security/
- advisoryhttps://groups.google.com/g/django-announce
- patchhttps://www.djangoproject.com/weblog/2026/jul/07/security-releases/
- advisoryhttps://nvd.nist.gov/vuln/detail/CVE-2026-53877
- commit / pull requesthttps://github.com/django/django/commit/38dfbd27d7d4f4e6eaa087d7a90f2613fbf55b3a
- commit / pull requesthttps://github.com/django/django/commit/6c66eb8cec52b303af85c2c6e4dd00aa37654dbc
- commit / pull requesthttps://github.com/django/django/commit/6ca2bbe2efce21010eff48f1f36a3f621d698ed8
- otherhttps://docs.djangoproject.com/en/dev/releases/security
- otherhttps://github.com/pypa/advisory-database/tree/main/vulns/django/PYSEC-2026-2091.yaml
- otherhttps://www.djangoproject.com/weblog/2026/jul/07/security-releases
- advisoryhttps://github.com/advisories/GHSA-crhf-3pfg-w68w
Sources
- EPSS by FIRST.org, Free to use, attribution requested. Scores generated by Empirical Security.
- CVE-2026-53877 (CVE List (CNA and CISA ADP data, through the NVD API)), CVE terms of use. Copyright The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation.
- NVD API 2.0 (NIST), the API we query, NVD API terms of use. This product uses the NVD API but is not endorsed or certified by the NVD.
- GHSA-crhf-3pfg-w68w (GitHub Advisory Database), CC BY 4.0.
- PYSEC-2026-2091 (PyPA Advisory Database), CC BY 4.0.
- OSV.dev, Per database.
This page is our own presentation: records are shortened, normalised and merged. Licences
Last checked: kev 13 min ago · osv 13 min ago · nvd 74 min ago · epss 13 min ago · JSON · ask via MCP: explain_vulnerability
Also known as BIT-django-2026-53877, GHSA-crhf-3pfg-w68w, PYSEC-2026-2091