CVE-2019-25001
HIGH 7.5CVSS 3.1Out of bounds write in serde_cbor
An issue was discovered in the serde_cbor crate before 0.10.2 for Rust. The CBOR deserializer can cause stack consumption via nested semantic tags.
- Published
- 31 Dec 2020
- Last modified
- 17 Jun 2026
- Assigned by
- cve@mitre.org
- NVD status
- Modified
- Weakness
- CWE-787
- Also known as
- GHSA-xr7r-88qv-q7hmRUSTSEC-2019-0025
- Sources
- NVDJSONOSV GHSA-xr7r-88qv-q7hmJSONOSV RUSTSEC-2019-0025JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| 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 |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 5.0 | AV:N/AC:L/Au:N/C:N/I:N/A:P |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | serde_cbor_project | serde_cborcpe:2.3:a:serde_cbor_project:serde_cbor:*:*:*:*:*:*:*:* |
< 0.10.2 | 0.10.2 |
| OSV | crates.io | serde_cbor | < 0.10.2 | 0.10.2 |
| OSV | crates.io | serde_cbor | >= 0.0.0-0, < 0.10.2 | 0.10.2 |
References
- https://rustsec.org/advisories/RUSTSEC-2019-0025.html · Exploit, Third Party Advisory, WEB, ADVISORY
- https://nvd.nist.gov/vuln/detail/CVE-2019-25001 · ADVISORY
- https://github.com/pyfisch/cbor/pull/153 · WEB
- https://github.com/pyfisch/cbor/commit/1aec4f9d71855dbfb223fa61ca60260400cc5d5f · WEB
- https://github.com/pyfisch/cbor · PACKAGE
- https://github.com/pyfisch/cbor/releases/tag/v0.10.2 · WEB
- https://crates.io/crates/serde_cbor · PACKAGE
History
- 25 Nov 2026 20:32 UTC · NVD: first stored (published 31 Dec 2020)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 25 Aug 2021)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 3 Oct 2019)