Skip to content
Heist/ feed
Back to feed
Medium

libmongocrypt — security advisory

Type: advisorySources: OSVAdvisory ID: UBUNTU-CVE-2026-81523

A missing input-validation issue in MongoDB libmongocrypt's automatic-encryption context setup allows a caller-supplied database identifier to be accepted without sanitization. The resulting impact is limited to incorrect schema selection, which may lead to limited disclosure or modification of information handled by the application.

Products
libmongocrypt
Affected versions
1.13.2-1, 1.17.0-1, 1.19.0-1, 1.19.1-1, 1.2.1-1, 1.2.2-1, 1.20.0-1, 1.20.1-1build1, 1.20.2-1, 1.3.0-1, 1.3.0-1ubuntu1, 1.7.2-1, 1.8.2-1, 1.8.4-1, 1.8.4-1build2, 1.8.4-1build3
Fixed versions
Not specified
CVEs
CVE-2026-81523
Confirmed fixed CVEs
Not specified
Updated in this feed
31 Oct 2026, 03:20 UTC · Revision 1

Source evidence

UBUNTU-CVE-2026-81523

core-osv · Original source

Published 27 Aug 2026, 20:18 UTC

A missing input-validation issue in MongoDB libmongocrypt's automatic-encryption context setup allows a caller-supplied database identifier to be accepted without sanitization. The resulting impact is limited to incorrect schema selection, which may lead to limited disclosure or modification of information handled by the application.

osv:UBUNTU-CVE-2026-81523

libmongocrypt

Fixed versions: Not specified

libmongocrypt

Fixed versions: Not specified

libmongocrypt

Fixed versions: Not specified

libmongocrypt

Fixed versions: Not specified

Complete source record
{
  "id": "32bae19f5998a68fbd3424ff34ab1dd1caa2ef8fe1297fd275aec72d3a7030c7",
  "url": "https://osv.dev/vulnerability/UBUNTU-CVE-2026-81523",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "UBUNTU-CVE-2026-81523",
    "summary": "A missing input-validation issue in MongoDB libmongocrypt's automatic-encryption context setup allows a caller-supplied database identifier to be accepted without sanitization. The resulting impact is limited to incorrect schema selection, which may lead to limited disclosure or modification of information handled by the application.",
    "evidence": "osv:UBUNTU-CVE-2026-81523",
    "products": [
      {
        "name": {
          "value": "libmongocrypt",
          "evidence": "/affected/0/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "1.2.1-1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "1.2.2-1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "1.3.0-1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "1.3.0-1ubuntu1",
            "evidence": "/affected/0/versions"
          }
        ]
      },
      {
        "name": {
          "value": "libmongocrypt",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "1.7.2-1",
            "evidence": "/affected/1/versions"
          },
          {
            "value": "1.8.2-1",
            "evidence": "/affected/1/versions"
          },
          {
            "value": "1.8.4-1",
            "evidence": "/affected/1/versions"
          },
          {
            "value": "1.8.4-1build2",
            "evidence": "/affected/1/versions"
          },
          {
            "value": "1.8.4-1build3",
            "evidence": "/affected/1/versions"
          }
        ]
      },
      {
        "name": {
          "value": "libmongocrypt",
          "evidence": "/affected/2/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "1.17.0-1",
            "evidence": "/affected/2/versions"
          },
          {
            "value": "1.19.0-1",
            "evidence": "/affected/2/versions"
          },
          {
            "value": "1.19.1-1",
            "evidence": "/affected/2/versions"
          },
          {
            "value": "1.20.0-1",
            "evidence": "/affected/2/versions"
          },
          {
            "value": "1.20.1-1build1",
            "evidence": "/affected/2/versions"
          },
          {
            "value": "1.20.2-1",
            "evidence": "/affected/2/versions"
          }
        ]
      },
      {
        "name": {
          "value": "libmongocrypt",
          "evidence": "/affected/3/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "1.13.2-1",
            "evidence": "/affected/3/versions"
          },
          {
            "value": "1.17.0-1",
            "evidence": "/affected/3/versions"
          }
        ]
      }
    ],
    "severity": "medium",
    "structured": {
      "id": "UBUNTU-CVE-2026-81523",
      "aliases": [
        "UBUNTU-CVE-2026-81523"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N"
        },
        {
          "type": "CVSS_V4",
          "score": "CVSS:4.0/AV:L/AC:L/AT:P/PR:L/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N"
        },
        {
          "type": "Ubuntu",
          "score": "medium"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "libmongocrypt",
            "purl": "pkg:deb/ubuntu/libmongocrypt?arch=source&distro=jammy",
            "ecosystem": "Ubuntu:22.04:LTS"
          },
          "versions": [
            "1.2.1-1",
            "1.2.2-1",
            "1.3.0-1",
            "1.3.0-1ubuntu1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-81523.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "libmongocrypt0",
                "binary_version": "1.3.0-1ubuntu1"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "libmongocrypt",
            "purl": "pkg:deb/ubuntu/libmongocrypt?arch=source&distro=noble",
            "ecosystem": "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"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-81523.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "libmongocrypt0",
                "binary_version": "1.8.4-1build3"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "libmongocrypt",
            "purl": "pkg:deb/ubuntu/libmongocrypt?arch=source&distro=stonking",
            "ecosystem": "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"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-81523.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "libmongocrypt0",
                "binary_version": "1.20.2-1"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "libmongocrypt",
            "purl": "pkg:deb/ubuntu/libmongocrypt?arch=source&distro=resolute",
            "ecosystem": "Ubuntu:26.04:LTS"
          },
          "versions": [
            "1.13.2-1",
            "1.17.0-1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-81523.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "libmongocrypt0",
                "binary_version": "1.17.0-1"
              }
            ]
          }
        }
      ],
      "modified": "2026-10-17T13:01:10.504502438Z",
      "provider": "osv",
      "upstream": [
        "CVE-2026-81523"
      ],
      "references": [
        "https://ubuntu.com/security/CVE-2026-81523",
        "https://www.cve.org/CVERecord?id=CVE-2026-81523",
        "https://jira.mongodb.org/browse/MONGOCRYPT-977",
        "https://github.com/mongodb/libmongocrypt/releases/tag/1.20.3"
      ]
    },
    "related_cves": [
      {
        "value": "CVE-2026-81523",
        "evidence": "/upstream"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 361133,
  "published_at": "2026-08-27T20:18:00+00:00"
}