bson before 0.8 incorrectly uses int rather than size_t for many variables, parameters…
Priority LOW 27CWE-190Published · Updated
Key facts
- Attack vector
- Local
- Privileges required
- None
- User interaction
- Required
- Attack complexity
- Low
- Impact type
- Denial of service
- Confidentiality · integrity · availability
- None · None · High
- Fix status
- No fix listed
Attack profile from CVSS 3.1 · NVD. Fix status from CNA. Impact type from CWE-190 and the CVSS impact.
Summary
bson before 0.8 incorrectly uses int rather than size_t for many variables, parameters, and return values. In particular, the bson_ensure_space() parameter bytesNeeded could have an integer overflow via properly constructed bson input.
Why it matters now
EPSS 0.01165 67th percentileScored 2026-11-07
Public exploit Yes 1 exploit referenceTagged by NVD
Fix No fix listed No fixed version in the sources yet
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | — | all versions | — | No fix listed | CNA |
- — Vendor— Affected all versions Fixed in — No fix listed CNA
CPE configurations NVD · 2
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:whoopsie_project:whoopsie:*:*:*:*:*:*:*:* | up to 0.2.69 | Vulnerable | Whoopsie Project |
| cpe:2.3:a:mongodb:c_driver:*:*:*:*:*:*:*:* | before 0.8 | Vulnerable | MongoDB |
- cpe:2.3:a:whoopsie_project:whoopsie:*:*:*:*:*:*:*:* Versions up to 0.2.69 Vulnerable ·Whoopsie Project
- cpe:2.3:a:mongodb:c_driver:*:*:*:*:*:*:*:* Versions before 0.8 Vulnerable ·MongoDB
Remediation
No fixed version listed by the sources yet.
Vendor assessments
Red Hat
Red Hat rating: Moderate. Red Hat's page for this CVE →
Not affected: 3 products
- Red Hat Fuse 7
- Red Hat OpenShift Application Runtimes
- Red Hat Software Collections
Timeline
- 2026-10-02 Threatist record created from CVE-2020-12135
- 2026-10-03 Alias added: GHSA-f54q-h8mw-5h8w
References
Patch 2
Advisory 1
Sources
- CVE-2020-12135 · CVE Program
- CVE-2020-12135 · NVD
- FIRST EPSS
- GHSA-f54q-h8mw-5h8w · GitHub Advisory Database · CC BY 4.0
- CVE-2020-12135 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences