Skip to content

CVE-2026-120811 Use-After-Free in MongoDB Server Classic Query Engine Plan Cache Leads to Information Disclosure and Denial of Service

MediumCVSS 6.0 EPSS 0.26%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: no · technical impact: partial

Description

A use-after-free issue exists in the MongoDB server’s classic query engine plan cache. Under certain query conditions, an unowned reference to data from an earlier command can be retained in cached plan statistics. After the originating memory is freed, a subsequent diagnostic command serializing those statistics can read freed heap memory, potentially returning sensitive server process memory contents to the authenticated client. Under certain heap reuse conditions, this may also cause the server to crash.

Upgrade path

1 package: 1 fixed.

PackageAffectedFixed inStatus
MongoDB Server >= 7.0.0, < 7.0.48; >= 8.0.0, < 8.0.37; >= 8.3.0, < 8.3.16; >= 9.0.0, < 9.0.7 7.0.48, 8.0.37, 8.3.16, 9.0.7 Fixed

Affected products

ProductAffected versionsFixed in
MongoDB Server >= 9.0.0, < 9.0.7 9.0.7
MongoDB Server >= 8.3.0, < 8.3.16 8.3.16
MongoDB Server >= 8.0.0, < 8.0.37 8.0.37
MongoDB Server >= 7.0.0, < 7.0.48 7.0.48

References