CVE-2019-25005Chacha20 Project Chacha20
High 7.5 No auth needed
Follow: this CVE · Chacha20 Project · Chacha20 Project Chacha20 We alert you by email or Slack (account required).
- Priority
- 60
- CVSS 3.1
- 7.5
- EPSS
- 1.3% probability of exploitation in 30 days · percentile 71
- Auth required
- No
- Published
- Dec 31, 2020
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-190
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
What happens
An issue was discovered in the chacha20 crate before 0.2.3 for Rust. A ChaCha20 counter overflow makes it easier for attackers to determine plaintext.
What to do
- Apply the vendor's security update for Chacha20.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| crates.io | chacha20 |
< 0.2.3 |
0.2.3 |
cargo update -p chacha20 --precise 0.2.3 |
| crates.io | chacha20 |
≥ 0.0.0-0 < 0.2.3 |
0.2.3 |
cargo update -p chacha20 --precise 0.2.3 |
Per OSV / GitHub Advisories (GHSA-j2r6-2m5c-vgh5, RUSTSEC-2019-0029). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| chacha20_project | chacha20 | < 0.2.3 |
Official sources
References
Links published by the sources. Open them with care.
- rustsec.org Third Party Advisory