CVE-2019-16143
CRITICAL 9.8CVSS 3.1Algorithms compute incorrect results in blake2
An issue was discovered in the blake2 crate before 0.8.1 for Rust. The BLAKE2b and BLAKE2s algorithms, when used with HMAC, produce incorrect results because the block sizes are half of the required sizes.
- Published
- 9 Sep 2019
- Last modified
- 17 Jun 2026
- Assigned by
- cve@mitre.org
- NVD status
- Modified
- Weakness
- CWE-327
- Also known as
- GHSA-4x25-pvhw-5224RUSTSEC-2019-0019
- Sources
- NVDJSONOSV GHSA-4x25-pvhw-5224JSONOSV RUSTSEC-2019-0019JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | CRITICAL 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| OSV | GitHub | CVSS 3.1 | CRITICAL 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| OSV | RustSec | CVSS 3.1 | CRITICAL 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | HIGH 7.5 | AV:N/AC:L/Au:N/C:P/I:P/A:P |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | blake2 | blake2-rustcpe:2.3:a:blake2:blake2-rust:*:*:*:*:*:*:*:* |
< 0.8.1 | 0.8.1 |
| OSV | crates.io | blake2 | < 0.8.1 | 0.8.1 |
| OSV | crates.io | blake2 | >= 0.0.0-0, < 0.8.1 | 0.8.1 |
References
- https://rustsec.org/advisories/RUSTSEC-2019-0019.html · Third Party Advisory, WEB, ADVISORY
- https://nvd.nist.gov/vuln/detail/CVE-2019-16143 · ADVISORY
- https://github.com/RustCrypto/MACs/issues/19 · WEB, REPORT
- https://github.com/RustCrypto/hashes/tree/master/blake2 · PACKAGE
- https://crates.io/crates/blake2 · PACKAGE
History
- 25 Nov 2026 20:30 UTC · NVD: first stored (published 9 Sep 2019)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 25 Aug 2019)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 25 Aug 2021)