# JLSEC-2026-773: The bsonvalidate function may return early on specific inputs and incorrectly report success.

- Severity: High 7.5 (CVSS:3.1, scored by Julia Security Advisories) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Published: 2026-07-16T13:20:54.142Z
- Modified: 2026-07-25T18:24:53.182Z
- Related: CVE-2026-6231

## Description

The `bson_validate` function may return early on specific inputs and incorrectly report success. This behavior could result in skipping validation for BSON data, allowing malformed or invalid UTF-8 sequences to bypass validation and be processed incorrectly. The issue may affect applications that rely on these functions to validate untrusted BSON data before further processing. This issue affects MongoDB C Driver versions prior to 1.30.5, MongoDB C Driver version 2.0.0 and MongoDB C Driver version 2.0.1

(As written by Julia Security Advisories.)

## Affected

- MongoC_jll (Julia): before 1.30.8+0

## Every score

- Julia Security Advisories: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N`
- Julia Security Advisories: CVSS:4.0 `CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X`

## References

- <https://jira.mongodb.org/browse/CDRIVER-6017> (web)

## Sources

- Julia Security Advisories: [JLSEC-2026-773](https://osv.dev/vulnerability/JLSEC-2026-773), CC-BY-4.0, modified 2026-07-25

---

Page: https://cve.day/JLSEC-2026-773 · Whole record: https://cve.day/JLSEC-2026-773.json · Rebuilt by cve.day 2026-11-25T22:56:26.232Z
