CVE-2026-106431

Source
https://cve.org/CVERecord?id=CVE-2026-106431
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-106431.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-106431
Downstream
DEBIAN (1)
OESA (4)
UBUNTU (1)
Published
2026-10-08T18:40:32Z
Modified
2026-11-18T21:00:49Z
Severity
  • 5.9 (Medium) CVSS_V4 - CVSS:4.0/AV:L/AC:L/AT:P/PR:N/UI:N/VC:N/VI:L/VA:H/SC:N/SI:N/SA:N CVSS Calculator
Summary
One-byte heap buffer overflow in BSON bulk document writer in MongoDB C Driver
Details

An off-by-one error in the BSON bulk document writer in the MongoDB C Driver can write one zero byte immediately past a heap allocation when a document ends at a specific buffer boundary. An actor who can influence the size of documents serialized by an embedding application can corrupt adjacent process memory or terminate the process. Reaching this issue requires the application to use the BSON bulk-writer API and produce a precise cumulative document size.

Database specific
{
    "cna_assigner":  "mongodb",
    "cwe_ids":  [
        "CWE-787"
    ],
    "osv_generated_from":  "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/106xxx/CVE-2026-106431.json",
    "unresolved_ranges":  [
        {
            "extracted_events":  [
                {
                    "range":  [
                        {
                            "introduced":  "0.5.0"
                        },
                        {
                            "fixed":  "1.30.13"
                        },
                        {
                            "introduced":  "2.0.0"
                        },
                        {
                            "fixed":  "2.5.6"
                        }
                    ],
                    "source":  "AFFECTED_FIELD",
                    "strategy":  "StandardRange"
                }
            ]
        }
    ]
}
References

Affected packages

Git / github.com/mongodb/mongo-c-driver

Affected ranges

Type
GIT
Repo
https://github.com/mongodb/mongo-c-driver
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed
Introduced
Fixed
Database specific
Show details
{
    "extracted_events":  [
        {
            "cpe":  "cpe:2.3:a:mongodb:c_driver:*:*:*:*:*:mongodb:*:*",
            "range":  [
                {
                    "introduced":  "0.5.0"
                },
                {
                    "fixed":  "1.30.13"
                }
            ],
            "source":  "CPE_RANGE"
        },
        {
            "cpe":  "cpe:2.3:a:mongodb:c_driver:*:*:*:*:*:mongodb:*:*",
            "range":  [
                {
                    "introduced":  "2.0.0"
                },
                {
                    "fixed":  "2.5.6"
                }
            ],
            "source":  "CPE_RANGE"
        }
    ]
}

Affected versions

0.*
0.90.0
0.92.0
0.92.2
0.94.0
0.94.2
0.96.0
0.96.4
0.98.0
0.98.2
1.*
1.0.0
1.0.2
1.1.0
1.1.0-rc0
1.1.10
1.1.11
1.1.2
1.1.4
1.1.5
1.1.6
1.1.7
1.1.8
1.1.9
1.11.0
1.3.0
1.3.0-rc0
1.30.0
1.30.1
1.30.10
1.30.11
1.30.12
1.30.2
1.30.3
1.30.4
1.30.5
1.30.6
1.30.7
1.30.8
1.30.9
1.4.0-beta1
1.5.0-rc0
1.5.0-rc1
1.5.0-rc2
1.5.0-rc3
1.5.0-rc4
1.6.0
1.6.0-rc0
1.7.0-rc0
1.9.0-rc0
1.9.0-rc1
2.*
2.5.0
2.5.1
2.5.2
2.5.3
2.5.4
2.5.5

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-106431.json"