Security mailing lists by PureSourceCode

CVE-2026-13077

HIGH 7.1CVSS 4.0

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.

Published
22 Jul 2026
Last modified
24 Oct 2026
Assigned by
cna@mongodb.com
NVD status
Analyzed
Weakness
CWE-125
Sources
NVDJSON

Scores

SourceScored byVersionScoreVector / decision
NVD cna@mongodb.com (Secondary) CVSS 4.0 HIGH 7.1 CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:N/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
NVD cna@mongodb.com (Secondary) CVSS 3.1 HIGH 7.1 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:H

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD mongodb mongodb
cpe:2.3:a:mongodb:mongodb:*:*:*:*:*:*:*:*
>= 7.0.0, < 7.0.39 7.0.39
NVD mongodb mongodb
cpe:2.3:a:mongodb:mongodb:*:*:*:*:*:*:*:*
>= 8.0.0, < 8.0.28 8.0.28
NVD mongodb mongodb
cpe:2.3:a:mongodb:mongodb:*:*:*:*:*:*:*:*
>= 8.2.0, < 8.2.12 8.2.12
NVD mongodb mongodb
cpe:2.3:a:mongodb:mongodb:*:*:*:*:*:*:*:*
>= 8.3.0, < 8.3.7 8.3.7

References

History

  • 25 Nov 2026 21:03 UTC · NVD: first stored (published 22 Jul 2026)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.