UbuntuUpdates.org

Package "python3-bson"

Name: python3-bson

Description:

Python3 implementation of BSON for MongoDB

Latest version: 4.16.0-1ubuntu0.1
Release: resolute (26.04)
Level: security
Repository: main
Head package: pymongo
Homepage: https://github.com/mongodb/mongo-python-driver

Links


Download "python3-bson"


Other versions of "python3-bson" in Resolute

Repository Area Version
base main 4.16.0-1build1

Changelog

Version: 4.16.0-1ubuntu0.1 2026-12-02 21:07:22 UTC

pymongo (4.16.0-1ubuntu0.1) resolute-security; urgency=medium

  * SECURITY UPDATE: Out-of-bounds read
    - debian/patches/CVE-2026-106435.patch: use bounded memchr instead of strlen
      to find regex pattern and flags terminators when decoding BSON in
      bson/_cbsonmodule.c.
    - CVE-2026-106435
  * SECURITY UPDATE: Improper input validation
    - debian/patches/CVE-2026-129926.patch: reject NUL characters in user name
      or password when building SASL PLAIN credentials in
      pymongo/auth_shared.py.
    - CVE-2026-129926
  * SECURITY UPDATE: Information disclosure
    - debian/patches/CVE-2026-129927.patch: redact sensitive client options and
      URI validation diagnostics in pymongo/asynchronous/mongo_client.py,
      pymongo/asynchronous/uri_parser.py, pymongo/common.py and 5 other files.
    - CVE-2026-129927
  * SECURITY UPDATE: NoSQL injection
    - debian/patches/CVE-2026-88029.patch: wrap GridFS file id lookups, deletes,
      renames and chunk queries in explicit $eq matches in
      gridfs/asynchronous/grid_file.py, gridfs/grid_file_shared.py,
      gridfs/synchronous/grid_file.py.
    - CVE-2026-88029
  * SECURITY UPDATE: Server-side request forgery
    - debian/patches/CVE-2026-96747.patch: reject KMS endpoints whose host ends
      in ".sock" in the sync and async encryption callbacks in
      pymongo/asynchronous/encryption.py, pymongo/synchronous/encryption.py.
    - CVE-2026-96747
  * SECURITY UPDATE: Improper input validation
    - debian/patches/CVE-2026-96748.patch: split hosts before percent-decoding,
      decoding only socket paths and IPv6 zones and rejecting other escapes in
      pymongo/asynchronous/uri_parser.py, pymongo/synchronous/uri_parser.py,
      pymongo/uri_parser_shared.py.
    - CVE-2026-96748
  * SECURITY UPDATE: Integer overflow
    - debian/patches/CVE-2026-96749.patch: check the BSON buffer size before
      narrowing to int in bson/buffer.c.
    - CVE-2026-96749
  * SECURITY UPDATE: Out-of-bounds read
    - debian/patches/CVE-2026-135898.patch: bound array element keys and values
      to the array sub-document's remaining bytes in get_value() in
      bson/_cbsonmodule.c, test/test_bson.py.
    - CVE-2026-135898
  * SECURITY UPDATE: Improper certificate validation
    - debian/patches/CVE-2026-135146.patch: reject stapled OCSP responses whose
      CertID does not match the peer certificate and issuer before caching in
      pymongo/ocsp_support.py.
    - CVE-2026-135146

 -- John Breton Tue, 01 Dec 2026 20:00:10 +0200

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-ex
CVE-2026-129926 The MongoDB Python Driver does not neutralize NUL characters in the user name and password values it places into the message it builds for SASL PLAIN
CVE-2026-129927 A credential-handling weakness in the MongoDB Python Driver allows a configuration option value that protects private key material to be written in c
CVE-2026-88029 Improper neutralization of special elements in data query logic in the GridFS component of the MongoDB Python Driver can cause a caller-supplied stru
CVE-2026-96747 The client-side field level encryption support in the MongoDB Python Driver can treat a key management endpoint value ending in ".sock" as a local Un
CVE-2026-96748 PyMongo's connection string parsing decodes percent-encoded characters in the host portion before the host list is separated on its delimiters. When
CVE-2026-96749 An integer overflow in the BSON document encoding component of the MongoDB Python Driver's bundled native extension may occur when a single document
CVE-2026-135898 An out-of-bounds read in the native C BSON decoding extension of the MongoDB Python Driver may allow an unauthenticated party who can supply crafted
CVE-2026-135146 An improper certificate revocation check in the MongoDB Python Driver's optional TLS revocation-checking support allows an unauthenticated party that



About   -   Send Feedback to @ubuntu_updates