Distro News

Ubuntu patches POCO C++ libraries against UTF-32 overflow and zlib stream reset flaws

Key Takeaway

USN-9305-1 fixes an integer overflow in POCO's UTF-32 handling that can crash or potentially execute code, plus a decompression-error stream reset bug, with fixes shipping as Ubuntu Pro ESM updates across seven LTS releases.

Summary

Ubuntu published USN-9305-1 on 1 December 2026, addressing two vulnerabilities in POCO, the C++ Portable Components libraries packaged as libpocofoundation and related binaries. The first, CVE-2023-52389, is an integer overflow triggered by malformed UTF-32 byte sequences that can crash an application or, in the worst case, allow arbitrary code execution; Ubuntu states it only affected 18.04 LTS, 20.04 LTS, 22.04 LTS and 24.04 LTS. The second, CVE-2026-136904, concerns POCO failing to correctly reset an inflating input stream after a decompression error, which an attacker can use to cause a denial of service.

The notice lists fixed package versions for 26.04 LTS, 24.04 LTS, 22.04 LTS, 20.04 LTS, 18.04 LTS, 16.04 LTS and 14.04 LTS, with the fixes delivered through Ubuntu Pro's ESM Apps channel and, for 14.04 LTS, the Legacy Support add-on. Ubuntu notes that a community fix might become publicly available in the future, meaning the corrected packages are not in the standard archive for these releases. A standard system update applies the changes once the appropriate Ubuntu Pro subscription is attached.

What USN-9305-1 changes in POCO

  • UTF-32 integer overflow (CVE-2023-52389): POCO mishandles certain UTF-32 byte sequences, producing an integer overflow that can crash a process or potentially be leveraged for arbitrary code execution; Ubuntu scopes the affected releases to 18.04, 20.04, 22.04 and 24.04 LTS.
  • Inflating stream reset (CVE-2026-136904): After a decompression error, POCO does not correctly reset the inflating input stream, a state-handling bug that an attacker can drive into a denial of service.
  • Package versions: Fixes are published as libpocofoundation112 1.14.2-3ubuntu0.1~esm1 (26.04 LTS), libpocofoundation80t64 1.11.0-4.1ubuntu0.1~esm1 (24.04 LTS), libpocofoundation80 1.11.0-3ubuntu0.1~esm1 (22.04 LTS), libpocofoundation62 1.9.2-3ubuntu3+esm1 (20.04 LTS) and libpocofoundation50 1.8.0.1-1ubuntu4+esm1 (18.04 LTS).
  • Older LTS coverage: 16.04 LTS receives libpocofoundation9v5 1.3.6p1-5.1ubuntu0.1+esm1 and 14.04 LTS receives libpocofoundation9 1.3.6p1-4+deb7u1ubuntu0.14.04.1~esm1, the latter through the Legacy Support add-on.
  • Delivery channel: All listed fixes are available via Ubuntu Pro ESM Apps rather than the standard archive, and Ubuntu states a community fix might become publicly available in the future.

Why it matters

POCO is a long-standing C++ foundation library used by server-side and networking software, so distributions and administrators running services that link against libpocofoundation need to track this advisory even though the affected code paths only matter when untrusted UTF-32 or compressed input is parsed. Because the corrected packages ship through Ubuntu Pro ESM Apps, unsubscribed systems on 18.04 through 26.04 LTS remain exposed until a community fix appears or a subscription is attached, which shifts the patching burden onto operators of long-lived LTS deployments.

Original reference: ubuntu.com →