Skip to content
Heist/ feed
Back to feed
High

python-scrapy — security advisory

Type: advisorySources: OSVAdvisory ID: UBUNTU-CVE-2025-6176

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.

Products
python-scrapy
Affected versions
1.0.0-1, 1.0.3-1, 1.3.0-1~exp2, 1.4.0-1, 1.5.0-1, 1.5.0-1ubuntu0.1~esm1, 1.7.3-1, 1.7.3-1ubuntu0.1~esm1, 2.10.0-1, 2.11.0-1, 2.11.0-2, 2.11.1-1, 2.11.1-1ubuntu0.1~esm2, 2.12.0-2, 2.14.0-1, 2.14.1-1, 2.17.0-1, 2.18.0-2, 2.4.1-2, 2.5.1-2, 2.5.1-2ubuntu0.1~esm1
Fixed versions
Not specified
CVEs
CVE-2025-6176
Confirmed fixed CVEs
Not specified
Updated in this feed
31 Oct 2026, 02:30 UTC · Revision 1

Source evidence

UBUNTU-CVE-2025-6176

core-osv · Original source

Published 31 Oct 2025, 00:15 UTC

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.

osv:UBUNTU-CVE-2025-6176

python-scrapy

Fixed versions: Not specified

python-scrapy

Fixed versions: Not specified

python-scrapy

Fixed versions: Not specified

python-scrapy

Fixed versions: Not specified

python-scrapy

Fixed versions: Not specified

python-scrapy

Fixed versions: Not specified

python-scrapy

Fixed versions: Not specified

python-scrapy

Fixed versions: Not specified

