CVE-2026-84969 Heap overflow via truncated base64 encoding of binary fields in length-limited JSON output
MediumCVSS 6.3
EPSS 0.27%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: partial
- Technology
- UbuntuDebian
Description
A memory-handling error in the BSON-to-JSON conversion helpers of the MongoDB C Driver can write a small number of bytes past the end of a heap buffer when a binary field is encoded and the output is cut short at a caller-configured length limit. A party who supplies the document content, with no privileges on the application that links the driver, may cause a small amount of data outside the intended buffer to be altered.
Upgrade path
8 packages: 4 fixed, 4 with no fix yet.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| ubuntu/mongo-c-driver(Ubuntu 22.04) | All versions | No fix listed | No fix yet |
| ubuntu/mongo-c-driver(Ubuntu 24.04) | All versions | No fix listed | No fix yet |
| ubuntu/mongo-c-driver(Ubuntu 26.04) | All versions | No fix listed | No fix yet |
| ubuntu/mongo-c-driver(Ubuntu 26.10) | All versions | No fix listed | No fix yet |
| alpine/mongo-c-driver(Alpine v3.24) | < 1.30.14-r0 | 1.30.14-r0 | Fixed |
| debian/mongo-c-driver(Debian 13) | < 1.30.4-1+deb13u5; = 1.30.4-1; = 1.30.4-1+deb13u1; = 1.30.4-1+deb13u2 +2 more | 1.30.4-1+deb13u5 | Fixed |
| debian/mongo-c-driver(Debian 14) | < 2.5.2-1; = 1.30.4-1; = 2.0.2-1; = 2.1.0-1 +14 more | 2.5.2-1 | Fixed |
| MongoDB C Driver | >= 1.30.0, < 1.30.9; >= 2.0.0, < 2.5.2 | 1.30.9, 2.5.2 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| MongoDB C Driver | >= 1.30.0, < 1.30.9 | 1.30.9 |
| MongoDB C Driver | >= 2.0.0, < 2.5.2 | 2.5.2 |
| ubuntu/mongo-c-driver(Ubuntu:22.04) | All versions | No fix listed |
| alpine/mongo-c-driver(Alpine:v3.24) | < 1.30.14-r0 | 1.30.14-r0 |
| ubuntu/mongo-c-driver(Ubuntu:24.04) | All versions | No fix listed |
| ubuntu/mongo-c-driver(Ubuntu:26.04) | All versions | No fix listed |
| ubuntu/mongo-c-driver(Ubuntu:26.10) | All versions | No fix listed |
| debian/mongo-c-driver(Debian:13) | < 1.30.4-1+deb13u5 | 1.30.4-1+deb13u5 |
| debian/mongo-c-driver(Debian:13) | = 1.30.4-1 | No fix listed |
| debian/mongo-c-driver(Debian:13) | = 1.30.4-1+deb13u1 | No fix listed |
| debian/mongo-c-driver(Debian:13) | = 1.30.4-1+deb13u2 | No fix listed |
| debian/mongo-c-driver(Debian:13) | = 1.30.4-1+deb13u3 | No fix listed |
| debian/mongo-c-driver(Debian:13) | = 1.30.4-1+deb13u4 | No fix listed |
| debian/mongo-c-driver(Debian:14) | < 2.5.2-1 | 2.5.2-1 |
| debian/mongo-c-driver(Debian:14) | = 1.30.4-1 | No fix listed |
| debian/mongo-c-driver(Debian:14) | = 2.0.2-1 | No fix listed |
| debian/mongo-c-driver(Debian:14) | = 2.1.0-1 | No fix listed |
| debian/mongo-c-driver(Debian:14) | = 2.1.1-1 | No fix listed |
| debian/mongo-c-driver(Debian:14) | = 2.1.2-1 | No fix listed |
| debian/mongo-c-driver(Debian:14) | = 2.2.0-1 | No fix listed |
| debian/mongo-c-driver(Debian:14) | = 2.2.1-1 | No fix listed |
| debian/mongo-c-driver(Debian:14) | = 2.2.2-1 | No fix listed |
| debian/mongo-c-driver(Debian:14) | = 2.2.3-1 | No fix listed |
| debian/mongo-c-driver(Debian:14) | = 2.2.4-1 | No fix listed |
| debian/mongo-c-driver(Debian:14) | = 2.3.0-1 | No fix listed |
Show 6 more
| Product | Affected versions | Fixed in |
|---|---|---|
| debian/mongo-c-driver(Debian:14) | = 2.3.1-1 | No fix listed |
| debian/mongo-c-driver(Debian:14) | = 2.3.2-1 | No fix listed |
| debian/mongo-c-driver(Debian:14) | = 2.3.3-1 | No fix listed |
| debian/mongo-c-driver(Debian:14) | = 2.4.0-1 | No fix listed |
| debian/mongo-c-driver(Debian:14) | = 2.5.0-1 | No fix listed |
| debian/mongo-c-driver(Debian:14) | = 2.5.1-1 | No fix listed |
References
- jira.mongodb.org issue-tracking vendor-advisory
- Debian Security Tracker CVE-2026-84969 vendor-advisory
- Ubuntu CVE tracker vendor-advisory
- www.cve.org
- security.alpinelinux.org vendor-advisory
- ENISA EUVD EUVD-2026-70508 third-party-advisory