CVE catalog

CVE-2025-0755

mongo-c-driver vulnerabilities

[CVE catalog]

Severity
Medium
Published
Source
[NVD] · [CVE record]
EPSS
0.79% · Oct 25, 2026

The various bson_append functions in the MongoDB C driver library may be susceptible to buffer overflow when performing operations that could result in a final BSON document which exceeds the maximum allowable size (INT32_MAX), resulting in a segmentation fault and possible application crash. This issue affected libbson versions prior to 1.27.5, MongoDB Server v8.0 versions prior to 8.0.1 and MongoDB Server v7.0 versions prior to 7.0.16

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+deb12u3fixed
Debianlibbson-xs-perlbookworm0.8.4-2+deb12u1fixed
Ubuntumongo-c-drivernoble1.26.0-1.1ubuntu2+esm1fixed
Ubuntulibbson-1.0-0t64noble1.26.0-1.1ubuntu2+esm1fixed
Ubuntulibbson-devnoble1.26.0-1.1ubuntu2+esm1fixed
Ubuntulibbson-docnoble1.26.0-1.1ubuntu2+esm1fixed
Ubuntulibmongoc-1.0-0t64noble1.26.0-1.1ubuntu2+esm1fixed
Ubuntulibmongoc-devnoble1.26.0-1.1ubuntu2+esm1fixed
Ubuntulibmongoc-docnoble1.26.0-1.1ubuntu2+esm1fixed
Ubuntumongo-c-driverpro1.24.3-1vulnerable
Ubuntumongo-c-driverpro1.24.4-1vulnerable
Ubuntumongo-c-driverpro1.25.1-1vulnerable
Ubuntumongo-c-driverpro1.25.2-1vulnerable
Ubuntumongo-c-driverpro1.25.4-1vulnerable
Ubuntumongo-c-driverpro1.26.0-1vulnerable
Ubuntumongo-c-driverpro1.26.0-1.1ubuntu1vulnerable
Ubuntumongo-c-driverpro1.26.0-1.1ubuntu2vulnerable
Ubuntumongo-c-driverpro1.26.0-1.1ubuntu2+esm1fixed
Ubuntumongo-c-driver22.041.18.0-1vulnerable
Ubuntumongo-c-driver22.041.19.1-1vulnerable
Ubuntumongo-c-driver22.041.19.2-1vulnerable
Ubuntumongo-c-driver22.041.20.0-1vulnerable
Ubuntumongo-c-driver22.041.20.0-1build1vulnerable
Ubuntumongo-c-driver22.041.20.1-1vulnerable
Ubuntumongo-c-driver22.041.21.0-1vulnerable
Ubuntumongo-c-driver22.041.21.0-1build1vulnerable

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debianmongo-c-driversourcesid1.27.5-1not yet assignedNot reportedNot reported
Debianmongo-c-driversourceforky1.27.5-1not yet assignedNot reportedNot reported
Debianmongo-c-driversourcetrixie1.27.5-1not yet assignedNot reportedNot reported
Debianmongo-c-driversourcebookworm1.23.1-1+deb12u1not yet assignedNot reportedNot reported
Debianlibbson-xs-perlsourcebookworm0.8.4-2+deb12u1not yet assignedNot reportedNot reported
Ubuntumongo-c-driverdebnoble1.26.0-1.1ubuntu2+esm1Not reportedNot reportedNot reported
Ubuntulibbson-1.0-0t64debnoble1.26.0-1.1ubuntu2+esm1Not reportedNot reportedNot reported
Ubuntulibbson-devdebnoble1.26.0-1.1ubuntu2+esm1Not reportedNot reportedNot reported
Ubuntulibbson-docdebnoble1.26.0-1.1ubuntu2+esm1Not reportedNot reportedNot reported
Ubuntulibmongoc-1.0-0t64debnoble1.26.0-1.1ubuntu2+esm1Not reportedNot reportedNot reported
Ubuntulibmongoc-devdebnoble1.26.0-1.1ubuntu2+esm1Not reportedNot reportedNot reported
Ubuntulibmongoc-docdebnoble1.26.0-1.1ubuntu2+esm1Not reportedNot reportedNot reported
Ubuntumongo-c-driverdebpro1.26.0-1.1ubuntu2+esm1Not reportedUBUNTU-CVE-2025-0755Not reported