Complete source record
{
  "id": "caa0f3dbbab38584639effa5a93b785e0381c8b368ce6f7068c480e2b366b4cd",
  "url": "https://osv.dev/vulnerability/UBUNTU-CVE-2025-6176",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "UBUNTU-CVE-2025-6176",
    "summary": "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.",
    "evidence": "osv:UBUNTU-CVE-2025-6176",
    "products": [
      {
        "name": {
          "value": "python-scrapy",
          "evidence": "/affected/0/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "1.0.0-1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "1.0.3-1",
            "evidence": "/affected/0/versions"
          }
        ]
      },
      {
        "name": {
          "value": "python-scrapy",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "1.3.0-1~exp2",
            "evidence": "/affected/1/versions"
          },
          {
            "value": "1.4.0-1",
            "evidence": "/affected/1/versions"
          },
          {
            "value": "1.5.0-1",
            "evidence": "/affected/1/versions"
          },
          {
            "value": "1.5.0-1ubuntu0.1~esm1",
            "evidence": "/affected/1/versions"
          }
        ]
      },
      {
        "name": {
          "value": "python-scrapy",
          "evidence": "/affected/2/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "1.7.3-1",
            "evidence": "/affected/2/versions"
          },
          {
            "value": "1.7.3-1ubuntu0.1~esm1",
            "evidence": "/affected/2/versions"
          }
        ]
      },
      {
        "name": {
          "value": "python-scrapy",
          "evidence": "/affected/3/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "2.4.1-2",
            "evidence": "/affected/3/versions"
          },
          {
            "value": "2.5.1-2",
            "evidence": "/affected/3/versions"
          },
          {
            "value": "2.5.1-2ubuntu0.1~esm1",
            "evidence": "/affected/3/versions"
          }
        ]
      },
      {
        "name": {
          "value": "python-scrapy",
          "evidence": "/affected/4/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "2.10.0-1",
            "evidence": "/affected/4/versions"
          },
          {
            "value": "2.11.0-1",
            "evidence": "/affected/4/versions"
          },
          {
            "value": "2.11.0-2",
            "evidence": "/affected/4/versions"
          },
          {
            "value": "2.11.1-1",
            "evidence": "/affected/4/versions"
          },
          {
            "value": "2.11.1-1ubuntu0.1~esm2",
            "evidence": "/affected/4/versions"
          }
        ]
      },
      {
        "name": {
          "value": "python-scrapy",
          "evidence": "/affected/5/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "2.12.0-2",
            "evidence": "/affected/5/versions"
          }
        ]
      },
      {
        "name": {
          "value": "python-scrapy",
          "evidence": "/affected/6/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "2.14.1-1",
            "evidence": "/affected/6/versions"
          },
          {
            "value": "2.17.0-1",
            "evidence": "/affected/6/versions"
          },
          {
            "value": "2.18.0-2",
            "evidence": "/affected/6/versions"
          }
        ]
      },
      {
        "name": {
          "value": "python-scrapy",
          "evidence": "/affected/7/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "2.12.0-2",
            "evidence": "/affected/7/versions"
          },
          {
            "value": "2.14.0-1",
            "evidence": "/affected/7/versions"
          },
          {
            "value": "2.14.1-1",
            "evidence": "/affected/7/versions"
          }
        ]
      }
    ],
    "severity": "high",
    "structured": {
      "id": "UBUNTU-CVE-2025-6176",
      "aliases": [
        "UBUNTU-CVE-2025-6176"
      ],
      "metrics": [
        {
          "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"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "python-scrapy",
            "purl": "pkg:deb/ubuntu/python-scrapy?arch=source&distro=xenial",
            "ecosystem": "Ubuntu:16.04:LTS"
          },
          "versions": [
            "1.0.0-1",
            "1.0.3-1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-6176.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "python-scrapy",
                "binary_version": "1.0.3-1"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "python-scrapy",
            "purl": "pkg:deb/ubuntu/python-scrapy?arch=source&distro=esm-apps%2Fbionic",
            "ecosystem": "Ubuntu:Pro:18.04:LTS"
          },
          "versions": [
            "1.3.0-1~exp2",
            "1.4.0-1",
            "1.5.0-1",
            "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"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "python-scrapy",
                "binary_version": "1.5.0-1ubuntu0.1~esm1"
              },
              {
                "binary_name": "python3-scrapy",
                "binary_version": "1.5.0-1ubuntu0.1~esm1"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "python-scrapy",
            "purl": "pkg:deb/ubuntu/python-scrapy?arch=source&distro=esm-apps%2Ffocal",
            "ecosystem": "Ubuntu:Pro:20.04:LTS"
          },
          "versions": [
            "1.7.3-1",
            "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"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "python3-scrapy",
                "binary_version": "1.7.3-1ubuntu0.1~esm1"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "python-scrapy",
            "purl": "pkg:deb/ubuntu/python-scrapy?arch=source&distro=esm-apps%2Fjammy",
            "ecosystem": "Ubuntu:Pro:22.04:LTS"
          },
          "versions": [
            "2.4.1-2",
            "2.5.1-2",
            "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"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "python3-scrapy",
                "binary_version": "2.5.1-2ubuntu0.1~esm1"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "python-scrapy",
            "purl": "pkg:deb/ubuntu/python-scrapy?arch=source&distro=esm-apps%2Fnoble",
            "ecosystem": "Ubuntu:Pro:24.04:LTS"
          },
          "versions": [
            "2.10.0-1",
            "2.11.0-1",
            "2.11.0-2",
            "2.11.1-1",
            "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"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "python3-scrapy",
                "binary_version": "2.11.1-1ubuntu0.1~esm2"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "python-scrapy",
            "purl": "pkg:deb/ubuntu/python-scrapy?arch=source&distro=questing",
            "ecosystem": "Ubuntu:25.10"
          },
          "versions": [
            "2.12.0-2"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-6176.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "python3-scrapy",
                "binary_version": "2.12.0-2"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "python-scrapy",
            "purl": "pkg:deb/ubuntu/python-scrapy?arch=source&distro=stonking",
            "ecosystem": "Ubuntu:26.10"
          },
          "versions": [
            "2.14.1-1",
            "2.17.0-1",
            "2.18.0-2"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-6176.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "python3-scrapy",
                "binary_version": "2.18.0-2"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "python-scrapy",
            "purl": "pkg:deb/ubuntu/python-scrapy?arch=source&distro=resolute",
            "ecosystem": "Ubuntu:26.04:LTS"
          },
          "versions": [
            "2.12.0-2",
            "2.14.0-1",
            "2.14.1-1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-6176.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "python3-scrapy",
                "binary_version": "2.14.1-1"
              }
            ]
          }
        }
      ],
      "modified": "2026-10-17T12:58:37.775394855Z",
      "provider": "osv",
      "upstream": [
        "CVE-2025-6176"
      ],
      "references": [
        "https://ubuntu.com/security/CVE-2025-6176",
        "https://www.cve.org/CVERecord?id=CVE-2025-6176",
        "https://huntr.com/bounties/2c26a886-5984-47ee-a421-0d5fe1344eb0"
      ]
    },
    "related_cves": [
      {
        "value": "CVE-2025-6176",
        "evidence": "/upstream"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 358896,
  "published_at": "2025-10-31T00:15:00+00:00"
}