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.

Severity (CVSS)

Base score5.9
SeverityMedium
VersionCVSS 4.0
VectorCVSS:4.0/AV:L/AC:H/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
Provided byCNA

Weaknesses

  • CWE-190 — CWE-190: Integer Overflow or Wraparound

Affected products

VendorProductVersions
MongoDBC Driver1.10.0 to <1.30.9; 2.0.0 to <2.5.2

References

Authoritative sources

This page is a snapshot. For the latest enrichment and updates, view the record on CVE.org or the NVD.

Generated from the official CVE List on 04 Sep 2026 07:42 UTC.