p PatchFirst

CVE-2026-135223

CVE-2026-135223 · Memory leak on duplicate fields in key vault documents in libmongocrypt

CVSS 5.3 · Medium · EPSS 0.4% · Fix available

Compare with your installed version

Affected products and known fixed versions are public information. Compare them with your installed version.

Check the installed version:

dpkg-query -W -f='${source:Package} ${binary:Package} ${Version}\n' | awk '$1=="libmongocrypt"'

Assess your server’s risks

The free check gives you a rating and a risk summary by technology stack, without signing up. It does not answer whether this particular vulnerability affects you.

Monitoring matches public information against your servers’ software. Detailed findings for your servers include the order of updates.

curl -fsSL https://patchfirst.dev/check.sh | sh
Check your server for free →

Channels carry general technology news; monitoring reports new findings on your servers in your dashboard, through browser notifications, in Telegram or via a webhook.

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

An improper handling of repeated fields in encryption key documents in the MongoDB encryption support library may allow memory to be retained without release. A party able to write to the key storage collection, or a database endpoint returning such a document, may cause the memory use of the calling application process to grow for each document parsed, which may reduce performance of that process.

Published
Updated

Stack: system

Affected products and versions

  • libmongocrypt driver

    Versions
    • ≥ 1.0.0, < 1.21.2: Affected (semver)

    Update to 1.21.2

  • libmongocrypt Debian 12

    Versions
    • 1.10.0-1
    • 1.10.1-1
    • 1.11.0-1
    • 1.12.0-1
    • 1.13.0-1
    • 1.13.1-1
    All versions (26)
    • 1.13.2-1
    • 1.16.0-1
    • 1.17.0-1
    • 1.17.3-1
    • 1.18.1-1
    • 1.18.2-1
    • 1.19.0-1
    • 1.19.1-1
    • 1.20.0-1
    • 1.20.1-1
    • 1.20.2-1
    • 1.20.3-1
    • 1.20.4-1
    • 1.20.5-1
    • 1.21.0-1
    • 1.21.1-1
    • 1.7.2-1
    • 1.8.2-1
    • 1.8.4-1
    • 1.9.1-1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • libmongocrypt Debian 13

    Versions
    • 1.13.2-1
    • 1.13.2-1+deb13u1
    • 1.13.2-1+deb13u2
    • 1.16.0-1
    • 1.17.0-1
    • 1.17.3-1
    All versions (18)
    • 1.18.1-1
    • 1.18.2-1
    • 1.19.0-1
    • 1.19.1-1
    • 1.20.0-1
    • 1.20.1-1
    • 1.20.2-1
    • 1.20.3-1
    • 1.20.4-1
    • 1.20.5-1
    • 1.21.0-1
    • 1.21.1-1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • libmongocrypt Debian 14

    Versions
    • 1.13.2-1
    • 1.16.0-1
    • 1.17.0-1
    • 1.17.3-1
    • 1.18.1-1
    • 1.18.2-1
    All versions (16)
    • 1.19.0-1
    • 1.19.1-1
    • 1.20.0-1
    • 1.20.1-1
    • 1.20.2-1
    • 1.20.3-1
    • 1.20.4-1
    • 1.20.5-1
    • 1.21.0-1
    • 1.21.1-1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • libmongocrypt Ubuntu 22.04 LTS

    Versions
    • 1.2.1-1
    • 1.2.2-1
    • 1.3.0-1
    • 1.3.0-1ubuntu1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • libmongocrypt Ubuntu 24.04 LTS

    Versions
    • 1.7.2-1
    • 1.8.2-1
    • 1.8.4-1
    • 1.8.4-1build2
    • 1.8.4-1build3
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • libmongocrypt Ubuntu 26.10

    Versions
    • 1.17.0-1
    • 1.19.0-1
    • 1.19.1-1
    • 1.20.0-1
    • 1.20.1-1build1
    • 1.20.2-1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • libmongocrypt Ubuntu 26.04 LTS

    Versions
    • 1.13.2-1
    • 1.17.0-1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

Original sources

Check your server →