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 buffer access vulnerability classified as CWE-805 in Django's GIS module. Specifically, the GDALRaster class over-reads its in-memory buffer when instantiated from a bytes object. This can lead to information disclosure of adjacent memory or service degradation through a segmentation fault upon accessing the vsi_buffer property. The vulnerability affects Django 6.0 versions prior to 6.0.7 and 5.2 versions prior to 5.2.16. Unsupported earlier versions such as 5.0.x, 4.1.x, and 3.2.x were not evaluated but may also be vulnerable. The issue was responsibly disclosed by Bence Nagy.
Potential Impact
Successful exploitation can result in partial disclosure of adjacent memory contents or cause a denial of service due to a segmentation fault. The impact is limited to confidentiality and availability, with no integrity impact reported. The CVSS score of 4.8 reflects a medium severity with network attack vector, high attack complexity, no privileges required, no user interaction, and unchanged scope.
Mitigation Recommendations
A patch is available that fixes this vulnerability in Django versions 6.0.7 and 5.2.16. Users should upgrade to these or later versions to remediate the issue. Since this is not a cloud service, remediation depends on applying the official Django updates. There is no indication that no action is required or that the issue is already mitigated without patching.
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 buffer access vulnerability classified as CWE-805 in Django's GIS module. Specifically, the GDALRaster class over-reads its in-memory buffer when instantiated from a bytes object. This can lead to information disclosure of adjacent memory or service degradation through a segmentation fault upon accessing the vsi_buffer property. The vulnerability affects Django 6.0 versions prior to 6.0.7 and 5.2 versions prior to 5.2.16. Unsupported earlier versions such as 5.0.x, 4.1.x, and 3.2.x were not evaluated but may also be vulnerable. The issue was responsibly disclosed by Bence Nagy.
Potential Impact
Successful exploitation can result in partial disclosure of adjacent memory contents or cause a denial of service due to a segmentation fault. The impact is limited to confidentiality and availability, with no integrity impact reported. The CVSS score of 4.8 reflects a medium severity with network attack vector, high attack complexity, no privileges required, no user interaction, and unchanged scope.
Mitigation Recommendations
A patch is available that fixes this vulnerability in Django versions 6.0.7 and 5.2.16. Users should upgrade to these or later versions to remediate the issue. Since this is not a cloud service, remediation depends on applying the official Django updates. There is no indication that no action is required or that the issue is already mitigated without patching.
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: 08/08/2026, 15:13:50 UTC
Last updated: 08/21/2026, 10:52:11 UTC
Views: 111
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.