Security mailing lists by PureSourceCode

CVE-2024-6381

MEDIUM 5.3CVSS 3.1

The bson_strfreev function in the MongoDB C driver library may be susceptible to an integer overflow where the function will try to free memory at a negative offset. This may result in memory corruption. This issue affected libbson versions prior to 1.26.2

Published
2 Jul 2024
Last modified
17 Jun 2026
Assigned by
cna@mongodb.com
NVD status
Modified
Weakness
CWE-680
Sources
NVDJSON

Scores

SourceScored byVersionScoreVector / decision
NVD nvd@nist.gov (Primary) CVSS 3.1 MEDIUM 5.3 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
NVD cna@mongodb.com (Secondary) CVSS 3.1 MEDIUM 4.0 CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD mongodb libbson
cpe:2.3:a:mongodb:libbson:*:*:*:*:*:*:*:*
< 1.26.2 1.26.2

References

History

  • 25 Nov 2026 20:55 UTC · NVD: first stored (published 2 Jul 2024)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.