Vulnerable code is not present in libraw 0.21.4 (the version shipped in
Debian trixie). The CVE describes a heap out-of-bounds write in
HuffTable::initval (src/decompressors/losslessjpeg.cpp), reachable via
LibRaw::sony_ycbcr_load_raw -> LibRaw_LjpegDecompressor::initialize ->
HuffTable::initval. None of those symbols exist in 0.21.4: the
src/decompressors/ directory, the LibRaw_LjpegDecompressor class, and
the sony_ycbcr_load_raw entry point were all introduced together in
libraw 0.22.0.
Empirically confirmed by running the public PoC from
https://github.com/biniamf/pocs/tree/main/libraw_lljpeg against an ASan
build of unpatched libraw 0.21.4: the file is rejected at open with
"Unsupported file format or not RAW file"; the same PoC reproduces the
heap-buffer-overflow in 0.22.0 with the stack trace from the Talos
report.