Skip to content
Heist/ feed
Back to feed
MediumFix available

pymongo — security advisory

Type: advisorySources: OSVAdvisory ID: DEBIAN-CVE-2026-106435

The MongoDB Python Driver's binary accelerator can read outside a buffer when an application decodes malformed BSON containing a truncated regular-expression element without a trailing NUL byte. An actor who can supply BSON to the documented decode or decode_all API can cause the application process to terminate when the C extension is loaded. The driver's normal database wire-protocol path does not reach this code.

Products
pymongo
Affected versions
3.11.0-1, 3.11.0-1+deb12u1, 4.10.1-1, 4.10.1-2, 4.10.1-3, 4.10.1-4, 4.10.1-5, 4.10.1-6, 4.15.3-1, 4.15.3-2, 4.15.4-1, 4.15.4-2, 4.15.5-1, 4.16.0-1, 4.17.0-1, 4.18.1-1, 4.18.2-1, 4.19.0-1, 4.7.3-1, 4.7.3-2
Fixed versions
4.19.0-1
CVEs
CVE-2026-106435
Confirmed fixed CVEs
Not specified
Updated in this feed
1 Nov 2026, 03:43 UTC · Revision 1

Source evidence

DEBIAN-CVE-2026-106435

core-osv · Original source

Published 8 Oct 2026, 21:17 UTC

The MongoDB Python Driver's binary accelerator can read outside a buffer when an application decodes malformed BSON containing a truncated regular-expression element without a trailing NUL byte. An actor who can supply BSON to the documented decode or decode_all API can cause the application process to terminate when the C extension is loaded. The driver's normal database wire-protocol path does not reach this code.

osv:DEBIAN-CVE-2026-106435

pymongo

Fixed versions: Not specified

pymongo

Fixed versions: Not specified

pymongo

Fixed versions: 4.19.0-1

