# CVE-2019-16143: Algorithms compute incorrect results in blake2

- Severity: Critical 9.8 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.93%, higher than 61% of CVEs (2026-12-01)
- Published: 2019-08-25T12:00:00.000Z
- Modified: 2026-06-17T02:21:45.310Z
- Also known as: GHSA-4x25-pvhw-5224, RUSTSEC-2019-0019
- Weaknesses: CWE-327
- Assigned by: mitre

## Description

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.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- blake2 (crates.io): before 0.8.1; from 0.0.0-0 before 0.8.1
- blake2 blake2-rust: before 0.8.1

## Every score

- GitHub: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- RustSec Advisory Database: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:2.0 7.5 High `AV:N/AC:L/Au:N/C:P/I:P/A:P`

## References

- <https://rustsec.org/advisories/RUSTSEC-2019-0019.html> (advisory, third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2019-16143> (advisory)
- <https://github.com/RustCrypto/MACs/issues/19> (report, web)
- <https://github.com/RustCrypto/hashes/tree/master/blake2> (package)
- <https://crates.io/crates/blake2> (package)

## Sources

- CVE List: [CVE-2019-16143](https://www.cve.org/CVERecord?id=CVE-2019-16143), CVE Terms of Use, modified 2024-08-05
- GitHub Advisory Database: [GHSA-4x25-pvhw-5224](https://github.com/advisories/GHSA-4x25-pvhw-5224), CC-BY-4.0, modified 2023-11-08
- RustSec Advisory Database: [RUSTSEC-2019-0019](https://rustsec.org/advisories/RUSTSEC-2019-0019.html), CC0-1.0, modified 2023-11-08
- NVD: [CVE-2019-16143](https://nvd.nist.gov/vuln/detail/CVE-2019-16143), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2019-16143 · Whole record: https://cve.day/CVE-2019-16143.json · Rebuilt by cve.day 2026-11-25T22:57:46.865Z
