CVE-2026-95114
Received Received - Intake

Out-of-Bounds Read in libwebsockets LEJP Parser

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

Publication date: 2026-10-13

Last updated on: 2026-10-13

Assigner: MITRE

Description

libwebsockets contains an out-of-bounds read vulnerability in the LEJP incremental parser in lib/misc/lejp.c. This allows a remote attacker to cause a denial of service

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-10-13
Last Modified
2026-10-13
Generated
2026-10-13
AI Q&A
2026-10-13
EPSS Evaluated
N/A
NVD
EUVD

Affected Vendors & Products

Showing 1 associated CPE
Vendor Product Version / Range
n/a n/a n/a

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-UNKNOWN

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

CVE-2026-95114 is an out-of-bounds read vulnerability in the libwebsockets library affecting the LEJP incremental parser in lib/misc/lejp.c. The issue occurs when a crafted input causes a stack overflow, leaving the stack pointer (ctx->sp) at an invalid position (64 instead of 0-63). Subsequent calls to the parser then read outside the valid stack bounds, causing undefined behavior and potential denial of service.

Detection Guidance

Detecting this vulnerability requires checking for crashes or undefined behavior in applications using libwebsockets, particularly during incremental JSON parsing. Monitor logs for SIGILL crashes in sanitizer builds or segmentation faults in release builds. Test with crafted inputs that trigger stack overflows in the LEJP parser.

Impact Analysis

This vulnerability can cause crashes in sanitizer builds (e.g., SIGILL) and undefined behavior in release builds. It may lead to denial of service if exploited during a two-phase feed where input is split into sequential parts. Systems using libwebsockets for JSON parsing could experience instability or unexpected termination.

Mitigation Strategies

Update libwebsockets to a patched version that includes commits c404a20 and 736a4a2. If updating is not immediately possible, avoid processing split-phase JSON inputs that could trigger the vulnerability. Disable affected services if they handle untrusted JSON data.

Chat Assistant

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

EPSS Chart