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.
Conclusion & alert: CVE-2020-12135 is rated Exploit Available (59.9/100): CVSS Medium severity, with medium exploitation likelihood (EPSS 1.17%). Core evidence: 1 public exploit reference(s) are indexed (Exploit-DB). Mandatory action: Public exploits are available—assess exposure, apply mitigations, and prioritize patching.
Risk is dynamic; we continuously reassess and refresh what is shown on this page as upstream context changes.
| EDB-ID | Source | Kind | Published | Link |
|---|---|---|---|---|
| — | nvd_ref | exploit_tag | Exploit-DB ↗ |
EPSS lead: Daily EPSS estimates relative likelihood of exploitation; percentile ranks this CVE among scored vulnerabilities (higher = more severe relative rank).
| # | Date | Old EPSS score | New EPSS score | Delta (New - Old) |
|---|---|---|---|---|
| 1 | 2026-06-15 | 0.35% | 1.17% | +0.82% |
| 2 | 2025-11-21 | 0.20% | 0.35% | +0.14% |
| 3 | 2025-11-18 | — | 0.20% | — |
Full EPSS history (12 records total)
CVSS metrics for this CVE.
| Base score | Version | Severity | Vector | Exploitability | Impact | Score source |
|---|---|---|---|---|---|---|
| 5.5 | 3.1 | MEDIUM |
|
1.8 | 3.6 | [email protected] |
| 4.3 | 2.0 | MEDIUM |
|
8.6 | 2.9 | [email protected] |
| vendor | priority | summary | link |
|---|---|---|---|
debian
|
unimportant | CVE-2020-12135 unimportant priority: Debian including 1 source packages (duo-unix), 4 status rows across 4 suites (bookworm, bullseye, sid, trixie): open 4. | https://security-tracker.debian.org/tracker/CVE-2020-12135 |
redhat
|
medium | — | https://access.redhat.com/security/cve/CVE-2020-12135 |
ubuntu
|
medium | CVE-2020-12135 medium priority: Ubuntu including 2 source packages (duo-unix, whoopsie), 34 status rows across 17 suites (bionic, eoan, focal, groovy, hirsute, impish, jammy, kinetic, lunar, mantic, noble, oracular, plucky, questing, trusty, upstream, xenial): released 14, ignored 10, needs-triage 8, DNE 2. | https://ubuntu.com/security/CVE-2020-12135 |
| Vendor | Product | Version | Raw CPE |
|---|---|---|---|
| whoopsie_project | whoopsie | <= 0.2.69 | cpe:2.3:a:whoopsie_project:whoopsie:*:*:*:*:*:*:*:* |
| mongodb | c_driver | < 0.8 | cpe:2.3:a:mongodb:c_driver:*:*:*:*:*:*:*:* |
| URL | Tags |
|---|---|
| https://bugs.launchpad.net/ubuntu/+source/whoopsie/+bug/1872560 | Exploit Third Party Advisory |
| https://github.com/10gen-archive/mongo-c-driver-legacy/commit/1a1f5e26a4309480d88598913f9eebf9e9cba8ca#diff-f7d29a680148f52d6601f59ed787f577 | Patch Third Party Advisory |
| https://launchpadlibrarian.net/474887364/bson-fix-overflow.patch | Patch Third Party Advisory |
| https://usn.ubuntu.com/4450-1/ |