OpenFactory catalog packages

[Debian 12 (Bookworm)]

  • Source package: [mongo-c-driver]

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

      Fixed · Fixed: 1.23.1-1+deb12u1

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

    • 1.23.1-1+deb12u3 · arm64 · bookworm

      Fixed · Fixed: 1.23.1-1+deb12u1

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

  • Source package: [mongo-c-driver]

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

      Fixed · Fixed: 1.23.1-1+deb12u1

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

    • 1.23.1-1+deb12u3 · arm64 · bookworm

      Fixed · Fixed: 1.23.1-1+deb12u1

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

  • Source package: [mongo-c-driver]

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

      Fixed · Fixed: 1.23.1-1+deb12u1

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

    • 1.23.1-1+deb12u3 · all · bookworm

      Fixed · Fixed: 1.23.1-1+deb12u1

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

  • Details (2)
    • 0.8.4-2+deb12u1 · amd64 · bookworm

      Fixed · Fixed: 0.8.4-2+deb12u1

      usn · libbson-xs-perl · debian · bookworm; usn · libbson-xs-perl · debian · 12

    • 0.8.4-2+deb12u1 · arm64 · bookworm

      Fixed · Fixed: 0.8.4-2+deb12u1

      usn · libbson-xs-perl · debian · bookworm; usn · libbson-xs-perl · debian · 12

  • Source package: [mongo-c-driver]

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

      Fixed · Fixed: 1.23.1-1+deb12u1

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

    • 1.23.1-1+deb12u3 · arm64 · bookworm

      Fixed · Fixed: 1.23.1-1+deb12u1

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

  • Source package: [mongo-c-driver]

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

      Fixed · Fixed: 1.23.1-1+deb12u1

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

    • 1.23.1-1+deb12u3 · arm64 · bookworm

      Fixed · Fixed: 1.23.1-1+deb12u1

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

  • Source package: [mongo-c-driver]

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

      Fixed · Fixed: 1.23.1-1+deb12u1

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

    • 1.23.1-1+deb12u3 · all · bookworm

      Fixed · Fixed: 1.23.1-1+deb12u1

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

[Debian 13 (Trixie)]

  • Source package: [mongo-c-driver]

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

      Fixed · Fixed: 1.27.5-1

      usn · mongo-c-driver · debian · 13

    • 1.30.4-1+deb13u2 · arm64 · trixie

      Fixed · Fixed: 1.27.5-1

      usn · mongo-c-driver · debian · 13

  • Source package: [mongo-c-driver]

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

      Fixed · Fixed: 1.27.5-1

      usn · mongo-c-driver · debian · 13

    • 1.30.4-1+deb13u2 · arm64 · trixie

      Fixed · Fixed: 1.27.5-1

      usn · mongo-c-driver · debian · 13

  • Source package: [mongo-c-driver]

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

      Fixed · Fixed: 1.27.5-1

      usn · mongo-c-driver · debian · 13

    • 1.30.4-1+deb13u2 · all · trixie

      Fixed · Fixed: 1.27.5-1

      usn · mongo-c-driver · debian · 13

  • Source package: [mongo-c-driver]

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

      Fixed · Fixed: 1.27.5-1

      usn · mongo-c-driver · debian · 13

    • 1.30.4-1+deb13u2 · arm64 · trixie

      Fixed · Fixed: 1.27.5-1

      usn · mongo-c-driver · debian · 13

  • Source package: [mongo-c-driver]

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

      Fixed · Fixed: 1.27.5-1

      usn · mongo-c-driver · debian · 13

    • 1.30.4-1+deb13u2 · arm64 · trixie

      Fixed · Fixed: 1.27.5-1

      usn · mongo-c-driver · debian · 13

  • Source package: [mongo-c-driver]

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

      Fixed · Fixed: 1.27.5-1

      usn · mongo-c-driver · debian · 13

    • 1.30.4-1+deb13u2 · all · trixie

      Fixed · Fixed: 1.27.5-1

      usn · mongo-c-driver · debian · 13

Observed:

References