CVE-2026-120235
Received Received - Intake

Resource Consumption in ag-ui-protocol ag-ui

Vulnerability report for CVE-2026-120235, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-11-01

Last updated on: 2026-11-01

Assigner: VulDB

Description

A security vulnerability has been detected in ag-ui-protocol ag-ui up to 0.0.58. Affected is the function parseSSEStream of the file sdks/typescript/packages/client/src/transform/sse.ts of the component SSE Parser. The manipulation leads to resource consumption. The attack may be initiated remotely. The exploit has been disclosed publicly and may be used. The identifier of the patch is 9e7b2b00bce215bbf731f1e6094f63812527c432. The affected component should be upgraded.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-11-01
Last Modified
2026-11-01
Generated
2026-11-01
AI Q&A
2026-11-01
EPSS Evaluated
N/A
NVD

Affected Vendors & Products

Showing 58 associated CPEs
Vendor Product Version / Range
ag-ui-protocol ag-ui 0.0.1
ag-ui-protocol ag-ui 0.0.2
ag-ui-protocol ag-ui 0.0.3
ag-ui-protocol ag-ui 0.0.4
ag-ui-protocol ag-ui 0.0.5
ag-ui-protocol ag-ui 0.0.6
ag-ui-protocol ag-ui 0.0.7
ag-ui-protocol ag-ui 0.0.8
ag-ui-protocol ag-ui 0.0.9
ag-ui-protocol ag-ui 0.0.10
ag-ui-protocol ag-ui 0.0.11
ag-ui-protocol ag-ui 0.0.12
ag-ui-protocol ag-ui 0.0.13
ag-ui-protocol ag-ui 0.0.14
ag-ui-protocol ag-ui 0.0.15
ag-ui-protocol ag-ui 0.0.16
ag-ui-protocol ag-ui 0.0.17
ag-ui-protocol ag-ui 0.0.18
ag-ui-protocol ag-ui 0.0.19
ag-ui-protocol ag-ui 0.0.20
ag-ui-protocol ag-ui 0.0.21
ag-ui-protocol ag-ui 0.0.22
ag-ui-protocol ag-ui 0.0.23
ag-ui-protocol ag-ui 0.0.24
ag-ui-protocol ag-ui 0.0.25
ag-ui-protocol ag-ui 0.0.26
ag-ui-protocol ag-ui 0.0.27
ag-ui-protocol ag-ui 0.0.28
ag-ui-protocol ag-ui 0.0.29
ag-ui-protocol ag-ui 0.0.30
ag-ui-protocol ag-ui 0.0.31
ag-ui-protocol ag-ui 0.0.32
ag-ui-protocol ag-ui 0.0.33
ag-ui-protocol ag-ui 0.0.34
ag-ui-protocol ag-ui 0.0.35
ag-ui-protocol ag-ui 0.0.36
ag-ui-protocol ag-ui 0.0.37
ag-ui-protocol ag-ui 0.0.38
ag-ui-protocol ag-ui 0.0.39
ag-ui-protocol ag-ui 0.0.40
ag-ui-protocol ag-ui 0.0.41
ag-ui-protocol ag-ui 0.0.42
ag-ui-protocol ag-ui 0.0.43
ag-ui-protocol ag-ui 0.0.44
ag-ui-protocol ag-ui 0.0.45
ag-ui-protocol ag-ui 0.0.46
ag-ui-protocol ag-ui 0.0.47
ag-ui-protocol ag-ui 0.0.48
ag-ui-protocol ag-ui 0.0.49
ag-ui-protocol ag-ui 0.0.50
ag-ui-protocol ag-ui 0.0.51
ag-ui-protocol ag-ui 0.0.52
ag-ui-protocol ag-ui 0.0.53
ag-ui-protocol ag-ui 0.0.54
ag-ui-protocol ag-ui 0.0.55
ag-ui-protocol ag-ui 0.0.56
ag-ui-protocol ag-ui 0.0.57
ag-ui-protocol ag-ui 0.0.58

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-400 The product does not properly control the allocation and maintenance of a limited resource.
CWE-404 The product does not release or incorrectly releases a resource before it is made available for re-use.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

This vulnerability is a memory exhaustion issue in the ag-ui-protocol library's TypeScript client. The problem occurs in the SSE Parser's parseSSEStream function and the protobuf decoder. Both components accumulate data without size limits, causing unbounded memory growth. For SSE streams, the parser stores unterminated response tails without trimming, leading to quadratic memory growth. For protobuf, the decoder grows buffers indefinitely when message length prefixes are never satisfied. A malicious response could consume excessive client memory and crash the application.

The fix introduces a 10 MB buffer size limit (MAX_BUFFER_SIZE) enforced before appending data. This prevents memory exhaustion while allowing normal operation for valid messages within the limit.

Detection Guidance

Check if your system uses ag-ui-protocol ag-ui version 0.0.58 or earlier. Inspect network traffic for unusually large or malformed SSE or protobuf streams. Monitor memory usage spikes during data processing.

Impact Analysis

This vulnerability could allow remote attackers to crash your application by sending specially crafted Server-Sent Events or protobuf messages. The attack consumes excessive client memory, potentially leading to denial-of-service conditions where the application becomes unresponsive or crashes entirely. Users may experience degraded performance or complete system failure when processing malicious data streams.

Compliance Impact

The vulnerability allows remote attackers to cause resource consumption via unbounded buffer growth in SSE and protobuf decoders, potentially leading to denial-of-service or memory exhaustion. This could disrupt system availability, which may violate compliance requirements for GDPR (availability of processing systems) and HIPAA (availability of electronic protected health information systems).

Mitigation Strategies

Upgrade ag-ui-protocol ag-ui to the latest version (2026-10-30 or later) which includes buffer size limits. Apply the patch commit 9e7b2b00bce215bbf731f1e6094f63812527c432 to enforce 10 MB buffer limits in SSE and protobuf decoders.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-120235. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart

Security Radar

News mentioning this vulnerability
Loading related security news...