In LibRaw before 0.21.4, phase_one_correct in decoders/load_mfbacks.cpp has out-of-bounds reads for tag 0x412 processing, related to large w0 or w1 values or the frac and mult calculations.
https://www.libraw.org/news/libraw-0-21-4-release
https://github.com/LibRaw/LibRaw/compare/0.21.3...0.21.4
https://github.com/LibRaw/LibRaw/commit/66fe663e02a4dd610b4e832f5d9af326709336c2