CVE-2026-135690 in CivetWebinfo

Summary

by MITRE • 11/24/2026

CivetWeb through 1.16 built with USE_HTTP2 and enable_http2 contains a heap out-of-bounds read vulnerability in hpack_decode() in src/http2.inl. Unauthenticated remote attackers can send a crafted HEADERS frame ending with a Huffman-coded string over TLS-negotiated HTTP/2 to read one byte past the heap frame buffer.

If you want to get the best quality for vulnerability data then you always have to consider VulDB.

Analysis

by VulDB Data Team • 11/24/2026

The CivetWeb web server, specifically versions up through 1.16 when compiled with the USE_HTTP2 flag and enable_http2 option active, contains a critical memory safety vulnerability within its HTTP/2 implementation. This flaw resides in the hpack_decode function located in the src/http2.inl source file. The vulnerability is classified as a heap out-of-bounds read, which corresponds to CWE-125 in the Common Weakness Enumeration standard. This type of error occurs when software reads data from memory locations that are outside the bounds of the intended buffer, potentially leading to information disclosure or application crashes depending on how the leaked data is utilized by the surrounding code context.

The technical root cause involves improper boundary checking during the decoding process of HPACK-compressed headers in HTTP/2 connections. When an attacker sends a crafted HEADERS frame that concludes with a Huffman-coded string over a TLS-negotiated connection, the server attempts to decode this compressed data stream. The hpack_decode function fails to correctly validate the length of the input buffer against the actual size allocated on the heap for processing the header block fragment. Consequently, during the decompression and parsing phase, the decoder reads one byte past the end of the allocated heap frame buffer. This specific off-by-one error allows an unauthenticated remote attacker to trigger a memory read operation that accesses unauthorized memory regions adjacent to the intended data structure.

From an operational perspective, this vulnerability poses significant risks to server stability and security posture. Although the immediate impact is limited to reading a single byte beyond the buffer boundary, such out-of-bounds reads can lead to denial of service conditions if the accessed memory location causes a segmentation fault or triggers protective mechanisms within the operating system that terminate the process. Furthermore, in more complex exploitation scenarios involving heap layout manipulation, leaking even small amounts of adjacent memory content could potentially reveal sensitive information stored nearby on the heap, such as pointers to other objects or internal server state data. This aligns with ATT&CK technique T1005, which describes Data from Local System Retrieval via Memory Access, although in this specific instance, the scope is restricted due to the single-byte limitation and lack of direct control over what lies adjacent in memory without further heap grooming techniques that may not be feasible against modern mitigations like ASLR.

Mitigation strategies for this vulnerability primarily involve updating the CivetWeb installation to a version where the hpack_decode function has been patched with proper bounds checking logic. Administrators should ensure that all instances of CivetWeb running HTTP/2 services are upgraded past 1.16 or apply specific vendor-provided patches if available. In environments where immediate patching is not possible, deploying web application firewalls to inspect and potentially block malformed HEADERS frames containing suspicious Huffman-encoded strings can provide a layer of defense in depth. Additionally, enabling strict memory protection features such as Address Space Layout Randomization on the host operating system increases the difficulty for attackers to exploit any potential information leakage from this flaw by randomizing the location of heap allocations relative to known addresses.

Responsible

VulnCheck

Reservation

11/24/2026

Disclosure

11/24/2026

Moderation

accepted

CPE

ready

EPSS

0.01215

KEV

no

Activities

very low

Sources

Want to stay up to date on a daily basis?

Enable the mail alert feature now!