# CVE-2026-53877: Heap buffer over-read in GDALRaster

- Severity: Medium 6.3 (CVSS:4.0, scored by DSF) `CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:L/VI:N/VA:L/SC:N/SI:N/SA:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.53%, higher than 38% of CVEs (2026-11-30)
- Published: 2026-07-07T14:10:04.025Z
- Modified: 2026-10-25T20:10:00.147Z
- Also known as: GHSA-crhf-3pfg-w68w, BIT-DJANGO-2026-53877, PYSEC-2026-2091
- Weaknesses: CWE-805
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: DSF

## 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.

(As written by CVE List.)

## Affected

- django: from 6.0 before 6.0.7; from 5.2 before 5.2.16 (not affected: 6.0.7; 5.2.16)
- 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.7
- djangoproject django: from 5.2 before 5.2.16; from 6.0 before 6.0.7
- django (Bitnami): from 5.2.0 before 5.2.16; from 6.0.0 before 6.0.7

## Every score

- DSF: CVSS:3.1 4.8 Medium `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:L`
- DSF: CVSS:4.0 6.3 Medium `CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:L/VI:N/VA:L/SC:N/SI:N/SA:N`
- GitHub: CVSS:3.1 4.8 Medium `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:L`
- GitHub: CVSS:4.0 Medium `CVSS: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 Database: CVSS:4.0 `CVSS: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 Database: rating Medium

## References

- <https://docs.djangoproject.com/en/dev/releases/security/> (advisory, fix, patch, vendor-advisory)
- <https://groups.google.com/g/django-announce> (advisory, 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-53877> (advisory, web)
- <https://github.com/django/django/commit/38dfbd27d7d4f4e6eaa087d7a90f2613fbf55b3a> (web)
- <https://github.com/django/django/commit/6c66eb8cec52b303af85c2c6e4dd00aa37654dbc> (web)
- <https://github.com/django/django/commit/6ca2bbe2efce21010eff48f1f36a3f621d698ed8> (web)
- <https://docs.djangoproject.com/en/dev/releases/security> (web)
- <https://github.com/pypa/advisory-database/tree/main/vulns/django/PYSEC-2026-2091.yaml> (web)
- <https://www.djangoproject.com/weblog/2026/jul/07/security-releases> (web)
- <https://github.com/advisories/GHSA-crhf-3pfg-w68w> (advisory)

## Sources

- CVE List: [CVE-2026-53877](https://www.cve.org/CVERecord?id=CVE-2026-53877), CVE Terms of Use, modified 2026-07-07
- GitHub Advisory Database: [GHSA-crhf-3pfg-w68w](https://github.com/advisories/GHSA-crhf-3pfg-w68w), CC-BY-4.0, modified 2026-09-10
- NVD: [CVE-2026-53877](https://nvd.nist.gov/vuln/detail/CVE-2026-53877), Public domain, modified 2026-10-25
- PyPA Advisory Database: [PYSEC-2026-2091](https://osv.dev/vulnerability/PYSEC-2026-2091), CC-BY-4.0, modified 2026-08-10
- Bitnami Vulnerability Database: [BIT-DJANGO-2026-53877](https://osv.dev/vulnerability/BIT-DJANGO-2026-53877), Apache-2.0, modified 2026-09-08

---

Page: https://cve.day/CVE-2026-53877 · Whole record: https://cve.day/CVE-2026-53877.json · Rebuilt by cve.day 2026-11-25T22:59:27.297Z
