---
id: CVE-2025-71377
title: >-
  stoatchat (delta) versions before 20250210-1 (0.8.2) contain a logic error in
  the query messages route
summary: >-
  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
  interpre…
severity: none
cwe:
  - CWE-1025
published: '2026-07-16'
updated: '2026-09-29'
sourceUpdated: '2026-09-29T15:10:00.193'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2025-71377'
references:
  - url: >-
      https://github.com/stoatchat/stoatchat/commit/5f84daa9dba34c103cd83a2ee1f5e5ba900bfe94
    label: disclosure@vulncheck.com
  - url: >-
      https://github.com/stoatchat/stoatchat/security/advisories/GHSA-h7h6-7pxm-mc66
    label: disclosure@vulncheck.com
  - url: >-
      https://www.vulncheck.com/advisories/stoatchat-before-20250210-1-unrestricted-message-history-fetch
    label: disclosure@vulncheck.com
tags:
  - nvd
epss: 0.00666
epssPercentile: 0.49857
ingestedAt: '2026-09-29T16:39:33.227Z'
---

## Overview

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.

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
