CVE-2025-4432
JSON

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 packageVersionsReported by
ringbefore 0.17.12CVE List
firefoxNot specifiedCVE List
gjsNot specifiedCVE List
rpm-ostreeNot specifiedCVE List
rustNot specifiedCVE List
snpguestNot specifiedCVE List
thunderbirdNot specifiedCVE List
trustee-guest-componentsNot specifiedCVE List
firefox:flatpak/firefoxNot specifiedCVE List
polkitNot specifiedCVE List
thunderbird:flatpak/thunderbirdNot specifiedCVE List
kata-containersNot specifiedCVE List

All scores

redhat5.3medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
GitHubmedium CVSS:4.0CVSS: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
GitHub5.3medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L

Classification

CWE-770

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

SourceRecordLicence
CVE ListCVE-2025-4432 changed 2026-11-24CVE Terms of Use
GitHub Advisory DatabaseGHSA-4p46-pwfr-66x6 changed 2026-09-10CC-BY-4.0
GitHub Advisory DatabaseGHSA-c86p-w88r-qvqr changed 2026-09-10CC-BY-4.0
Go Vulnerability DatabaseGO-2025-3678 changed 2026-05-30CC-BY-4.0
RustSec Advisory DatabaseRUSTSEC-2025-0009 changed 2025-10-28CC0-1.0
NVDCVE-2025-4432 changed 2026-11-24Public domain