Vulnerability Description
A missing bounds check in the BSON CodeWScope element accessors allows an attacker to trigger an out-of-bounds heap read via a crafted aggregation pipeline. The vulnerability can be exploited by an authenticated user by generating a malformed BSONColumn data containing a CodeWScope element, bypassing wire-level BSON validation. When the forged element is decompressed, the unchecked size value is used in pointer arithmetic, causing either a server crash or disclosure of adjacent heap memory contents.
CVSS Score
HIGH
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Mongodb | Mongodb | >= 7.0.0, < 7.0.39 |
Related Weaknesses (CWE)
References
- https://jira.mongodb.org/browse/SERVER-129103Vendor AdvisoryPatch
FAQ
What is CVE-2026-13077?
CVE-2026-13077 is a vulnerability with a CVSS score of 7.1 (HIGH). A missing bounds check in the BSON CodeWScope element accessors allows an attacker to trigger an out-of-bounds heap read via a crafted aggregation pipeline. The vulnerability can be exploited by an au...
How severe is CVE-2026-13077?
CVE-2026-13077 has been rated HIGH with a CVSS base score of 7.1/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2026-13077?
Check the references section above for vendor advisories and patch information. Affected products include: Mongodb Mongodb.