{"id":"UBUNTU-CVE-2025-6176","details":"Scrapy versions up to 2.13.2 are vulnerable to a denial of service (DoS) attack due to a flaw in its brotli decompression implementation. The protection mechanism against decompression bombs fails to mitigate the brotli variant, allowing remote servers to crash clients with less than 80GB of available memory. This occurs because brotli can achieve extremely high compression ratios for zero-filled data, leading to excessive memory consumption during decompression.","modified":"2026-05-20T16:23:39.578600Z","published":"2025-10-31T00:15:00Z","upstream":["CVE-2025-6176"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2025-6176"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2025-6176"},{"type":"REPORT","url":"https://huntr.com/bounties/2c26a886-5984-47ee-a421-0d5fe1344eb0"}],"affected":[{"package":{"name":"python-scrapy","ecosystem":"Ubuntu:16.04:LTS","purl":"pkg:deb/ubuntu/python-scrapy?arch=source&distro=xenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.0.0-1","1.0.3-1"],"ecosystem_specific":{"binaries":[{"binary_name":"python-scrapy","binary_version":"1.0.3-1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-6176.json"}},{"package":{"name":"python-scrapy","ecosystem":"Ubuntu:Pro:18.04:LTS","purl":"pkg:deb/ubuntu/python-scrapy?arch=source&distro=esm-apps%2Fbionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.3.0-1~exp2","1.4.0-1","1.5.0-1","1.5.0-1ubuntu0.1~esm1"],"ecosystem_specific":{"binaries":[{"binary_version":"1.5.0-1ubuntu0.1~esm1","binary_name":"python-scrapy"},{"binary_name":"python3-scrapy","binary_version":"1.5.0-1ubuntu0.1~esm1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-6176.json"}},{"package":{"name":"python-scrapy","ecosystem":"Ubuntu:Pro:20.04:LTS","purl":"pkg:deb/ubuntu/python-scrapy?arch=source&distro=esm-apps%2Ffocal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.7.3-1","1.7.3-1ubuntu0.1~esm1"],"ecosystem_specific":{"binaries":[{"binary_name":"python3-scrapy","binary_version":"1.7.3-1ubuntu0.1~esm1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-6176.json"}},{"package":{"name":"python-scrapy","ecosystem":"Ubuntu:Pro:22.04:LTS","purl":"pkg:deb/ubuntu/python-scrapy?arch=source&distro=esm-apps%2Fjammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.4.1-2","2.5.1-2","2.5.1-2ubuntu0.1~esm1"],"ecosystem_specific":{"binaries":[{"binary_name":"python3-scrapy","binary_version":"2.5.1-2ubuntu0.1~esm1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-6176.json"}},{"package":{"name":"python-scrapy","ecosystem":"Ubuntu:Pro:24.04:LTS","purl":"pkg:deb/ubuntu/python-scrapy?arch=source&distro=esm-apps%2Fnoble"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.10.0-1","2.11.0-1","2.11.0-2","2.11.1-1","2.11.1-1ubuntu0.1~esm2"],"ecosystem_specific":{"binaries":[{"binary_name":"python3-scrapy","binary_version":"2.11.1-1ubuntu0.1~esm2"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-6176.json"}},{"package":{"name":"python-scrapy","ecosystem":"Ubuntu:25.10","purl":"pkg:deb/ubuntu/python-scrapy?arch=source&distro=questing"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.12.0-2"],"ecosystem_specific":{"binaries":[{"binary_name":"python3-scrapy","binary_version":"2.12.0-2"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-6176.json"}},{"package":{"name":"python-scrapy","ecosystem":"Ubuntu:26.04:LTS","purl":"pkg:deb/ubuntu/python-scrapy?arch=source&distro=resolute"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.12.0-2","2.14.0-1","2.14.1-1"],"ecosystem_specific":{"binaries":[{"binary_name":"python3-scrapy","binary_version":"2.14.1-1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-6176.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"},{"type":"Ubuntu","score":"medium"}]}