p PatchFirst

CVE-2026-96746

CVE-2026-96746 · Heap buffer overflow via mid-scan command list growth in client topology monitoring

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

An out-of-bounds write in the connection-monitoring logic of the MongoDB C Driver may allow an unauthenticated party who controls name resolution and the responses of the hosts named in a client's connection string to write beyond the end of a heap buffer. This may cause the application using the driver to terminate unexpectedly.

CVSS 8.3 · High · EPSS 0.4% · Fix available

Published
Updated

Stack: system

Affected products and versions

  • c driver

    Versions
    • ≥ 0, < 1.30.12: Affected (semver)
    • ≥ 2.0.0, < 2.5.5: Affected (semver)

    Update to 1.30.12; Update to 2.5.5

  • mongo-c-driver Debian:12

    Versions
    • 1.23.1-1
    • 1.23.1-1+deb12u1
    • 1.23.1-1+deb12u2
    • 1.23.1-1+deb12u3
    • 1.24.1-1
    • 1.24.2-1
    • 1.24.3-1
    • 1.24.4-1
    • 1.25.0-1
    • 1.25.1-1
    • 1.25.2-1
    • 1.25.4-1
    • 1.25.4-1.1~exp1
    • 1.26.0-1
    • 1.26.0-1.1
    • 1.26.0-1.1~exp1
    • 1.26.1-1
    • 1.26.2-1
    • 1.27.0-1
    • 1.27.1-1
    • 1.27.2-1
    • 1.27.3-1
    • 1.27.4-1
    • 1.27.5-1
    • 1.27.6-1
    • 1.28.0-1
    • 1.28.1-1
    • 1.29.0-1
    • 1.29.1-1
    • 1.29.2-1
    • 1.30.0-1
    • 1.30.1-1
    • 1.30.2-1
    • 1.30.3-1
    • 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
    • 2.5.2-1
    • 2.5.3-1
    • 2.5.5-1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • 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
    • 2.5.2-1
    • 2.5.3-1
    Affected ranges
    • ECOSYSTEM: < 2.5.5-1

    Update to 2.5.5-1

  • pymongo Ubuntu:14.04:LTS

    Versions
    • 2.6-1
    • 2.6.2-1
    • 2.6.3-1
    • 2.6.3-1build1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • pymongo Ubuntu:Pro:16.04:LTS

    Versions
    • 3.0.3-1
    • 3.2-1
    • 3.2-1build1
    • 3.2-1ubuntu0.1~esm1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • pymongo Ubuntu:Pro:18.04:LTS

    Versions
    • 3.4.0-1build2
    • 3.6.1+dfsg1-1
    • 3.6.1+dfsg1-1ubuntu0.1~esm1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • pymongo Ubuntu:20.04:LTS

    Versions
    • 3.7.1-1.1
    • 3.7.1-1.1build1
    • 3.10.1-0ubuntu2
    • 3.10.1-0ubuntu2.1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • pymongo Ubuntu:22.04:LTS

    Versions
    • 3.11.0-1build2
    • 3.11.0-1build3
    • 3.11.0-1build4
    • 3.11.0-1ubuntu0.22.04.1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • pymongo Ubuntu:24.04:LTS

    Versions
    • 3.11.0-1build6
    • 3.11.0-1build7
    • 3.11.0-1build8
    • 3.11.0-1ubuntu0.24.04.1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • pymongo Ubuntu:26.10

    Versions
    • 4.16.0-1build1
    • 4.17.0-1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • pymongo Ubuntu:26.04:LTS

    Versions
    • 4.10.1-6
    • 4.15.3-1
    • 4.15.3-2
    • 4.15.5-1
    • 4.16.0-1
    • 4.16.0-1build1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

Original sources

Check your server →