CODERED VTA

Ubuntu Patches Twenty OpenEXR Image Parsing Flaws Across Three LTS Releases

Medium
Hands on a laptop keyboard
Photo by Markus Spiske on Unsplash

Our advisory VTA-2026-000511, published on 14 October 2026, covered memory-corruption fixes in the OpenEXR image library for Red Hat Enterprise Linux 8. Canonical has now issued USN-9301-1 on 1 December 2026, and the scope is considerably wider: twenty CVEs across Ubuntu 26.04 LTS (resolute), 24.04 LTS (noble) and 22.04 LTS (jammy). Fifteen of those identifiers were not named in the earlier advisory — CVE-2021-45942, CVE-2023-5841, CVE-2025-12495, CVE-2025-12839, CVE-2026-41142, CVE-2026-42216, CVE-2026-42217, CVE-2026-55059, CVE-2026-55373, CVE-2026-59183, CVE-2026-59982, CVE-2026-59983, CVE-2026-59984, CVE-2026-59985 and CVE-2026-61555. The affected packages are openexr and the runtime libraries libopenexr-3-1-30 on 26.04 and 24.04, and libopenexr25 on 22.04. A reader who acted on the Red Hat advisory still has an open exposure on any Ubuntu host that parses EXR imagery, because the fixed builds here are delivered through Ubuntu Pro ESM Apps rather than the ordinary archive.

Every issue in the notice is reached by parsing a malformed OpenEXR file; Canonical has not published exploitation details, proof-of-concept code or CVSS scores alongside the advisory, so the mechanism is described only at the level of the defect. The bulk of the set is heap-based buffer overflow: mishandled subsampled channels when compositing deep scan line images (CVE-2021-45942, affecting 22.04 only), missing validation of sample counts in deep scan line files (CVE-2023-5841, 24.04 only), uncompressed tiled image files (CVE-2025-12495), incorrect chunk sizes for scan line files carrying a tiles attribute (CVE-2025-12839), an integer overflow when resizing image channels (CVE-2026-41142), and a row-coordinate miscalculation when setting sample counts in deep images (CVE-2026-55059). A second cluster produces out-of-bounds writes and reads: flat images with a non-zero data window origin (CVE-2026-59184), deep images with the same condition (CVE-2026-59189, CVE-2026-59981, CVE-2026-59982), and multi-part files with an empty multiView attribute (CVE-2026-61555). Four of the defects fire only on 32-bit platforms, where buffer-size arithmetic wraps while reading tiled files (CVE-2026-59186), sizing a deep tiled sample count table (CVE-2026-59983), or decoding B44-compressed (CVE-2026-59984) and RLE-compressed (CVE-2026-59985) data. The remainder are availability-only: malformed ID manifest attributes (CVE-2026-42216, CVE-2026-42217), an integer overflow decoding deep tiled files (CVE-2026-59183), and very large sample counts that drive the decoder into an infinite loop (CVE-2026-55373). One flaw sits in a command-line utility rather than the library — exrmultiview mishandles input files with subsampled channels (CVE-2026-68515).

OpenEXR is rarely something an administrator installs on purpose. It arrives as a dependency of rendering, compositing and image-conversion stacks, and the files it reads routinely come from outside the organisation — external studios, contractors, asset marketplaces, or user uploads processed by automated thumbnailers and render queues. That is the uncomfortable part of this set: the parsing often happens headlessly, with no user present to notice a crash, on build and media servers that sit deeper inside the network than a desktop would. The 32-bit-only defects matter for embedded and armhf fleets, which tend to be inventoried less thoroughly than x86-64 servers. On current exploitation status, the picture is reassuring rather than alarming: FIRST EPSS puts CVE-2021-45942 at a 1.8 percent probability of exploitation in the next 30 days and CVE-2023-5841 at 1.2 percent, with CVE-2026-42216 at 0.5 percent, CVE-2026-41142 and CVE-2026-42217 at 0.4 percent, CVE-2026-59186 at 0.3 percent, CVE-2025-12495, CVE-2025-12839, CVE-2026-55373, CVE-2026-59183 and CVE-2026-59184 at 0.2 percent, and CVE-2026-55059 at 0.1 percent. No CVE in this notice appears in the CISA Known Exploited Vulnerabilities catalogue, and no in-the-wild activity has been reported. The practical risk is therefore a scheduling one rather than an incident one — but it is spread across three supported LTS releases, and on these releases the fixed packages are gated behind an Ubuntu Pro subscription, which means unsubscribed hosts remain exposed until a community build appears.

Attack Surface

Endpoint, Server OS, Supply Chain (Third-party vendors)

Tactics

Execution, Impact

Techniques

  • T1203 – Exploitation for Client Execution
  • T1499.004 – Application or System Exploitation
  • T1480 – Execution Guardrails

SuperPRO's Threat Countermeasures Procedures

  1. On Ubuntu 26.04 LTS (resolute), upgrade openexr and libopenexr-3-1-30 to 3.1.13-2ubuntu0.26.04.1~esm2; this build is delivered through Ubuntu Pro ESM Apps, so hosts without an attached Pro subscription will not receive it from the standard archive.
  2. On Ubuntu 24.04 LTS (noble), upgrade openexr and libopenexr-3-1-30 to 3.1.5-5.1ubuntu0.1~esm2 – this is the only branch carrying the CVE-2023-5841 deep scan line sample-count overflow.
  3. On Ubuntu 22.04 LTS (jammy), upgrade openexr and libopenexr25 to 2.5.7-1ubuntu0.1~esm3, which closes CVE-2021-45942, the highest-EPSS issue in this set at 1.8 percent and one that affects 22.04 exclusively.
  4. Inventory 32-bit i386 and armhf hosts running OpenEXR, since CVE-2026-59186, CVE-2026-59983, CVE-2026-59984 and CVE-2026-59985 only trigger on 32-bit platforms when reading tiled, deep tiled, B44-compressed or RLE-compressed files, and these fleets are frequently excluded from x86-64 patch sweeps.
  5. Confine the OpenEXR command-line tools – exrmultiview in particular, given CVE-2026-68515 – under an AppArmor profile or a dedicated unprivileged service account when they process files supplied by external studios, contractors or end users, so a heap overflow cannot reach the wider filesystem.
  6. Audit applications that vendor or statically link their own OpenEXR copy, such as Blender, OpenImageIO and ImageMagick builds compiled in-house, because updating the distribution openexr and libopenexr packages does not replace a bundled library.
  7. Enable coredumpctl and alert on repeated SIGSEGV or SIGABRT terminations in processes linked against libopenexr-3-1-30 or libopenexr25 on render queues and thumbnailing workers, as a crash loop on .exr input is the first observable signal of these parsing defects being hit.

Source

Code Red Cyber / VTA – coderedcyber.ai