CVE catalog

CVE-2026-106438

An incorrect calculation in Decimal128 string parsing in the MongoDB C Driver can accept certain over-precision inputs containing leading zeros instead of rejecting them. This produces a value differe

[CVE catalog]

Severity
Medium · CVSS 5.1CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:N/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.11% · Oct 22, 2026

An incorrect calculation in Decimal128 string parsing in the MongoDB C Driver can accept certain over-precision inputs containing leading zeros instead of rejecting them. This produces a value different from the supplied text. An actor who can provide a decimal string to an embedding application, including through Extended JSON parsing, can cause the application to store or use an incorrect numeric value.

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+deb13u3vulnerable
Debianmongo-c-driverbookworm1.23.1-1+deb12u3vulnerable

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debianmongo-c-driversourcesid2.5.6-1not yet assignedNot reportedNot reported
Debianmongo-c-driversourceforky2.5.6-1not yet assignedNot reportedNot reported
Debianmongo-c-driversourcetrixie(unfixed)not yet assignedNot reportedNot reported
Debianmongo-c-driversourcebookworm(unfixed)not yet assignedNot reportedNot reported

Notes

[trixie] 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

    • 1.23.1-1+deb12u3 · arm64 · bookworm

      Affected

      nvd · mongo-c-driver · debian · bookworm

  • [libbson-dev]Affected

    Source package: [mongo-c-driver]

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

      Affected

      nvd · mongo-c-driver · debian · bookworm

    • 1.23.1-1+deb12u3 · arm64 · bookworm

      Affected

      nvd · mongo-c-driver · debian · bookworm

  • [libbson-doc]Affected

    Source package: [mongo-c-driver]

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

      Affected

      nvd · mongo-c-driver · debian · bookworm

    • 1.23.1-1+deb12u3 · all · bookworm

      Affected

      nvd · mongo-c-driver · debian · bookworm

  • [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

    • 1.23.1-1+deb12u3 · arm64 · bookworm

      Affected

      nvd · mongo-c-driver · debian · bookworm

  • [libmongoc-dev]Affected

    Source package: [mongo-c-driver]

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

      Affected

      nvd · mongo-c-driver · debian · bookworm

    • 1.23.1-1+deb12u3 · arm64 · bookworm

      Affected

      nvd · mongo-c-driver · debian · bookworm

  • [libmongoc-doc]Affected

    Source package: [mongo-c-driver]

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

      Affected

      nvd · mongo-c-driver · debian · bookworm

    • 1.23.1-1+deb12u3 · all · bookworm

      Affected

      nvd · mongo-c-driver · debian · bookworm

Observed:

References