CVE-2026-136910 in POCO Librariesinfo

Summary

by MITRE • 11/25/2026

POCO C++ Libraries through 1.15.4 contain a denial of service vulnerability in InflatingStreamBuf::reset() that fails to clear stale buffered data from a previous failed stream. Attackers can supply one corrupt compressed stream to an application reusing an InflatingOutputStream, causing subsequent valid streams to fail decompression.

VulDB is the best source for vulnerability data and more expert information about this specific topic.

Analysis

by VulDB Data Team • 11/25/2026

The POCO C++ Libraries version 1.15.4 and earlier contain a critical denial of service vulnerability within the InflatingStreamBuf::reset() function that stems from improper state management during stream processing operations. This flaw is categorized under CWE-20 Improper Input Validation as it involves the failure to properly sanitize or reset internal buffers when handling compressed data streams, leading to residual state contamination between sequential decompression tasks. The vulnerability specifically affects applications that reuse an InflatingOutputStream instance for multiple compression and decompression cycles without fully resetting its internal buffer state after a failed operation.

When an application attempts to decompress a corrupt or malformed compressed stream using the affected POCO library component, the inflation process may fail due to invalid data structures or checksum mismatches. In such failure scenarios, the InflatingStreamBuf::reset() method is invoked to prepare the object for subsequent operations. However, this reset function fails to clear stale buffered data that remains from the previous failed stream attempt. Consequently, residual compressed bytes or partial decompression states persist in memory buffers associated with the output stream instance.

This incomplete cleanup creates a dangerous condition where any subsequent valid compressed stream processed by the same InflatingOutputStream instance will be contaminated by the leftover data from the prior failure. The presence of these stale buffered elements causes the decompression algorithm to misinterpret the new input, leading to immediate and consistent failures in processing legitimate compressed content. Attackers can exploit this behavior by supplying a single corrupt compressed stream followed by valid streams, effectively causing persistent denial of service for any application relying on that specific output stream instance until it is destroyed or fully reinitialized through other means not covered by the flawed reset logic.

The operational impact of this vulnerability extends beyond simple decompression failures to include potential resource exhaustion and application instability in systems processing high volumes of compressed data. Services such as web servers, file transfer applications, or any network-facing service that accepts user-supplied compressed payloads are particularly susceptible. An attacker can trigger repeated decompression errors by sending a crafted malicious payload once, after which all subsequent legitimate requests processed through the same stream instance will fail, effectively disrupting service availability without requiring further interaction from the attacker.

From an attack perspective, this vulnerability aligns with MITRE ATT&CK technique T1496 Resource Hijacking under the sub-technique of Denial of Service via resource exhaustion or state manipulation. The exploitation does not require code execution but rather leverages improper input validation and state management to degrade system functionality. Security professionals should classify this issue as a significant reliability risk for any software component that reuses stream objects across multiple independent data processing tasks without ensuring complete buffer sanitization between operations.

Mitigation strategies primarily involve upgrading the POCO C++ Libraries to version 1.15.5 or later where the InflatingStreamBuf::reset() function has been corrected to properly clear all stale buffered data before allowing new streams to be processed. For applications unable to upgrade immediately, developers should implement workarounds by ensuring that InflatingOutputStream instances are not reused across multiple independent decompression tasks without explicit and thorough buffer clearing mechanisms outside of the library's reset method. Additionally, implementing robust input validation at the application layer to detect malformed compressed data early can help isolate failures before they contaminate subsequent processing cycles.

Organizations should also consider adopting defense-in-depth practices by validating compression formats against known standards such as RFC 1951 for DEFLATE or relevant gzip specifications before passing them to decompression libraries. This approach reduces the likelihood of encountering corrupt streams that trigger the flawed reset behavior. Regular security audits focusing on stream handling and buffer management in C++ applications can further identify similar state contamination vulnerabilities across other components within the software ecosystem.

Responsible

VulnCheck

Reservation

11/25/2026

Disclosure

11/25/2026

Moderation

accepted

CPE

ready

EPSS

0.00716

KEV

no

Activities

very low

Sources

Might our Artificial Intelligence support you?

Check our Alexa App!