CVE catalog

CVE-2026-81524

A weakness in the MongoDB C Driver allows special elements in caller-supplied database and collection name components to pass without sanitization when the driver composes the target namespace for an

[CVE catalog]

Severity
Medium · CVSS 5.3CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Published
Updated
Source
[NVD] · [CVE record]
EPSS
0.27% · Oct 23, 2026

A weakness in the MongoDB C Driver allows special elements in caller-supplied database and collection name components to pass without sanitization when the driver composes the target namespace for an operation. An application that incorporates untrusted input into these name components can have operations directed at a resource other than the one intended.

Vulnerable and fixed packages

Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.

DistributionPackageReleaseVersionStatus
Debianmongo-c-driversid2.5.7-1fixed
Debianmongo-c-driverforky2.5.6-1fixed
Debianmongo-c-drivertrixie1.30.4-1+deb13u3fixed
Debianmongo-c-driverbookworm1.23.1-1+deb12u3vulnerable
Cpec_driverNot reported2.5.1fixed
Opensusemongo-c-drivertumbleweed2.5.1-1.1fixed

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debianmongo-c-driversourcesid2.5.1-1not yet assignedNot reportedNot reported
Debianmongo-c-driversourceforky2.5.1-1not yet assignedNot reportedNot reported
Debianmongo-c-driversourcetrixie1.30.4-1+deb13u3not yet assignedNot reportedNot reported
Debianmongo-c-driversourcebookworm(unfixed)not yet assignedNot reportedNot reported
Cpec_drivercpeNot reported2.5.1Not reportedNVD-CVE-2026-81524Not reported
Opensusemongo-c-driverrpmtumbleweed2.5.1-1.1Not reportedOPENSUSE-SU-2026:11671-1Not reported

Notes

[bookworm] mongo-c-driver: Minor issue

OpenFactory catalog packages

[Debian 12 (Bookworm)]

  • [libbson-1.0-0]Affected

    Source package: [mongo-c-driver]

    Details (2)
    • 1.23.1-1+deb12u3 · amd64 · bookworm

      Affected

      nvd · mongo-c-driver · debian · bookworm; nvd · mongo-c-driver · debian · 12

    • 1.23.1-1+deb12u3 · arm64 · bookworm

      Affected

      nvd · mongo-c-driver · debian · bookworm; nvd · mongo-c-driver · debian · 12

  • [libbson-dev]Affected

    Source package: [mongo-c-driver]

    Details (2)
    • 1.23.1-1+deb12u3 · amd64 · bookworm

      Affected

      nvd · mongo-c-driver · debian · bookworm; nvd · mongo-c-driver · debian · 12

    • 1.23.1-1+deb12u3 · arm64 · bookworm

      Affected

      nvd · mongo-c-driver · debian · bookworm; nvd · mongo-c-driver · debian · 12

  • [libbson-doc]Affected

    Source package: [mongo-c-driver]

    Details (2)
    • 1.23.1-1+deb12u3 · all · bookworm

      Affected

      nvd · mongo-c-driver · debian · bookworm; nvd · mongo-c-driver · debian · 12

    • 1.23.1-1+deb12u3 · all · bookworm

      Affected

      nvd · mongo-c-driver · debian · bookworm; nvd · mongo-c-driver · debian · 12

  • [libmongoc-1.0-0]Affected

    Source package: [mongo-c-driver]

    Details (2)
    • 1.23.1-1+deb12u3 · amd64 · bookworm

      Affected

      nvd · mongo-c-driver · debian · bookworm; nvd · mongo-c-driver · debian · 12

    • 1.23.1-1+deb12u3 · arm64 · bookworm

      Affected

      nvd · mongo-c-driver · debian · bookworm; nvd · mongo-c-driver · debian · 12

  • [libmongoc-dev]Affected

    Source package: [mongo-c-driver]

    Details (2)
    • 1.23.1-1+deb12u3 · amd64 · bookworm

      Affected

      nvd · mongo-c-driver · debian · bookworm; nvd · mongo-c-driver · debian · 12

    • 1.23.1-1+deb12u3 · arm64 · bookworm

      Affected

      nvd · mongo-c-driver · debian · bookworm; nvd · mongo-c-driver · debian · 12

  • [libmongoc-doc]Affected

    Source package: [mongo-c-driver]

    Details (2)
    • 1.23.1-1+deb12u3 · all · bookworm

      Affected

      nvd · mongo-c-driver · debian · bookworm; nvd · mongo-c-driver · debian · 12

    • 1.23.1-1+deb12u3 · all · bookworm

      Affected

      nvd · mongo-c-driver · debian · bookworm; nvd · mongo-c-driver · debian · 12

