CVE catalog

CVE-2026-106436

The BSON encoder in the MongoDB PHP Driver does not check some return values after a document exceeds libbson's size limit. This can leave the encoder in an invalid state. An unauthenticated actor who

[CVE catalog]

Severity
Medium · CVSS 6.3CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:L/VA:L/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.26% · Oct 25, 2026

The BSON encoder in the MongoDB PHP Driver does not check some return values after a document exceeds libbson's size limit. This can leave the encoder in an invalid state. An unauthenticated actor who can cause an affected application to encode an unusually large data structure can terminate the PHP worker or cause the resulting document to omit fields. No MongoDB server connection or database authentication is required.

Vulnerable and fixed packages

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

DistributionPackageReleaseVersionStatus
Debianphp-mongodbsid2.5.3-1vulnerable
Debianphp-mongodbforky2.5.3-1vulnerable
Debianphp-mongodbtrixie2.0.0-1vulnerable
Debianphp-mongodbtrixie-security2.0.0-1+deb13u2fixed
Debianphp-mongodbbookworm1.15.0+1.11.1+1.9.2+1.7.5-1vulnerable
Cpephp_driverNot reported2.5.4fixed

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debianphp-mongodbsourcesid(unfixed)not yet assignedNot reported[1150514]
Debianphp-mongodbsourceforky(unfixed)not yet assignedNot reported[1150514]
Debianphp-mongodbsourcetrixie2.0.0-1+deb13u2not yet assignedNot reported[1150514]
Debianphp-mongodbsourcebookworm(unfixed)not yet assignedNot reported[1150514]
Cpephp_drivercpeNot reported2.5.4Not reportedNVD-CVE-2026-106436Not reported

[Debian bug #1150514]

OpenFactory catalog packages

[Debian 12 (Bookworm)]

  • [php8.2-mongodb]Affected

    Source package: [php-mongodb]

    Details (2)
    • 1.15.0+1.11.1+1.9.2+1.7.5-1 · amd64 · bookworm

      Affected

      nvd · php-mongodb · debian · bookworm; nvd · php-mongodb · debian · 12

    • 1.15.0+1.11.1+1.9.2+1.7.5-1 · arm64 · bookworm

      Affected

      nvd · php-mongodb · debian · bookworm; nvd · php-mongodb · debian · 12

  • [php-mongodb]Affected
    Details (2)
    • 1.15.0+1.11.1+1.9.2+1.7.5-1 · amd64 · bookworm

      Affected

      nvd · php-mongodb · debian · bookworm; nvd · php-mongodb · debian · 12

    • 1.15.0+1.11.1+1.9.2+1.7.5-1 · arm64 · bookworm

      Affected

      nvd · php-mongodb · debian · bookworm; nvd · php-mongodb · debian · 12

  • Source package: [php-mongodb]

    Details (2)
    • 1.15.0+1.11.1+1.9.2+1.7.5-1 · all · bookworm

      Affected

      nvd · php-mongodb · debian · bookworm; nvd · php-mongodb · debian · 12

    • 1.15.0+1.11.1+1.9.2+1.7.5-1 · all · bookworm

      Affected

      nvd · php-mongodb · debian · bookworm; nvd · php-mongodb · debian · 12

[Debian 13 (Trixie)]

  • [php8.4-mongodb]Affected

    Source package: [php-mongodb]

    Details (4)
    • 2.0.0-1 · amd64 · trixie

      Affected · Fixed: 2.0.0-1+deb13u2

      nvd · php-mongodb · debian · 13

    • 2.0.0-1 · arm64 · trixie

      Affected · Fixed: 2.0.0-1+deb13u2

      nvd · php-mongodb · debian · 13

    • 2.0.0-1+deb13u1 · amd64 · trixie-security · Historical version

      Affected · Fixed: 2.0.0-1+deb13u2

      nvd · php-mongodb · debian · 13

    • 2.0.0-1+deb13u2 · amd64 · trixie-security

      Fixed · Fixed: 2.0.0-1+deb13u2

      nvd · php-mongodb · debian · 13

  • [php-mongodb]Affected
    Details (4)
    • 2.0.0-1 · all · trixie

      Affected · Fixed: 2.0.0-1+deb13u2

      nvd · php-mongodb · debian · 13

    • 2.0.0-1 · all · trixie

      Affected · Fixed: 2.0.0-1+deb13u2

      nvd · php-mongodb · debian · 13

    • 2.0.0-1+deb13u1 · all · trixie-security · Historical version

      Affected · Fixed: 2.0.0-1+deb13u2

      nvd · php-mongodb · debian · 13

    • 2.0.0-1+deb13u2 · all · trixie-security

      Fixed · Fixed: 2.0.0-1+deb13u2

      nvd · php-mongodb · debian · 13

  • Source package: [php-mongodb]

    Details (4)
    • 2.0.0-1 · all · trixie

      Affected · Fixed: 2.0.0-1+deb13u2

      nvd · php-mongodb · debian · 13

    • 2.0.0-1 · all · trixie

      Affected · Fixed: 2.0.0-1+deb13u2

      nvd · php-mongodb · debian · 13

    • 2.0.0-1+deb13u1 · all · trixie-security · Historical version

      Affected · Fixed: 2.0.0-1+deb13u2

      nvd · php-mongodb · debian · 13

    • 2.0.0-1+deb13u2 · all · trixie-security

      Fixed · Fixed: 2.0.0-1+deb13u2

      nvd · php-mongodb · debian · 13

Observed:

References