Skip to content

Commit 5c7e4f9

Browse files
authored
cmov v0.5.4 (#1485)
## Security - Fix GHSA-3rjw-m598-pq24]: `Cmov`/`CmovEq` on `aarch64` can produce wrong results if high-bits of registers are set (dba6c35)
1 parent 87cadbc commit 5c7e4f9

4 files changed

Lines changed: 11 additions & 2 deletions

File tree

Cargo.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

cmov/CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,13 @@ All notable changes to this project will be documented in this file.
44
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
55
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
66

7+
## 0.5.4 (2026-05-28)
8+
### Security
9+
- Fix [GHSA-3rjw-m598-pq24]: `Cmov`/`CmovEq` on `aarch64` can produce wrong results if high-bits of registers are set ([dba6c355])
10+
11+
[GHSA-3rjw-m598-pq24]: https://github.com/RustCrypto/utils/security/advisories/GHSA-3rjw-m598-pq24
12+
[dba6c355]: https://github.com/RustCrypto/utils/commit/dba6c355c9f241e3726d5ec2a68f9f3b519f6063
13+
714
## 0.5.3 (2026-04-02)
815
### Added
916
- Impl `Cmov`/`CmovEq` for `NonZeroUsize`/`NonZeroIsize` ([#1415])

cmov/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "cmov"
3-
version = "0.5.3"
3+
version = "0.5.4"
44
authors = ["RustCrypto Developers"]
55
edition = "2024"
66
rust-version = "1.85"

cmov/README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,7 @@ USE AT YOUR OWN RISK!
7373
Below are security issues this crate has experienced in the past:
7474

7575
- [RUSTSEC-2026-0003]: Non-constant-time code generation on ARM32 targets
76+
- [GHSA-3rjw-m598-pq24]: `Cmov`/`CmovEq` on ARM64 can produce wrong results if high-bits of registers are set
7677

7778
## Minimum Supported Rust Version (MSRV) Policy
7879

@@ -120,3 +121,4 @@ dual licensed as above, without any additional terms or conditions.
120121
[`ctutils`]: https://docs.rs/ctutils
121122
[open an issue]: https://github.com/RustCrypto/utils/issues
122123
[RUSTSEC-2026-0003]: https://rustsec.org/advisories/RUSTSEC-2026-0003.html
124+
[GHSA-3rjw-m598-pq24]: https://github.com/RustCrypto/utils/security/advisories/GHSA-3rjw-m598-pq24

0 commit comments

Comments
 (0)