p PatchFirst

CVE-2026-84969

CVE-2026-84969 · Heap overflow via truncated base64 encoding of binary fields in length-limited JSON output

This page contains facts from public vulnerability sources. Check the original advisory before updating.

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.

CVSS 6.3 · Medium · EPSS 0.3% · Fix available

Published
Updated

Stack: system

Affected products and versions

  • c driver

    Versions
    • ≥ 1.30.0, < 1.30.9: Affected (semver)
    • ≥ 2.0.0, < 2.5.2: Affected (semver)

    Update to 1.30.9; Update to 2.5.2

  • mongo-c-driver Debian:13

    Versions
    • 1.30.4-1
    • 1.30.4-1+deb13u1
    • 1.30.4-1+deb13u2
    • 1.30.4-1+deb13u3
    • 2.0.2-1
    • 2.1.0-1
    • 2.1.1-1
    • 2.1.2-1
    • 2.2.0-1
    • 2.2.1-1
    • 2.2.2-1
    • 2.2.3-1
    • 2.2.4-1
    • 2.3.0-1
    • 2.3.1-1
    • 2.3.2-1
    • 2.3.3-1
    • 2.4.0-1
    • 2.5.0-1
    • 2.5.1-1
    • 2.5.2-1
    • 2.5.3-1
    • 2.5.5-1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • mongo-c-driver Debian:14

    Versions
    • 1.30.4-1
    • 2.0.2-1
    • 2.1.0-1
    • 2.1.1-1
    • 2.1.2-1
    • 2.2.0-1
    • 2.2.1-1
    • 2.2.2-1
    • 2.2.3-1
    • 2.2.4-1
    • 2.3.0-1
    • 2.3.1-1
    • 2.3.2-1
    • 2.3.3-1
    • 2.4.0-1
    • 2.5.0-1
    • 2.5.1-1
    Affected ranges
    • ECOSYSTEM: < 2.5.2-1

    Update to 2.5.2-1

  • mongo-c-driver Ubuntu:Pro:20.04:LTS

    Versions
    • 1.15.0-1
    • 1.15.1-1
    • 1.15.2-1
    • 1.16.0-1
    • 1.16.1-1
    • 1.16.1-1build1
    • 1.16.1-1build2
    • 1.16.1-1ubuntu0.1~esm1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • mongo-c-driver Ubuntu:Pro:22.04:LTS

    Versions
    • 1.18.0-1
    • 1.19.1-1
    • 1.19.2-1
    • 1.20.0-1
    • 1.20.0-1build1
    • 1.20.1-1
    • 1.21.0-1
    • 1.21.0-1build1
    • 1.21.0-1ubuntu0.1~esm1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • mongo-c-driver Ubuntu:Pro:24.04:LTS

    Versions
    • 1.24.3-1
    • 1.24.4-1
    • 1.25.1-1
    • 1.25.2-1
    • 1.25.4-1
    • 1.26.0-1
    • 1.26.0-1.1ubuntu1
    • 1.26.0-1.1ubuntu2
    • 1.26.0-1.1ubuntu2+esm1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • mongo-c-driver Ubuntu:26.10

    Versions
    • 2.2.2-1
    • 2.3.1-1
    • 2.3.2-1
    • 2.3.3-1build1
    • 2.5.0-1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • mongo-c-driver Ubuntu:26.04:LTS

    Versions
    • 1.30.4-1ubuntu1
    • 2.2.0-1
    • 2.2.1-1
    • 2.2.2-1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

Original sources

Check your server →