CVE-2025-30160 Redlib allows a Denial of Service via DEFLATE Decompression Bomb in restore_preferences Form

High 8.7 Published Updated

Attackers can cause denial of service in Redlib by submitting a DEFLATE decompression bomb to the restore_preferences form, exhausting memory.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2025-30160?

CVE-2025-30160 is a high-severity denial of service vulnerability in redlib-org redlib, published on 20 Mar 2025. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

Redlib is an alternative private front-end to Reddit. A vulnerability has been identified in Redlib where an attacker can cause a denial-of-service (DOS) condition by submitting a specially crafted base2048-encoded DEFLATE decompression bomb to the restore_preferences form. This leads to excessive memory consumption and potential system instability, which can be exploited to disrupt Redlib instances. This vulnerability is fixed in 0.36.0.

Weakness: CWE-502, CWE-400

Which versions are affected by CVE-2025-30160?

2 open source packages ship an affected version, including redlib. It affects 1 product.

PackageAffectedFixed in
redlib crates.ioAll versions0.36.0
redlib crates.ioAll versions0.36.0

Products include Redlib Redlib.

How do I fix CVE-2025-30160?

Upgrade redlib to 0.36.0 or later.

Upgrade, then put limits on request size, rate and nesting depth so one client cannot exhaust the service. More about Denial of service.

Is CVE-2025-30160 being exploited?

There is no known exploitation of CVE-2025-30160 in the wild and no public exploit code.

Sources

Also known as GHSA-g8vq-v3mg-7mrg.

Is CVE-2025-30160 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free