All news
RAW workflow4 min read

LibRaw 0.22.2 adds bounds, overflow and recursion checks across RAW decoders

The bugfix-only release tightens input handling for DNG, CR3, X3F, Phase One, MOS and thumbnail paths. Applications benefit only after their vendors integrate and ship the updated library.

MANAZYR NEWSPublished · Updated ·
MANAZYR factual cover based on the LibRaw release notes; no synthetic product image.

Editorial visual: MANAZYRRights details

01

What we know

LibRaw 0.22.2 was released on July 16 as a bugfix-only update. The project lists checks for FP DNG tile indexes and bit depth, CR3 plane sizes and allocation arithmetic, PPM16 thumbnail limits, Phase One flat-field buffers, Fuji image dimensions, X3F structures and very deep MOS or QuickTime nesting.

The notes also mention zeroing read buffers, guarding row stride against buffer size, preventing several possible integer or allocation overflows and fixing possible stack-memory or previous-image metadata exposure reported by MemorySanitizer. The release page does not present a consolidated CVE list or claim that every item is remotely exploitable.

02

MANAZYR perspective

A RAW file is active input to a complex decoder, not an inert photograph. Studios that receive files from clients, public submissions or recovered media should treat decoder versions as part of the security and reliability baseline. The practical win arrives downstream only when the actual converter, DAM or editor bundles 0.22.2.
03

What we’re watching

We are watching application-vendor adoption, distro packages and any later advisories mapping individual fixes to CVEs. Before rollout, test a representative RAW corpus, thumbnails, sidecars and round trips; do not assume an application’s visible version reveals its bundled LibRaw build.

MANAZYR / SOURCES

Source trail

Primary and official sources are listed first. Links open the original page; MANAZYR does not reproduce its text or images.

  1. 01LibRaw — 0.22.2 release notes