Medium severity4.8NVD Advisory· Published Jul 7, 2026· Updated Jul 9, 2026
CVE-2026-53877
CVE-2026-53877
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.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
djangoPyPI | < 5.2.16 | 5.2.16 |
djangoPyPI | >= 6.0.0, < 6.0.7 | 6.0.7 |
Affected products
15- Range: <6.0.7, <5.2.16
- osv-coords12 versionspkg:apk/chainguard/authentik-2026.2pkg:rpm/opensuse/python-Django4&distro=openSUSE%20Tumbleweedpkg:rpm/opensuse/python-Django6&distro=openSUSE%20Tumbleweedpkg:rpm/opensuse/python-Django&distro=openSUSE%20Tumbleweedpkg:rpm/opensuse/python-Django5&distro=openSUSE%20Tumbleweedpkg:apk/chainguard/authentik-2026.5pkg:apk/chainguard/authentik-fips-2026.2pkg:apk/chainguard/authentik-fips-2026.5pkg:apk/chainguard/openstack-horizon-2026.1pkg:apk/chainguard/openstack-horizon-2026.1-fipspkg:bitnami/djangopkg:rpm/opensuse/python-Django&distro=openSUSE%20Leap%2016.0
< 2026.2.6-r14+ 11 more
- (no CPE)range: < 2026.2.6-r14
- (no CPE)range: < 4.2.30-4.1
- (no CPE)range: < 6.0.7-1.1
- (no CPE)range: < 5.2.16-1.1
- (no CPE)range: < 5.2.16-1.1
- (no CPE)range: < 2026.5.6-r6
- (no CPE)range: < 2026.2.6-r14
- (no CPE)range: < 2026.5.6-r8
- (no CPE)range: < 25.7.3_git20260806-r1
- (no CPE)range: < 25.7.3_git20260806-r1
- (no CPE)range: >= 5.2.0, < 5.2.16
- (no CPE)range: < 5.2.4-bp160.10.1
Patches
Vulnerability mechanics
References
11- docs.djangoproject.com/en/dev/releases/security/nvdPatchVendor Advisory
- github.com/advisories/GHSA-crhf-3pfg-w68wghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2026-53877ghsaADVISORY
- www.djangoproject.com/weblog/2026/jul/07/security-releases/nvdVendor AdvisoryPatch
- docs.djangoproject.com/en/dev/releases/securityghsaWEB
- github.com/django/django/commit/38dfbd27d7d4f4e6eaa087d7a90f2613fbf55b3aghsaWEB
- github.com/django/django/commit/6c66eb8cec52b303af85c2c6e4dd00aa37654dbcghsaWEB
- github.com/django/django/commit/6ca2bbe2efce21010eff48f1f36a3f621d698ed8ghsaWEB
- github.com/pypa/advisory-database/tree/main/vulns/django/PYSEC-2026-2091.yamlghsaWEB
- groups.google.com/g/django-announcenvdRelease NotesWEB
- www.djangoproject.com/weblog/2026/jul/07/security-releasesghsaWEB
News mentions
0No linked articles in our index yet.