Complete source record
{
  "id": "b14b5dd6ea4c878eb800c9fec7045e10c9d5b5de45e2360133a0146f398bb3a7",
  "url": "https://osv.dev/vulnerability/DEBIAN-CVE-2026-106435",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "DEBIAN-CVE-2026-106435",
    "summary": "The MongoDB Python Driver's binary accelerator can read outside a buffer when an application decodes malformed BSON containing a truncated regular-expression element without a trailing NUL byte. An actor who can supply BSON to the documented decode or decode_all API can cause the application process to terminate when the C extension is loaded. The driver's normal database wire-protocol path does not reach this code.",
    "evidence": "osv:DEBIAN-CVE-2026-106435",
    "products": [
      {
        "name": {
          "value": "pymongo",
          "evidence": "/affected/0/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "3.11.0-1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "3.11.0-1+deb12u1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "4.10.1-1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "4.10.1-2",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "4.10.1-3",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "4.10.1-4",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "4.10.1-5",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "4.10.1-6",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "4.15.3-1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "4.15.3-2",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "4.15.4-1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "4.15.4-2",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "4.15.5-1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "4.16.0-1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "4.17.0-1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "4.18.1-1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "4.18.2-1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "4.19.0-1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "4.7.3-1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "4.7.3-2",
            "evidence": "/affected/0/versions"
          }
        ]
      },
      {
        "name": {
          "value": "pymongo",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "4.10.1-6",
            "evidence": "/affected/1/versions"
          },
          {
            "value": "4.15.3-1",
            "evidence": "/affected/1/versions"
          },
          {
            "value": "4.15.3-2",
            "evidence": "/affected/1/versions"
          },
          {
            "value": "4.15.4-1",
            "evidence": "/affected/1/versions"
          },
          {
            "value": "4.15.4-2",
            "evidence": "/affected/1/versions"
          },
          {
            "value": "4.15.5-1",
            "evidence": "/affected/1/versions"
          },
          {
            "value": "4.16.0-1",
            "evidence": "/affected/1/versions"
          },
          {
            "value": "4.17.0-1",
            "evidence": "/affected/1/versions"
          },
          {
            "value": "4.18.1-1",
            "evidence": "/affected/1/versions"
          },
          {
            "value": "4.18.2-1",
            "evidence": "/affected/1/versions"
          },
          {
            "value": "4.19.0-1",
            "evidence": "/affected/1/versions"
          }
        ]
      },
      {
        "name": {
          "value": "pymongo",
          "evidence": "/affected/2/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "4.19.0-1",
            "evidence": "/affected/2/ranges"
          }
        ],
        "affected_versions": [
          {
            "value": "4.10.1-6",
            "evidence": "/affected/2/versions"
          },
          {
            "value": "4.15.3-1",
            "evidence": "/affected/2/versions"
          },
          {
            "value": "4.15.3-2",
            "evidence": "/affected/2/versions"
          },
          {
            "value": "4.15.4-1",
            "evidence": "/affected/2/versions"
          },
          {
            "value": "4.15.4-2",
            "evidence": "/affected/2/versions"
          },
          {
            "value": "4.15.5-1",
            "evidence": "/affected/2/versions"
          },
          {
            "value": "4.16.0-1",
            "evidence": "/affected/2/versions"
          },
          {
            "value": "4.17.0-1",
            "evidence": "/affected/2/versions"
          },
          {
            "value": "4.18.1-1",
            "evidence": "/affected/2/versions"
          },
          {
            "value": "4.18.2-1",
            "evidence": "/affected/2/versions"
          }
        ]
      }
    ],
    "severity": "medium",
    "structured": {
      "id": "DEBIAN-CVE-2026-106435",
      "aliases": [
        "DEBIAN-CVE-2026-106435"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "pymongo",
            "purl": "pkg:deb/debian/pymongo?arch=source&distro=bookworm",
            "ecosystem": "Debian:12"
          },
          "versions": [
            "3.11.0-1",
            "3.11.0-1+deb12u1",
            "4.10.1-1",
            "4.10.1-2",
            "4.10.1-3",
            "4.10.1-4",
            "4.10.1-5",
            "4.10.1-6",
            "4.15.3-1",
            "4.15.3-2",
            "4.15.4-1",
            "4.15.4-2",
            "4.15.5-1",
            "4.16.0-1",
            "4.17.0-1",
            "4.18.1-1",
            "4.18.2-1",
            "4.19.0-1",
            "4.7.3-1",
            "4.7.3-2"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-106435.json"
          },
          "ecosystem_specific": {
            "urgency": "not yet assigned"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "pymongo",
            "purl": "pkg:deb/debian/pymongo?arch=source&distro=trixie",
            "ecosystem": "Debian:13"
          },
          "versions": [
            "4.10.1-6",
            "4.15.3-1",
            "4.15.3-2",
            "4.15.4-1",
            "4.15.4-2",
            "4.15.5-1",
            "4.16.0-1",
            "4.17.0-1",
            "4.18.1-1",
            "4.18.2-1",
            "4.19.0-1"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-106435.json"
          },
          "ecosystem_specific": {
            "urgency": "not yet assigned"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "4.19.0-1"
                }
              ]
            }
          ],
          "package": {
            "name": "pymongo",
            "purl": "pkg:deb/debian/pymongo?arch=source&distro=forky",
            "ecosystem": "Debian:14"
          },
          "versions": [
            "4.10.1-6",
            "4.15.3-1",
            "4.15.3-2",
            "4.15.4-1",
            "4.15.4-2",
            "4.15.5-1",
            "4.16.0-1",
            "4.17.0-1",
            "4.18.1-1",
            "4.18.2-1"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-106435.json"
          },
          "ecosystem_specific": {
            "urgency": "not yet assigned"
          }
        }
      ],
      "modified": "2026-10-24T05:00:38.378851377Z",
      "provider": "osv",
      "upstream": [
        "CVE-2026-106435"
      ],
      "references": [
        "https://security-tracker.debian.org/tracker/CVE-2026-106435"
      ]
    },
    "related_cves": [
      {
        "value": "CVE-2026-106435",
        "evidence": "/upstream"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 428198,
  "published_at": "2026-10-08T21:17:51.667+00:00"
}