mongo/README.third_party.md
Aditya Deshpande 79780a8aac SERVER-117317 Upgrade MozJS to ESR 140.7 (#47381)
GitOrigin-RevId: f3ed2e397455dab8d40c8241e397910f3139eaff
2026-02-24 22:03:26 +00:00

13 KiB

MongoDB Third Party Dependencies

MongoDB depends on third party libraries to implement some functionality. This document describes which libraries are depended upon, and how. It is maintained by and for humans, and so while it is a best effort attempt to describe the server's dependencies, it is subject to change as libraries are added or removed.

Server Vendored Libraries

This is the list of third party libraries vendored into the server codebase, and the upstream source where updates may be obtained. These sources are periodically consulted, and the existence of new versions is reflected in this list. A ticket is filed in Jira if a determination is made to upgrade a vendored library.

Whenever a vendored library is included in released binary artifacts, is not authored by MongoDB, and has a license which requires reproduction, a notice will be included in THIRD-PARTY-NOTICES.

Name License Vendored Version Emits persisted data Distributed in Release Binaries
Abseil Common Libraries (C++) Apache-2.0 20230802.1
Asio C++ Library BSL-1.0 1.12.2
benchmark Apache-2.0 1.5.2
Boost C++ Libraries BSL-1.0 1.79.0
CRoaring Apache-2.0 OR MIT 2.1.2
Cyrus SASL BSD-Attribution-HPND-disclaimer 2.1.28
fmt MIT 7.1.3
folly Apache-2.0 2025.04.21.00
gperftools BSD-3-Clause 2.9.1
ICU4C - International Components for Unicode C/C++ Unicode-3.0 57.1
immer BSL-1.0 0b3aaf699b9d6f2e89f8e2b6d1221c307e02bda3
Intel® Decimal Floating-Point Math Library BSD-3-Clause 2.0.1
JSON Schema Store Apache-2.0 6847cfc3a17a04a7664474212db50c627e1e3408
JSON-Schema-Test-Suite MIT 728066f9c5c258ba3b1804a22a5b998f2ec77ec0
libmongocrypt Apache-2.0 1.8.4
librdkafka - The Apache Kafka C/C++ library BSD-2-Clause 2.0.2-RC2
LibTomCrypt Unlicense 1.18.2
libunwind MIT 1.8.1
linenoise BSD-2-Clause 6cdc775807e57b2c3fd64bd207814f8ee1fe35f3
MongoDB C Driver Apache-2.0 1.27.6
Mozilla Firefox ESR MPL-2.0 140.7.0esr
MurmurHash3 Public Domain a6bd3ce7be8ad147ea820a7cf6229a975c0c96bb
PCRE2 - Perl-Compatible Regular Expressions BSD-3-Clause WITH PCRE2-exception 10.40
pypi/ocspbuilder MIT 0.10.2
pypi/ocspresponder Apache-2.0 0.5.0
S2 Geometry Library Apache-2.0 a25c502bda9d7e0274b9e2b7825fbddf13cc0306
SafeInt MIT 3.0.26
snappy BSD-3-Clause 1.1.10
Snowball Stemming Algorithms (libstemmer) BSD-3-Clause 1.0.0
tcmalloc Apache-2.0 f3b20f9a07e175c5d897df7b49d9830d4efa6110
timelib MIT 2022.10
Unicode Character Database Unicode-DFS-2016 8.0.0
valgrind.h BSD-4-Clause 093bef43d69236287ccc748591c9560a71181b0a
WiredTiger GPL-2.0-only OR GPL-3.0-only 11.3.0
yaml-cpp MIT 0.6.3
zlib Zlib 1.3.1
Zstandard (zstd) BSD-3-Clause OR GPL-2.0-only 1.5.5

Dynamically Linked Libraries

Sometimes MongoDB needs to load libraries provided and managed by the runtime environment. These libraries are not vendored into the MongoDB source directory, and are not compiled into release artifacts. Because they are provided by the runtime environment, the precise versions of these libraries cannot be known in advance. Further, these libraries may themselves load other libraries. The full set of transitively linked libraries will depend on the runtime environment, and cannot be outlined here. On Windows and Mac OS, other libraries and components provided by the Operating System may be loaded.

For Windows Enterprise, we may ship precompiled DLLs containing some of these libraries. Releases prepared in this fashion will include a copy of these libraries' license in a file named THIRD-PARTY-NOTICES.windows.

Name Enterprise Only Has Windows DLLs
Cyrus SASL Yes Yes
libldap Yes No
net-snmp Yes Yes
OpenSSL No Yes[3]
libcurl No No

Notes:

  1. ^ The majority of Valgrind is licensed under the GPL, with the exception of a single header file which is licensed under a BSD license. This BSD licensed header is the only file from Valgrind which is vendored and consumed by MongoDB.

  2. ^ WiredTiger is maintained by MongoDB in a separate repository. As a part of our development process, we periodically ingest the latest snapshot of that repository.

  3. ^ OpenSSL is only shipped as a dependency of the MongoDB tools written in Go. The MongoDB shell and server binaries use Windows' cryptography APIs.