Skip to content
OpenAdvisories
Medium · 5.1 CVE-2026-84965 EUVD-2026-70513

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

Published Sep 3, 2026 · Updated Sep 3, 2026 · Assigned by mongodb

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.

Affected products

VendorProductAffectedFixed
MongoDB C Driver 1.10.0 – < 1.30.9, 2.0.0 – < 2.5.2 1.30.9

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 mongo-c-driver 2.5.2-1 —
Debian 13 mongo-c-driver No fix yet —
Debian 12 mongo-c-driver No fix yet —
ReleasePackageFixed inAdvisory
Ubuntu 26.10 mongo-c-driver No fix yet —
Ubuntu 26.04 LTS mongo-c-driver No fix yet —
Show 3 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu Pro 24.04 LTS mongo-c-driver No fix yet —
Ubuntu Pro 22.04 LTS mongo-c-driver No fix yet —
Ubuntu Pro 20.04 LTS mongo-c-driver No fix yet —
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed mongo-c-driver 2.5.2-1.1 openSUSE-SU-2026:11706-1
ReleasePackageFixed inAdvisory
Alpine v3.24 mongo-c-driver 1.30.14-r0 —

Advisories 2

References