Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessIdentify exposed aichat serve port
-
DeliverySend crafted oversized HTTP request body
-
ExploitTrigger unbounded memory allocation in serve.rs
-
ExecutionExhaust process heap
-
Impactaichat 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. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – 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
Affected Packages
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
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
Network-reachable unauthenticated API endpoint; DoS-only impact (A:L); no scope change, confidentiality, or integrity impact.
Primary rating from Vendor (vuldb).
CVSS VectorVendor: vuldb
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
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.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.
EUVD-2026-70279
GHSA-w2m4-pj9f-6rwh
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB