Breaking: Java4Shell (CVE-2026-114938) - Less Than 0.12% of JVMs Estimated at Risk of RCE
Read the Report
Learn How MCP Is Bypassing a Decade of Cloud Security Best Practices
Read the Report
Are you exposed? Connect a repo in minutes.
Scan your repos free

GHSA-PMCV-MGCF-RVXG

Non-aligned u32 read in Chacha20 encryption and decryption

Overview

Published
16 Jun 2022
Modified
16 Jun 2022
High GitHub advisory
1 Registry packages
0 OS packages
0 Linux distributions
No Fix available
CVSS score High, no score

Description

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.

Source: OX vulnerability database

Severity

HIGH

No CVSS vector in the source. Severity comes from the advisory.

Affected packages · 1

Packages affected by GHSA-PMCV-MGCF-RVXG
EcosystemPackageVulnerableFixed in
Cargo (Rust) crypto2 <=0.1.2 No fix yet

Open a package to see all its vulnerabilities.

Operating systems

No Linux distribution reports this ID.

References

OX Radar and Response Center

Find threats in your stack.

OX Radar can check high-priority threats, like critical package CVEs, against your context.

Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.