Read the docs
TI-2022-26564 Aliases GHSA-pmcv-mgcf-rvxg

Non-aligned u32 read in Chacha20 encryption and decryption

Priority LOW 38Published · Updated

Key facts

Attack vector
—
Privileges required
—
User interaction
—
Attack complexity
—
Impact type
—
Confidentiality · integrity · availability
—
Fix status
No fix listed

No CVSS vector from any source. Fix status from GitHub.

Summary

The implementation does not enforce alignment requirements on input slices while incorrectly assuming 4-byte alignment through an unsafe call to `std::slice::from_raw_parts_mut`, which breaks the contract and introduces undefined behavior. This affects Chacha20 encryption and decryption in crypto2.

Why it matters now

Fix No fix listed No fixed version in the sources yet

SSVC decision points

Not available: CISA has not published SSVC decision points for this record.

Affected products

VendorProductAffected versionsFixed inStatusSource
—crypto2 (crates.io)up to 0.1.2—No fix listedGHSA-pmcv-mgcf-rvxg
  • crypto2 (crates.io) Vendor— Affected up to 0.1.2 Fixed in — No fix listed GHSA-pmcv-mgcf-rvxg

Remediation

No fixed version listed by the sources yet.

Timeline

  1. 2026-10-03 Threatist record created from GHSA-pmcv-mgcf-rvxg

References

Sources

This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences