{"id":"CVE-2025-30160","aliases":["CVE-2025-30160","GHSA-g8vq-v3mg-7mrg"],"related":[],"kind":"vulnerability","state":"published","title":"Redlib allows a Denial of Service via DEFLATE Decompression Bomb in restore_preferences Form","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"en","text":"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 was introduced in 2e95e1fc6e2064ccfae87964b4860bda55eddb9a and fixed in 15147cea8e42f6569a11603d661d71122f6a02dc.\n\n### Impact\n_What kind of vulnerability is it? Who is impacted?_\n\nThis vulnerability allows a remote attacker with network access to exploit the preference restoration mechanism by providing a compressed payload that expands dramatically upon decompression. The issue arises because the system automatically decompresses user-supplied data without enforcing size limits, potentially leading to:\n\n- Out-of-memory (OOM) conditions\n- OS-level resource exhaustion, potentially leading to broader system instability or crashes\n- Repeated exploitation, keeping the target system in a persistent degraded state\n- Denial-of-service of any public instance\n\n### Patches\nThe problem has been patched in 15147cea8e42f6569a11603d661d71122f6a02dc. Users should upgrade to v0.36.0.\n\n### Workarounds\nUntil a patch is available, users can:\n\n- Implement request size limits at the web server or application level to reject excessively large inputs.\n- Disable or restrict the restore_preferences route (`/settings/encoded-restore`) at the reverse-proxy level if not required.\n- Monitor server logs for unusually large or repeated restore_preferences requests and block offending IPs.","format":"markdown","source":"ghsa"},{"lang":"es","text":"Redlib es una interfaz privada alternativa a Reddit. Se ha identificado una vulnerabilidad en Redlib que permite a un atacante causar una denegación de servicio (DOS) al enviar una bomba de descompresión DEFLATE, especialmente diseñada y codificada en base2048, al formulario restore_preferences. Esto provoca un consumo excesivo de memoria y una posible inestabilidad del sistema, lo cual puede explotarse para interrumpir las instancias de Redlib. Esta vulnerabilidad está corregida en la versión 0.36.0.","source":"nvd"}],"published":"2025-03-20T18:09:48.763Z","modified":"2026-06-17T09:08:16.270Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:4.0","vector":"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","score":8.7,"rating":"HIGH"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:4.0","vector":"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","score":8.7,"rating":"HIGH"},{"scorer":"GitHub","scheme":"CVSS:4.0","vector":"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","rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5,"rating":"HIGH"}],"cwes":["CWE-400","CWE-502"],"affected":[{"ranges":[{"version":"< 0.36.0","status":"affected"}],"vendor":"redlib-org","product":"redlib","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"0.36.0"}],"ecosystem":"crates.io","package":"redlib","purl":"pkg:cargo/redlib","source":"ghsa"},{"ranges":[{"status":"affected","fixed":"0.36.0"}],"vendor":"redlib","product":"redlib","cpe":"cpe:2.3:a:redlib:redlib:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://github.com/redlib-org/redlib/security/advisories/GHSA-g8vq-v3mg-7mrg","tags":["patch","vendor-advisory","web","x-refsource-confirm"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/redlib-org/redlib/commit/15147cea8e42f6569a11603d661d71122f6a02dc","tags":["patch","web","x-refsource-misc"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/redlib-org/redlib/commit/2e95e1fc6e2064ccfae87964b4860bda55eddb9a","tags":["patch","web","x-refsource-misc"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/crewjam/saml/security/advisories/GHSA-5mqj-xc49-246p","tags":["web"],"sources":["ghsa"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-30160","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/redlib-org/redlib","tags":["package"],"sources":["ghsa"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"yes","technicalImpact":"partial","date":"2025-03-20T19:19:42.582Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2025-30160","url":"https://www.cve.org/CVERecord?id=CVE-2025-30160","licence":"CVE Terms of Use","modified":"2025-03-20T19:19:50.110Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-g8vq-v3mg-7mrg","url":"https://github.com/advisories/GHSA-g8vq-v3mg-7mrg","licence":"CC-BY-4.0","modified":"2025-03-21T15:26:55.000Z"},{"source":"nvd","name":"NVD","id":"CVE-2025-30160","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-30160","licence":"Public domain","modified":"2026-06-17T09:08:16.270Z"}],"updatedAt":"2026-11-25T22:58:55.394Z","epss":{"score":0.00578,"percentile":0.48989,"date":"2026-12-01T12:00:22.000Z"}}