CVE-2025-71377

stoatchat before 20250210-1 Unrestricted Message History Fetch

Published Jul 16, 2026 CVSS 4.0 · 8.7 High EPSS < 1% KEV · Not listed
Description
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.

Analysis

AI-generated

Technical impact

stoatchat versions prior to 20250210-1 contain a logic error (CWE-1025) in the query messages route. When fetching messages near another message, a zero limit parameter causes the database to treat it as "no limit," allowing an attacker to retrieve an entire channel's history in a single expensive request. The attacker can send many such requests in parallel, leading to denial of service through resource exhaustion.

Affected Systems

The vulnerability affects stoatchat:stoatchat, specifically all releases before 20250210-1 (0.8.2).

Risk and Exploitability

The CVSS score of 8.7 indicates high severity, with an EPSS score of 0.00383 (less than 1%) and the vulnerability is not listed in the CISA KEV catalog. Attackers can trigger the flaw by issuing unauthenticated requests to the messages endpoint with a zero limit parameter, which results in unrestricted data access and potential DoS from parallel heavy requests. The attack vector is remote and does not require authentication.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade stoatchat to version 20250210-1 or later, where the query logic flaw has been fixed.
  • Restrict the messages endpoint to authenticated or authorized users to prevent unauthenticated data retrieval.
  • Implement rate limiting or request throttling on the messages API to mitigate the denial-of-service risk.

Generated by OpenCVE AI on August 1, 2026 at 08:45 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
First Time appeared Stoatchat
Stoatchat stoatchat
Vendors & Products Stoatchat
Stoatchat stoatchat
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
Description 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.
Title stoatchat before 20250210-1 Unrestricted Message History Fetch
Weaknesses CWE-1025
References
Metrics cvssV4_0

{'score': 8.7, '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'}

Weaknesses
  • CWE-1025

    Comparison Using Wrong Factors

Sources

Status
PUBLISHED
Assigner
VulnCheck
Published
Updated
Jul 20, 2026, 10:14 PM
Reserved
Jun 20, 2026, 1:11 PM
Status
Deferred
Published
Jul 16, 2026, 1:16 PM
Modified
Oct 6, 2026, 10:10 PM