Vulnerability in Stoatchat

CVE-2025-71377

stoatchat (delta) versions before 20250210-1 (0.8.2) contain a logic error in the query messages route. When fetching messages 'nearby' another message, the database query can be given a message limit of zero, which the database interprets as 'no limit'. A remote unauthenticated attacker can craft nearby message fetch requests to download an entire channel's message history in a single expensive request, and can send many such requests in parallel, resulting in denial of service through resource exhaustion.

EPSS: 0.007 (48.9th percentile) — read the EPSS interpretation.

Affected products

  • Stoatchat — versions 0.8.2, 0, 20250210-1 (0.8.2)

Weakness classification (CWE)

References