CVE-2023-39914
HIGH 7.5CVSS 3.1BER/CER/DER decoder panics on invalid input
NLnet Labs' bcder library up to and including version 0.7.2 panics while decoding certain invalid input data rather than rejecting the data with an error. This can affect both the actual decoding stage as well as accessing content of types that utilized delayed decoding.
- Published
- 13 Sep 2023
- Last modified
- 17 Jun 2026
- Assigned by
- sep@nlnetlabs.nl
- NVD status
- Modified
- Weakness
- CWE-228CWE-232
- Also known as
- GHSA-6jmw-6mxw-w4jcRUSTSEC-2023-0062
- Sources
- NVDJSONOSV GHSA-6jmw-6mxw-w4jcJSONOSV RUSTSEC-2023-0062JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | sep@nlnetlabs.nl (Secondary) | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| OSV | GitHub | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| OSV | RustSec | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | nlnetlabs | bcdercpe:2.3:a:nlnetlabs:bcder:*:*:*:*:*:*:*:* |
< 0.7.3 | 0.7.3 |
| OSV | crates.io | bcder | < 0.7.3 | 0.7.3 |
| OSV | crates.io | bcder | >= 0.0.0-0, < 0.7.3 | 0.7.3 |
References
- https://nlnetlabs.nl/downloads/bcder/CVE-2023-39914.txt · Vendor Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2023-39914 · ADVISORY
- https://github.com/NLnetLabs/bcder/commit/4da91c3fd853e3d466d8581cf1d82b7f3255de56 · WEB
- https://github.com/NLnetLabs/bcder · PACKAGE
- https://rustsec.org/advisories/RUSTSEC-2023-0062.html · WEB, ADVISORY
- https://crates.io/crates/bcder · PACKAGE
- https://github.com/NLnetLabs/bcder/pull/74 · WEB
History
- 25 Nov 2026 20:36 UTC · NVD: first stored (published 13 Sep 2023)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 13 Sep 2023)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 13 Sep 2023)