UBUNTU-CVE-2026-120954 (CVE-2026-120954)

Vulnerability from osv_ubuntu – Published: 2026-11-03 19:18 – Updated: 2026-11-03 19:18 – Source website
VLAI
Details

A weakness in the BSON library's handling of a specialized binary vector data type allows an arithmetic wraparound when computing the number of elements described by an oversized attacker-supplied value. On builds where the platform word size is 32 bits, an application that parses untrusted BSON data can be made to process only a small fraction of the supplied elements while the operation reports success, producing results that disagree with byte-oriented accessors and with 64-bit builds of the same library. No authentication or user interaction is required beyond getting the application to parse the data. The impact is limited to data integrity; memory safety is not affected and no information is disclosed.


{
  "affected": [
    {
      "ecosystem_specific": {
        "binaries": [
          {
            "binary_name": "libbson-1.0-0",
            "binary_version": "1.16.1-1ubuntu0.1~esm1"
          },
          {
            "binary_name": "libmongoc-1.0-0",
            "binary_version": "1.16.1-1ubuntu0.1~esm1"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:Pro:20.04:LTS",
        "name": "mongo-c-driver",
        "purl": "pkg:deb/ubuntu/mongo-c-driver@1.16.1-1ubuntu0.1~esm1?arch=source\u0026distro=esm-apps/focal"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "1.15.0-1",
        "1.15.1-1",
        "1.15.2-1",
        "1.16.0-1",
        "1.16.1-1",
        "1.16.1-1build1",
        "1.16.1-1build2",
        "1.16.1-1ubuntu0.1~esm1"
      ]
    },
    {
      "ecosystem_specific": {
        "binaries": [
          {
            "binary_name": "libbson-1.0-0",
            "binary_version": "1.21.0-1ubuntu0.1~esm1"
          },
          {
            "binary_name": "libmongoc-1.0-0",
            "binary_version": "1.21.0-1ubuntu0.1~esm1"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:Pro:22.04:LTS",
        "name": "mongo-c-driver",
        "purl": "pkg:deb/ubuntu/mongo-c-driver@1.21.0-1ubuntu0.1~esm1?arch=source\u0026distro=esm-apps/jammy"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "1.18.0-1",
        "1.19.1-1",
        "1.19.2-1",
        "1.20.0-1",
        "1.20.0-1build1",
        "1.20.1-1",
        "1.21.0-1",
        "1.21.0-1build1",
        "1.21.0-1ubuntu0.1~esm1"
      ]
    },
    {
      "ecosystem_specific": {
        "binaries": [
          {
            "binary_name": "libbson-1.0-0t64",
            "binary_version": "1.26.0-1.1ubuntu2+esm1"
          },
          {
            "binary_name": "libmongoc-1.0-0t64",
            "binary_version": "1.26.0-1.1ubuntu2+esm1"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:Pro:24.04:LTS",
        "name": "mongo-c-driver",
        "purl": "pkg:deb/ubuntu/mongo-c-driver@1.26.0-1.1ubuntu2+esm1?arch=source\u0026distro=esm-apps/noble"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "1.24.3-1",
        "1.24.4-1",
        "1.25.1-1",
        "1.25.2-1",
        "1.25.4-1",
        "1.26.0-1",
        "1.26.0-1.1ubuntu1",
        "1.26.0-1.1ubuntu2",
        "1.26.0-1.1ubuntu2+esm1"
      ]
    },
    {
      "ecosystem_specific": {
        "binaries": [
          {
            "binary_name": "libbson2-2",
            "binary_version": "2.5.0-1"
          },
          {
            "binary_name": "libmongoc2-2",
            "binary_version": "2.5.0-1"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:26.10",
        "name": "mongo-c-driver",
        "purl": "pkg:deb/ubuntu/mongo-c-driver@2.5.0-1?arch=source\u0026distro=stonking"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "2.2.2-1",
        "2.3.1-1",
        "2.3.2-1",
        "2.3.3-1build1",
        "2.5.0-1"
      ]
    },
    {
      "ecosystem_specific": {
        "binaries": [
          {
            "binary_name": "libbson2-2",
            "binary_version": "2.2.2-1"
          },
          {
            "binary_name": "libmongoc2-2",
            "binary_version": "2.2.2-1"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:26.04:LTS",
        "name": "mongo-c-driver",
        "purl": "pkg:deb/ubuntu/mongo-c-driver@2.2.2-1?arch=source\u0026distro=resolute"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "1.30.4-1ubuntu1",
        "2.2.0-1",
        "2.2.1-1",
        "2.2.2-1"
      ]
    }
  ],
  "aliases": [],
  "details": "A weakness in the BSON library\u0027s handling of a specialized binary vector data type allows an arithmetic wraparound when computing the number of elements described by an oversized attacker-supplied value. On builds where the platform word size is 32 bits, an application that parses untrusted BSON data can be made to process only a small fraction of the supplied elements while the operation reports success, producing results that disagree with byte-oriented accessors and with 64-bit builds of the same library. No authentication or user interaction is required beyond getting the application to parse the data. The impact is limited to data integrity; memory safety is not affected and no information is disclosed.",
  "id": "UBUNTU-CVE-2026-120954",
  "modified": "2026-11-03T19:18:00Z",
  "published": "2026-11-03T19:18:00Z",
  "references": [
    {
      "type": "REPORT",
      "url": "https://ubuntu.com/security/CVE-2026-120954"
    },
    {
      "type": "REPORT",
      "url": "https://www.cve.org/CVERecord?id=CVE-2026-120954"
    },
    {
      "type": "REPORT",
      "url": "https://jira.mongodb.org/browse/CDRIVER-6420"
    }
  ],
  "related": [],
  "schema_version": "1.7.0",
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N",
      "type": "CVSS_V3"
    },
    {
      "score": "CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N",
      "type": "CVSS_V4"
    },
    {
      "score": "medium",
      "type": "Ubuntu"
    }
  ],
  "upstream": [
    "CVE-2026-120954"
  ]
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.

Loading…

Loading…

Loading…

Related by attack behaviour

Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.


Loading…