[Debian 13 (Trixie)]

  • Source package: [mongo-c-driver]

    Details (2)
    • 1.30.4-1+deb13u2 · amd64 · trixie

      Affected · Fixed: 1.30.4-1+deb13u3

      nvd · mongo-c-driver · debian · 13

    • 1.30.4-1+deb13u2 · arm64 · trixie

      Affected · Fixed: 1.30.4-1+deb13u3

      nvd · mongo-c-driver · debian · 13

  • [libbson-dev]Affected

    Source package: [mongo-c-driver]

    Details (2)
    • 1.30.4-1+deb13u2 · amd64 · trixie

      Affected · Fixed: 1.30.4-1+deb13u3

      nvd · mongo-c-driver · debian · 13

    • 1.30.4-1+deb13u2 · arm64 · trixie

      Affected · Fixed: 1.30.4-1+deb13u3

      nvd · mongo-c-driver · debian · 13

  • [libbson-doc]Affected

    Source package: [mongo-c-driver]

    Details (2)
    • 1.30.4-1+deb13u2 · all · trixie

      Affected · Fixed: 1.30.4-1+deb13u3

      nvd · mongo-c-driver · debian · 13

    • 1.30.4-1+deb13u2 · all · trixie

      Affected · Fixed: 1.30.4-1+deb13u3

      nvd · mongo-c-driver · debian · 13

  • Source package: [mongo-c-driver]

    Details (2)
    • 1.30.4-1+deb13u2 · amd64 · trixie

      Affected · Fixed: 1.30.4-1+deb13u3

      nvd · mongo-c-driver · debian · 13

    • 1.30.4-1+deb13u2 · arm64 · trixie

      Affected · Fixed: 1.30.4-1+deb13u3

      nvd · mongo-c-driver · debian · 13

  • [libmongoc-dev]Affected

    Source package: [mongo-c-driver]

    Details (2)
    • 1.30.4-1+deb13u2 · amd64 · trixie

      Affected · Fixed: 1.30.4-1+deb13u3

      nvd · mongo-c-driver · debian · 13

    • 1.30.4-1+deb13u2 · arm64 · trixie

      Affected · Fixed: 1.30.4-1+deb13u3

      nvd · mongo-c-driver · debian · 13

  • [libmongoc-doc]Affected

    Source package: [mongo-c-driver]

    Details (2)
    • 1.30.4-1+deb13u2 · all · trixie

      Affected · Fixed: 1.30.4-1+deb13u3

      nvd · mongo-c-driver · debian · 13

    • 1.30.4-1+deb13u2 · all · trixie

      Affected · Fixed: 1.30.4-1+deb13u3

      nvd · mongo-c-driver · debian · 13

[openSUSE Tumbleweed]

  • [bson-devel]Unknown

    Source package: [mongo-c-driver]

    Details (1)
    • 2.4.0-1.1 · x86_64 · tumbleweed

      Unknown · Fixed: 2.5.1-1.1

      Version impact unknown

      nvd · mongo-c-driver · opensuse · tumbleweed

  • [libbson2]Unknown

    Source package: [mongo-c-driver]

    Details (1)
    • 2.4.0-1.1 · x86_64 · tumbleweed

      Unknown · Fixed: 2.5.1-1.1

      Version impact unknown

      nvd · mongo-c-driver · opensuse · tumbleweed

  • [libmongoc2]Unknown

    Source package: [mongo-c-driver]

    Details (1)
    • 2.4.0-1.1 · x86_64 · tumbleweed

      Unknown · Fixed: 2.5.1-1.1

      Version impact unknown

      nvd · mongo-c-driver · opensuse · tumbleweed

  • Source package: [mongo-c-driver]

    Details (1)
    • 2.4.0-1.1 · x86_64 · tumbleweed

      Unknown · Fixed: 2.5.1-1.1

      Version impact unknown

      nvd · mongo-c-driver · opensuse · tumbleweed

Observed:

References