5.3medium
Ring: some aes functions may panic when overflow checking is enabled in ring
- Severity
- 5.3medium CVSS:3.1 by redhat
- Exploit likelihood
- 1.13% (higher than 66% of CVEs)
- Published
- Last changed
- Assigned by
- redhat
- Also known as
- GHSA-4p46-pwfr-66x6GHSA-c86p-w88r-qvqrGO-2025-3678RUSTSEC-2025-0009
Description
A flaw was found in Rust's Ring package. A panic may be triggered when overflow checking is enabled. In the QUIC protocol, this flaw allows an attacker to induce this panic by sending a specially crafted packet. It will likely occur unintentionally in 1 out of every 2**32 packets sent or received.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| ring | before 0.17.12 | CVE List |
| firefox | Not specified | CVE List |
| gjs | Not specified | CVE List |
| rpm-ostree | Not specified | CVE List |
| rust | Not specified | CVE List |
| snpguest | Not specified | CVE List |
| thunderbird | Not specified | CVE List |
| trustee-guest-components | Not specified | CVE List |
| firefox:flatpak/firefox | Not specified | CVE List |
| polkit | Not specified | CVE List |
| thunderbird:flatpak/thunderbird | Not specified | CVE List |
| kata-containers | Not specified | CVE List |
| python3.12-maturin | Not specified | CVE List |
| python-maturin | Not specified | CVE List |
| rhtas/tuffer-rhel9 | Not specified | CVE List |
| rhtas/tuftool-rhel9 | Not specified | CVE List |
| rhtpa/rhtpa-trustification-service-rhel9 | Not specified | CVE List |
| ring (crates.io) | before 0.17.12, before 0.17.13, from 0.0.0-0 before 0.17.12 | GitHub Advisory Database, RustSec Advisory Database |
| github.com/briansmith/ring (Go) | all versions | Go Vulnerability Database |
All scores
| redhat | 5.3medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L |
| GitHub | medium CVSS:4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:U |
| GitHub | 5.3medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L |
Classification
SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial.
What each source says
CVE List
A flaw was found in Rust's Ring package. A panic may be triggered when overflow checking is enabled. In the QUIC protocol, this flaw allows an attacker to induce this panic by sending a specially crafted packet. It will likely occur unintentionally in 1 out of every 2**32 packets sent or received.
GitHub Advisory Database
ring::aead::quic::HeaderProtectionKey::new_mask() may panic when overflow checking is enabled. In the QUIC protocol, an attacker can induce this panic by sending a specially-crafted packet. Even unintentionally it is likely to occur in 1 out of every 2**32 packets sent and/or received.
On 64-bit targets operations using ring::aead::{AES_128_GCM, AES_256_GCM} may panic when overflow checking is enabled, when encrypting/decrypting approximately 68,719,476,700 bytes (about 64 gigabytes) of data in a single chunk. Protocols like TLS and SSH are not affected by this because those protocols break large amounts of data into small chunks. Similarly, most applications will not attempt to encrypt/decrypt 64GB of data in one chunk.
Overflow checking is not enabled in release mode by default, but RUSTFLAGS="-C overflow-checks" or overflow-checks = true in the Cargo.toml profile can override this. Overflow checking is usually enabled by default in debug mode.
GitHub Advisory Database
Duplicate Advisory
This advisory has been withdrawn because it is a duplicate of GHSA-4p46-pwfr-66x6. This link is maintained to preserve external references.
Original Description
A flaw was found in Rust's Ring package. A panic may be triggered when overflow checking is enabled. In the QUIC protocol, this flaw allows an attacker to induce this panic by sending a specially crafted packet. It will likely occur unintentionally in 1 out of every 2**32 packets sent or received.
Go Vulnerability Database
Ring: some aes functions may panic when overflow checking is enabled in ring in github.com/briansmith/ring
NVD (es)
Se encontró una falla en el paquete Ring de Rust. Se puede generar un pánico al habilitar la comprobación de desbordamiento. En el protocolo QUIC, esta falla permite a un atacante inducir este pánico mediante el envío de un paquete especialmente manipulado. Es probable que ocurra involuntariamente en 1 de cada 2**32 paquetes enviados o recibidos.
References
Related
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2025-4432 changed 2026-11-24 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-4p46-pwfr-66x6 changed 2026-09-10 | CC-BY-4.0 |
| GitHub Advisory Database | GHSA-c86p-w88r-qvqr changed 2026-09-10 | CC-BY-4.0 |
| Go Vulnerability Database | GO-2025-3678 changed 2026-05-30 | CC-BY-4.0 |
| RustSec Advisory Database | RUSTSEC-2025-0009 changed 2025-10-28 | CC0-1.0 |
| NVD | CVE-2025-4432 changed 2026-11-24 | Public domain |