Live threats

All CVEs / Blake2

CVE-2019-16143Blake2-rust

Critical 9.8 No auth needed

Priority
74
CVSS 3.1
9.8
EPSS
0.9%
probability of exploitation in 30 days · percentile 62
Auth required
No
Published
Sep 9, 2019
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-327
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Blake2-rust.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
crates.io blake2 < 0.8.1 0.8.1 cargo update -p blake2 --precise 0.8.1
crates.io blake2 ≥ 0.0.0-0 < 0.8.1 0.8.1 cargo update -p blake2 --precise 0.8.1

Per OSV / GitHub Advisories (GHSA-4x25-pvhw-5224, RUSTSEC-2019-0019). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
blake2blake2-rust< 0.8.1

Official sources

References

Links published by the sources. Open them with care.