
Catálogo de CVE
CVE-2026-118581
mongo-java-driver affected and fixed versions
A BSON encoding component of the MongoDB Java Driver does not verify that an externally supplied raw document's self-declared length agrees with the extent of the byte range it is given before that range is copied into an outgoing database command. An application that wraps untrusted raw bytes in such a document and uses it as part of a command can therefore emit a structurally inconsistent message, causing the database to interpret attacker-supplied trailing content as additional fields of the surrounding command. No authentication to the driver or database is required beyond the ability to influence those bytes through the victim application, and no user interaction is needed. The result is unintended modification of the command actually executed, which can alter the data read or written under the application's credentials.
- Gravidade
- Medium · CVSS 4.0 · 6.9
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X - Published
- Updated
- Source
- [NVD] · [CVE record]
- EPSS
- 0.26% · Dec 4, 2026
Projects and upstream resources
Reported versions and fixes
Each observation applies to its named package, distribution, and release. Distribution backports can fix a vulnerability while retaining an older upstream version number.
| Distribution / release | Package | Version | Status | Source |
|---|---|---|---|---|
| Debiantrixie | mongo-java-driver | Not reported | AffectedDistribution reports no fix | [CVE-2026-118581] |
| Debiantrixie | mongo-java-driver | 3.6.3-2 | Affected | [CVE-2026-118581] |
| Debiansid | mongo-java-driver | Not reported | AffectedDistribution reports no fix | [CVE-2026-118581] |
| Debiansid | mongo-java-driver | 3.6.3-4 | Affected | [CVE-2026-118581] |
| Debianforky | mongo-java-driver | Not reported | AffectedDistribution reports no fix | [CVE-2026-118581] |
| Debianforky | mongo-java-driver | 3.6.3-4 | Affected | [CVE-2026-118581] |
| Debianbookworm | mongo-java-driver | Not reported | AffectedDistribution reports no fix | [CVE-2026-118581] |
| Debianbookworm | mongo-java-driver | 3.6.3-2 | Affected | [CVE-2026-118581] |
Publisher notes
[trixie] mongo-java-driver: Minor issue [bookworm] mongo-java-driver: Minor issue
OpenFactory catalog packages
[Debian 12 (Bookworm)]
- [libmongodb-java]Afetada
Pacote fonte: [mongo-java-driver]
Detalhes (2)
3.6.3-2· all · bookwormAfetada
dsa · mongo-java-driver · debian · bookworm; pypi · mongo-java-driver · debian · 12
3.6.3-2· all · bookwormAfetada
dsa · mongo-java-driver · debian · bookworm; pypi · mongo-java-driver · debian · 12
[Debian 13 (Trixie)]
- [libmongodb-java]Afetada
Pacote fonte: [mongo-java-driver]
Detalhes (2)
3.6.3-2· all · trixieAfetada
dsa · mongo-java-driver · debian · bookworm; pypi · mongo-java-driver · debian · 13
3.6.3-2· all · trixieAfetada
dsa · mongo-java-driver · debian · bookworm; pypi · mongo-java-driver · debian · 13
Observado:
Referências
- [https://github.com/mongodb/mongo-java-driver/releases/tag/r5.14.0]
- [https://nvd.nist.gov/vuln/detail/CVE-2026-118581]
- [https://osv.dev/vulnerability/DEBIAN-CVE-2026-118581]
- [https://security-tracker.debian.org/tracker/CVE-2026-118581]
- [https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-118581.json]
[Debian Security Tracker] · [FIRST EPSS] · [National Vulnerability Database (NVD)] · [OSV Package Vulnerability Database] · [Red Hat security advisories and VEX]