Resource Exhaustion Affecting python-protego package, versions *


Severity

Recommended
low

Based on Debian security rating.

Threat Intelligence

EPSS
0.51% (41st percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-DEBIAN11-PYTHONPROTEGO-17496270
  • published26 Jun 2026
  • disclosed28 Aug 2026

Introduced: 26 Jun 2026

CVE-2026-55520  (opens in a new tab)
CWE-400  (opens in a new tab)
CWE-1333  (opens in a new tab)

How to fix?

There is no fixed version for Debian:11 python-protego.

NVD Description

Note: Versions mentioned in the description apply only to the upstream python-protego package and not the python-protego package as distributed by Debian. See How to fix? for Debian:11 relevant fixed versions and status.

Protego is a pure-Python robots.txt parser with support for modern conventions. Prior to 0.6.2, protego._urlpattern._URLPattern._prepare_pattern_for_regex translates every asterisk in an Allow or Disallow directive into a lazy regular-expression wildcard, so a directive containing many asterisks creates exponential backtracking. After protego.Protego.parse processes a crafted robots.txt file, protego.Protego.can_fetch can spend an attacker-controlled period matching a near-miss URL and deny service to the crawler. The vulnerable path is src/protego/_urlpattern.py in the _URLPattern match logic. This issue is fixed in version 0.6.2.