CVE-2026-84965

Heap write primitive via size round-up wrap during JSON parsing on 32-bit builds

State
Published
Severity
5.9 Medium
Published
Sep 3, 2026
Updated
Sep 3, 2026
Reserved
Sep 2, 2026

Read the record on cve.org

Description

An integer wraparound in an allocation size calculation in the BSON library's JSON parsing code can cause a buffer to be released while a following copy operation still writes through the stale pointer. On builds where sizes are 32 bits, an unauthenticated party able to supply a sufficiently large JSON input to an application that links the library may cause that application to terminate unexpectedly, resulting in denial of service.

Scores

CVSSScoreVectorSource
4.05.9 MediumCVSS:4.0/AV:L/AC:H/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:Nmongodb
3.15.1 MediumCVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:Hmongodb

Weaknesses

  • CWE-190 Integer Overflow or Wraparound

Affected Products

ProductVersions
C DriverMongoDB
  • 1.10.0 to before 1.30.9Affected
  • 2.0.0 to before 2.5.2Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.