Description
A use-after-free vulnerability exists in MongoDB Server's server-side JavaScript engine when converting BSON documents to JavaScript arrays. An authenticated user with read privileges who is able to run server-side JavaScript (for example, via $where or $function) can cause the server to access memory that has already been freed. This may result in disclosure of information from the mongod process memory or a denial of service through a server crash.
Metrics
CVSS 3.1 8.8/10
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HWeakness enumeration
Affected software
| Vendor | Product | Versions |
|---|---|---|
| MongoDB | MongoDB | >= 8.3.0, <= 8.3.3; >= 8.2.0, <= 8.2.10; >= 8.0.0, <= 8.0.25; >= 7.0.0, <= 7.0.36; >= 6.0, <= 6.0.28; >= 5.0, <= 5.0.33; >= 4.4.0, <= 4.4.30 |
References
- https://jira.mongodb.org/browse/SERVER-128125Patch, Vendor Advisory
Timeline
- Published
- Jun 12, 2026
- Last modified
- Jun 22, 2026
- NVD status
- Analyzed