CVE-2025-24904 libsignal-service-rs doesn't sanity check plaintext envelopes are not sanity-checked
Attackers can inject plaintext envelopes to bypass end-to-end encryption and authentication in Signal messaging clients using this library.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2025-24904?
CVE-2025-24904 is a high-severity vulnerability in whisperfish libsignal-service-rs, published on 13 Feb 2025. Any signed-in user can exploit it over the network, with no action from the victim.
Official description
libsignal-service-rs is a Rust version of the libsignal-service-java library which implements the core functionality to communicate with Signal servers. Prior to commit 82d70f6720e762898f34ae76b0894b0297d9b2f8, plaintext content envelopes could be injected by a server or a malicious client, and may have been able to bypass the end-to-end encryption and authentication. The vulnerability is fixed per 82d70f6720e762898f34ae76b0894b0297d9b2f8. The `Metadata` struct contains an additional `was_encrypted` field, which breaks the API, but should be easily resolvable. No known workarounds are available.
Which versions are affected by CVE-2025-24904?
How do I fix CVE-2025-24904?
No fix has been published for CVE-2025-24904 yet. Limit exposure of the affected software until one is available.
Is CVE-2025-24904 being exploited?
There is no known exploitation of CVE-2025-24904 in the wild and no public exploit code.
Sources
Also known as GHSA-hrrc-wpfw-5hj2.