Quick answers
- Is CVE-2026-53877 exploited in the wild?
- No. Junglewise Threat Intelligence has no report of CVE-2026-53877 being exploited in the wild.
- How severe is CVE-2026-53877?
- Medium severity, with a CVSS score of 4.8, published 7 July 2026.
- Which products and versions are affected?
- Django (PyPI) ECOSYSTEM:introduced=0,fixed=5.2.16, ECOSYSTEM:introduced=5.2,fixed=5.2.16,introduced=6.0,fixed=6.0.7.
- Is there a fix for CVE-2026-53877?
- Yes. Django (PyPI): upgrade to 5.2.16, 6.0.7 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
- How is CVE-2026-53877 attacked?
- It is attacked over the network, in a software library.
- Am I affected by CVE-2026-53877?
- Check whether you run Django (PyPI) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.
How to fix
- Django (PyPI): upgrade to 5.2.16, 6.0.7 or later
pip install "Django>=6.0.7"
Technical details
A heap buffer over-read vulnerability (CWE-805) exists in the `django.contrib.gis.gdal.GDALRaster` component of Django. The flaw occurs when a `GDALRaster` object is constructed from a bytes object, causing it to over-read its in-memory buffer. An attacker can trigger this by accessing the `vsi_buffer` property, which may result in the disclosure of adjacent heap memory or a segmentation fault leading to a denial-of-service. The vulnerability is reachable over the network if the application processes user-supplied raster data. Patches are available in versions 5.2.16 and 6.0.7.
Affected products
- Django Software Foundation Django 5.2 before 5.2.16, 6.0 before 6.0.7
Identifiers
- CVE-2026-53877
- GHSA-crhf-3pfg-w68w
- PYSEC-2026-2091
Timeline
- 2026-07-07: disclosed
- 2026-07-07: patched
- 2026-07-07: advisory
References
- https://docs.djangoproject.com/en/dev/releases/security
- https://groups.google.com/g/django-announce
- https://www.djangoproject.com/weblog/2026/jul/07/security-releases
- https://github.com/django/django/commit/38dfbd27d7d4f4e6eaa087d7a90f2613fbf55b3a
- https://github.com/django/django/commit/6c66eb8cec52b303af85c2c6e4dd00aa37654dbc