Skip to main content

sigoden aichat CVE-2026-84857

| EUVDEUVD-2026-70279 MEDIUM
Uncontrolled Resource Consumption (CWE-400)
2026-09-02 cna@vuldb.com GHSA-w2m4-pj9f-6rwh
5.5
CVSS 4.0 · Vendor: vuldb
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Identify exposed aichat serve port
  2. Delivery
    Send crafted oversized HTTP request body
  3. Exploit
    Trigger unbounded memory allocation in serve.rs
  4. Execution
    Exhaust process heap
  5. Impact
    aichat API service crashes or hangs

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A06:2025 - Insecure Design
ASVS 5.0
V2 - Validation and Business Logic Resource consumption limits
MITRE ATT&CK

1 technique across 1 tactic: Impact

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

The aichat serve subcommand must be running and its listening port must be reachable by the attacker. The serve mode is not enabled by default; a user must explicitly launch 'aichat serve'. No authentication is required against the API endpoint (PR:N in the CVSS 4.0 vector). Exploitation is limited to a denial-of-service affecting only the availability of the aichat process (VA:L); there is no path to confidentiality or integrity compromise. The vulnerability does not affect aichat when used solely as a CLI client without the serve subcommand active.

Impact

The CVSS 4.0 score of 5.5 (VA:L, all other impacts N) accurately reflects the limited blast radius - this is a pure denial-of-service with no confidentiality or integrity impact. The E:P supplemental metric confirms a public exploit exists, raising practical risk above a theoretical finding. However, aichat's serve mode is not a default-on, always-public service; it must be deliberately started and exposed on the network. Operators who run the serve mode on a publicly reachable interface are the primary risk population. EPSS data was not provided; given the niche footprint and moderate severity, broad opportunistic scanning is unlikely but targeted DoS against exposed endpoints is plausible given the published PoC. No CISA KEV listing. The absence of a vendor patch is the most significant risk amplifier: there is no official fix and the vendor has not acknowledged the disclosure.

Exploit ScenarioDerived

An attacker identifies an aichat serve instance accessible on a public or internal network port. They send an HTTP POST request with an artificially large or streaming body to the API endpoint, causing the server to allocate unbounded memory. The aichat process exhausts available heap and crashes or becomes unresponsive, denying service to legitimate users. The published PoC at the GitHub reference demonstrates the triggering request.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
No patch listed yet 0.4% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Sep 02, 2026

Uncontrolled memory allocation in sigoden aichat up to version 0.30.4 allows remote unauthenticated attackers to exhaust server memory via the HTTP API endpoint implemented in src/serve.rs, causing a denial-of-service condition. The vulnerability is a CWE-400 resource exhaustion flaw triggered by sending a crafted request body to the aichat serve component. A public proof-of-concept has been published; the vendor did not respond to responsible disclosure, meaning no patch has been released.

RemediationAI

No vendor-released patch has been identified at time of analysis - the maintainer did not respond to disclosure. The primary compensating control is to avoid exposing the aichat serve endpoint on untrusted network interfaces; bind it to localhost (127.0.0.1) only, or place it behind an authenticated reverse proxy (e.g., nginx with client authentication) that enforces request-body size limits via client_max_body_size. Operators should also consider running the serve process under a resource-limiting supervisor (systemd MemoryMax, Docker --memory) so that memory exhaustion is contained to the aichat process and does not affect the host. Monitor the upstream GitHub repository at https://github.com/sigoden/aichat for a patched release and apply it when available. Until a fix is released, treat any network-facing deployment of aichat serve as high-risk.

Affected VersionsENISA

aichat 0.30.1
aichat 0.30.2
aichat 0.30.3
aichat 0.30.0
aichat 0.30.4

Affected Packages

euvd aichat no fix

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

aichat is an open-source command-line AI chat client written in Rust that includes a built-in HTTP API server mode (the 'serve' subcommand). The vulnerable code resides in src/serve.rs, which handles inbound API requests to relay prompts to configured AI backends. CWE-400 (Uncontrolled Resource Consumption) indicates the server reads or allocates memory proportional to attacker-controlled request data - such as an unbounded request body or streaming payload - without enforcing a size cap. Because Rust's memory-safety guarantees do not prevent logical resource exhaustion, a sufficiently large allocation eventually causes the process to run out of heap or trigger an OOM condition, crashing or hanging the server. No CPE string was provided, but the affected package is the sigoden/aichat GitHub repository at versions ≤ 0.30.4.

Know when the next one hits your stack

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (vuldb) PRIMARY 5.5 MEDIUM
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:P
vuln.today AI 5.3 MEDIUM

Network-reachable unauthenticated API endpoint; DoS-only impact (A:L); no scope change, confidentiality, or integrity impact.

3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
4.0 AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N

Primary rating from Vendor (vuldb).

CVSS VectorVendor: vuldb

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
None
Vulnerable system: Confidentiality
None
Vulnerable system: Integrity
None
Vulnerable system: Availability
Low
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

DescriptionCVE.org

A flaw has been found in sigoden aichat up to 0.30.4. This affects an unknown function of the file src/serve.rs of the component API Endpoint. This manipulation causes uncontrolled memory allocation. The attack can be initiated remotely. The exploit has been published and may be used. The vendor was contacted early about this disclosure but did not respond in any way.

Threat Intelligence Overview

EPSS Score
0.4%
Top 70% exploitable
Prevalence
Rare
niche open-source CLI AI chat tool, minimal enterprise footprint
Data Quality
7 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment GitHub VulDB

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.4%
Patch available No
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
Poc
System Exposure· derived
Open
Automatable
Yes
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

28
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +28
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy