# GHSA-h9f2-fgp8-vc4h: Low-level GCM ignores the operation nonce

- Severity: not scored yet
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Published: 2026-08-09T12:00:00.000Z
- Modified: 2026-10-12T18:00:14.307Z
- Also known as: RUSTSEC-2026-0238

## Description

In all published versions of `dcrypt-algorithms` before 2.0.0, the low-level
`Gcm` builder required an operation nonce but derived `J0` from the nonce
captured by the original `Gcm` constructor. Multiple operations could therefore
silently reuse a nonce even when callers supplied distinct values, compromising
confidentiality and authenticity under an affected key.

Version 2.0.0 makes `Gcm` key-only and passes the operation nonce through IV
derivation, encryption, and decryption. It also corrects non-96-bit IV
processing, rejects tags shorter than 96 bits, and enforces counter limits.
Applications must upgrade, identify affected keys, rotate them, and re-encrypt
affected data; updating the implementation cannot restore security after nonce
reuse.

(As written by RustSec Advisory Database.)

## Affected

- dcrypt-algorithms (crates.io): from 0.0.0-0 before 2.0.0

## References

- <https://crates.io/crates/dcrypt-algorithms> (package)
- <https://rustsec.org/advisories/RUSTSEC-2026-0238.html> (advisory)
- <https://github.com/ioi-foundation/dcrypt/commit/c99cc86f0ee353010cd202cbcd2c310371b0bbb8> (web)
- <https://github.com/ioi-foundation/dcrypt/releases/tag/v2.0.0> (web)

## Sources

- RustSec Advisory Database: [RUSTSEC-2026-0238](https://rustsec.org/advisories/RUSTSEC-2026-0238.html), CC0-1.0, modified 2026-10-12

---

Page: https://cve.day/GHSA-h9f2-fgp8-vc4h · Whole record: https://cve.day/GHSA-h9f2-fgp8-vc4h.json · Rebuilt by cve.day 2026-11-25T22:56:43.392Z
