CVE-2026-53877: CWE-805: Buffer Access with Incorrect Length Value in djangoproject Django
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 Analysis
Technical Summary
CVE-2026-53877 is a medium-severity vulnerability in Django's GIS component where the GDALRaster class over-reads its in-memory buffer when instantiated from a bytes object. This improper buffer access occurs upon accessing the vsi_buffer property, potentially leaking adjacent memory contents or causing a segmentation fault that degrades service availability. The vulnerability affects Django versions 5.2 before 5.2.16 and 6.0 before 6.0.7. No official remediation level or patch links are provided in the available data. Earlier unsupported versions such as 5.0.x, 4.1.x, and 3.2.x were not evaluated for this issue.
Potential Impact
The vulnerability can lead to information disclosure through adjacent memory leakage or cause service degradation via segmentation faults when the vulnerable property is accessed. This impacts confidentiality and availability but does not affect integrity. The CVSS 3.1 base score is 4.8 (medium), reflecting network attack vector with high attack complexity and no privileges or user interaction required.
Mitigation Recommendations
Patch status is not yet confirmed — check the official Django vendor advisory for current remediation guidance. Until a patch is available, avoid using the vulnerable GDALRaster functionality with untrusted bytes objects or accessing the vsi_buffer property. Monitor Django's official security announcements for updates and apply official fixes once released.
CVE-2026-53877: CWE-805: Buffer Access with Incorrect Length Value in djangoproject Django
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.
CVSS v3.1
Score 4.8medium
Affected software
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
CVE-2026-53877 is a medium-severity vulnerability in Django's GIS component where the GDALRaster class over-reads its in-memory buffer when instantiated from a bytes object. This improper buffer access occurs upon accessing the vsi_buffer property, potentially leaking adjacent memory contents or causing a segmentation fault that degrades service availability. The vulnerability affects Django versions 5.2 before 5.2.16 and 6.0 before 6.0.7. No official remediation level or patch links are provided in the available data. Earlier unsupported versions such as 5.0.x, 4.1.x, and 3.2.x were not evaluated for this issue.
Potential Impact
The vulnerability can lead to information disclosure through adjacent memory leakage or cause service degradation via segmentation faults when the vulnerable property is accessed. This impacts confidentiality and availability but does not affect integrity. The CVSS 3.1 base score is 4.8 (medium), reflecting network attack vector with high attack complexity and no privileges or user interaction required.
Mitigation Recommendations
Patch status is not yet confirmed — check the official Django vendor advisory for current remediation guidance. Until a patch is available, avoid using the vulnerable GDALRaster functionality with untrusted bytes objects or accessing the vsi_buffer property. Monitor Django's official security announcements for updates and apply official fixes once released.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- DSF
- Date Reserved
- 2026-06-11T01:11:27.545Z
- Cvss Version
- 3.1
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6a4d1440c9d9e3dbe35d5c7e
Added to database: 07/07/2026, 14:59:12 UTC
Last enriched: 07/07/2026, 15:13:21 UTC
Last updated: 07/07/2026, 15:58:56 UTC
Views: 6
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.