lexa's blog

LibRaw 0.22.3 Release

LibRaw 0.22.3 Release is just published in our Github repository and this site download section.

This is bugfix-only release with these commits included:

  • e8de2d60 destimage var added to omp parallel statement
  • 11a5f842 changed (wrong) static to stack in normalize_model
  • b55eef9a xtrans interpolate: incorrect memmove data size
  • 37ee3956 X-Trans/half interpolation: find green pixel based on CFA pattern, not pixel values

Special notes on CVE-2026-111272

  • (as described on author's page): This CVE report is based "only on static analysis" without attempting to reproduce the issue at runtime.
  • In fact, "static analysis" failed: it assumes system calloc() use for memory allocation while LibRaw::calloc() is used in reality.
  • So, "discovered" OOB-heap accesses by fixed offset(s) are not OOB, all accesses occur within the allocated buffer
  • The author made no attempts to contact our team.
  • Our attempts to contact him also went unanswered.

LibRaw 0.22 Release

LibRaw 0.22.0 Release is just published in our Github repository and this site download section.

Here are changes list relative to version 0.21:

Raw format support

  • Panasonic encoding 8
  • Sony YCC (Medium/Small compression) pseudo-RAW support:
    • normal processing (3-channel RGB output)
    • or YCbCr output if LIBRAW_RAWSPECIAL_SRAW_NO_RGB bit is set in imgdata.rawparams.specials (one may specify the LIBRAW_RAWSPECIAL_SRAW_NO_INTERPOLATE flag too avoid Cb/Cr interpolation)

LibRaw 0.21.5

LibRaw 0.21.4 Release is just published in our Github repository and this site download section.

This is the final release in the 0.21 branch, including all (minor) changes and bugfixes introduced since the 0.21.4 release.
Changes are:

  • Accurate exception handling in fuji compressed decoder/openmp case
  • Update libraw_types.h to fix calling C++ files in external C/Swift
  • Canon AFData: read/data size fix and check AFInfo2/3 data against tag size

LibRaw 0.22 PreRC1

LibRaw 0.22 PreRC1 is just published in our Github repository. Here are changes relative to 202502 snapshot:

Camera support

  • Canon EOS R1, EOS R5 Mark II
  • Fujifilm X-T50, GFX 100S II
  • Leica Q3 43, D-Lux8
  • Nikon Z6-III (no HE/HE* support)
  • Panasonic GH7, S9
  • Sony ZV-E10M2, UMC-R10C

Big changes/API changes

  • New implementation for Samsung V3 decoder (NX1, NX500, etc)
  • Canon AutoRotate mode detection for several cameras.
    If LIBRAW_RAWOPTIONS_CANON_CHECK_CAMERA_AUTO_ROTATION_MODE bit

LibRaw 202502 snapshot

LibRaw 202502 snapshot is just published in our Github repository. Changes are:
Camera format support

  • OM System 14-bit high-resolution files.
    Note: the new decoder supports old (12-bit) Olympus/OM-System files
    too and slightly faster (about 5%), so the old one is removed.
  • Nikon NEFX (4/8/16/32 shots in PixelShift mode merged via Nikon software)

Camera support

LibRaw 0.21.3

LibRaw 0.21.3 Release is just published in our Github repository and this site download section.

Changes are:

  • new compile-time define LIBRAW_CALLOC_RAWSTORE
    If defined: calloc() will be used for all big buffer allocations to prevent uninitialized heap data leak
  • Small allocations: calloc() instead of malloc() to prevent uninitialized heap data leak
  • Support for 4-component JPEG-compressed DNG files
  • CR3-Qstep table: avoid wrong 64-bit code generation

Pages

Subscribe to RSS - lexa's blog