In LibRaw before 0.21.4, tag 0x412 processing in phase_one_correct in decoders/load_mfbacks.cpp does not enforce minimum w0 and w1 values.
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/a50dc3f1127d2e37a9b39f57ad9bb2ebb60f18c0