Machine-written summary
Summary written by Claude Haiku from the source advisory. Not reviewed by a person.
crypto2 versions up to and including 0.1.2 do not check input slice alignment in their ChaCha20 encryption and decryption, but assume 4-byte alignment through an unsafe call, which causes undefined behavior. The source gives few details on what an attacker needs to trigger it. No fixed version is listed.
Not analysed yet
We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.
Severity and exploitation
| Score | Rating | CVSS | Vector | Source |
|---|---|---|---|---|
| 9.8 | Critical | 3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H | GitHub Advisory Database |
- CISA KEV Not listed.
- EPSS 0.0078, the 56th percentile, on 22 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.
Timeline
- 31 Oct 2026, 15:21 UTC First seen by agentprime
- 31 Oct 2026, 15:21 UTC Confirmed by OSV
Sources
- GitHub Advisory Database: GHSA-9hfg-pxr6-q4vp
- OSV: GHSA-9hfg-pxr6-q4vp
- nvd.nist.gov/vuln/detail/CVE-2021-45709
- github.com/shadowsocks/crypto2/issues/27
- github.com/shadowsocks/crypto2
- raw.githubusercontent.com/rustsec/advisory-db/main/crates/crypto2/RUSTSEC-2021-0121.md
- rustsec.org/advisories/RUSTSEC-2021-0121.html