RUSTSEC-2026-0238

Source
https://rustsec.org/advisories/RUSTSEC-2026-0238
Import Source
https://github.com/rustsec/advisory-db/blob/osv/crates/RUSTSEC-2026-0238.json
JSON Data
https://api.test.osv.dev/v1/vulns/RUSTSEC-2026-0238
Aliases
  • GHSA-h9f2-fgp8-vc4h
Published
2026-08-09T12:00:00Z
Modified
2026-08-09T12:45:02.673005453Z
Summary
Low-level GCM ignores the operation nonce
Details

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.

Database specific
{
    "license": "CC0-1.0"
}
References

Affected packages

crates.io / dcrypt-algorithms

Package

Name
dcrypt-algorithms
View open source insights on deps.dev
Purl
pkg:cargo/dcrypt-algorithms

Affected ranges

Type
SEMVER
Events
Introduced
0.0.0-0
Fixed
2.0.0

Ecosystem specific

{
    "affected_functions": null,
    "affects": {
        "os": [],
        "functions": [],
        "arch": []
    }
}

Database specific

categories
[
    "crypto-failure"
]
informational
null
source
"https://github.com/rustsec/advisory-db/blob/osv/crates/RUSTSEC-2026-0238.json"
cvss
null