libbson-xs-perl: The bson_strfreev function in the MongoDB C driver library may be susceptible to an integer overflow where the functi...
CVE-2024-6381 is fixed in 6 products on 1 platform, first by libbson-1.0-0 1.16.1-1ubuntu0.1~esm1, released July 2, 2024. It is not reported as exploited. Patch Radar priority: Routine.
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
Where it's fixed
| Product | Fixed in | Fix | Released |
|---|---|---|---|
| Linux | |||
| libbson-1.0-0 · Ubuntu 20.04 LTS (focal) | 1.16.1-1ubuntu0.1~esm1 | libbson-1.0-0 1.16.1-1ubuntu0.1~esm1 | Jul 2, 2024 |
| libbson-1.0-0 · Ubuntu 22.04.1 LTS (jammy) | 1.21.0-1ubuntu0.1~esm1 | libbson-1.0-0 1.21.0-1ubuntu0.1~esm1 | Jul 2, 2024 |
| libbson-1.0-0t64 · Ubuntu 24.04.5 LTS (noble) | 1.26.0-1.1ubuntu2+esm1 | libbson-1.0-0t64 1.26.0-1.1ubuntu2+esm1 | Mar 18, 2025 |
| libbson-xs-perl · Debian 12.15 (bookworm) | 0.8.4-2+deb12u1 | DEBIAN-CVE-2024-6381 | Jul 2, 2024 |
| libmongoc-1.0-0 · Ubuntu 20.04 LTS (focal) | 1.16.1-1ubuntu0.1~esm1 | libmongoc-1.0-0 1.16.1-1ubuntu0.1~esm1 | Jul 2, 2024 |
| libmongoc-1.0-0 · Ubuntu 22.04.1 LTS (jammy) | 1.21.0-1ubuntu0.1~esm1 | libmongoc-1.0-0 1.21.0-1ubuntu0.1~esm1 | Jul 2, 2024 |
| libmongoc-1.0-0t64 · Ubuntu 24.04.5 LTS (noble) | 1.26.0-1.1ubuntu2+esm1 | libmongoc-1.0-0t64 1.26.0-1.1ubuntu2+esm1 | Mar 18, 2025 |
| mongo-c-driver · Debian 12.15 (bookworm) | 1.23.1-1+deb12u1 | DEBIAN-CVE-2024-6381 | Jul 2, 2024 |
| mongo-c-driver · Debian 13.5 (trixie) | 1.26.2-1 | DEBIAN-CVE-2024-6381 | Jul 2, 2024 |
| mongo-c-driver · Debian 14 | 1.26.2-1 | DEBIAN-CVE-2024-6381 | Jul 2, 2024 |
Patch Radar data is free to use with attribution. Terms and how to credit it.
Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.