Descriptionbson before 0.8 incorrectly uses int rather than size_t for many variables, parameters, and return values. In particular, the bson_ensure_space() parameter bytesNeeded could have an integer overflow via properly constructed bson input.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)
Debian Bugs958998

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
duo-unix (PTS)buster1.9.21-1.1vulnerable
bookworm, bullseye1.11.3-1vulnerable
sid, trixie1.11.3-1.2vulnerable

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs


Embedded older version, but affected function not used

Search for package or bug name: Reporting problems