p PatchFirst

CVE-2026-135133

CVE-2026-135133 · Invalid pointer release for non-string option values in the PHP Driver

CVSS 8.5 · High · EPSS 0.3% · Fix available

Compare with your installed version

Affected products and known fixed versions are public information. Compare them with your installed version.

Check the installed version:

dpkg-query -W -f='${source:Package} ${binary:Package} ${Version}\n' | awk '$1=="php-mongodb"'

Assess your server’s risks

The free check gives you a rating and a risk summary by technology stack, without signing up. It does not answer whether this particular vulnerability affects you.

Monitoring matches public information against your servers’ software. Detailed findings for your servers include the order of updates.

curl -fsSL https://patchfirst.dev/check.sh | sh
Check your server for free →

Channels carry general technology news; monitoring reports new findings on your servers in your dashboard, through browser notifications, in Telegram or via a webhook.

This page contains facts from public vulnerability sources. Check the original advisory before updating.

An invalid memory release in the MongoDB PHP Driver extension occurs when certain string-typed options or type-mapping settings are given non-string values. A party who can run PHP code in a process that loads the extension may corrupt process memory. This can lead to reading or changing process memory, running commands as the PHP process user, or crashing the process.

Published
Updated

Stack: system

Affected products and versions

  • php driver

    Versions
    • ≥ 1.0.0, < 1.21.15: Affected (semver)
    • ≥ 2.0.0, < 2.1.15: Affected (semver)
    • ≥ 2.2.0, < 2.5.9: Affected (semver)

    Update to 1.21.15; Update to 2.1.15; Update to 2.5.9

  • php-mongodb Ubuntu 16.04 LTS

    Versions
    • 1.1.2-2~ubuntu1
    • 1.1.5-1~build1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • php-mongodb Ubuntu 18.04 LTS

    Versions
    • 1.2.3-1build1
    • 1.3.4-1build1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • php-mongodb Ubuntu 20.04 LTS

    Versions
    • 1.5.5-1build1
    • 1.6.1-4
    • 1.6.1-4build1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • php-mongodb Ubuntu 22.04 LTS

    Versions
    • 1.9.0+1.7.5-2build2
    • 1.11.1+1.9.2+1.7.5-4
    • 1.12.0+1.9.2+1.7.5-3
    • 1.12.0+1.9.2+1.7.5-4
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • php-mongodb Ubuntu 24.04 LTS

    Versions
    • 1.15.0+1.11.1+1.9.2+1.7.5-1build1
    • 1.15.0+1.11.1+1.9.2+1.7.5-1ubuntu1
    • 1.15.0+1.11.1+1.9.2+1.7.5-1ubuntu2
    • 1.15.0+1.11.1+1.9.2+1.7.5-1ubuntu3
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • php-mongodb Ubuntu 26.10

    Versions
    • 2.1.7-0ubuntu1
    • 2.1.7-0ubuntu2
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • php-mongodb Ubuntu 26.04 LTS

    Versions
    • 2.1.0-1
    • 2.1.7-0ubuntu1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

Original sources

Check your server →