I have two .CR3 files (Canon M50 Mark II), which were taken with exactly the same parameters, and the same illumination, so I would expect the same brightness level (and the .jpeg files indeed have the same brightness).
When I'm converting the .CR3 files to 16-bit TIFF files using the latest bits of LibRaw (2021-10), I get two TIFF images with quite different brightness levels.
Converting the .CR3 files first to .DNG files, using Adobes DNG converter, and then convert those .DNG files to 16-Bit TIFF files with LibRaw result in the same brightness level, as expected.
Is there any 'hidden' factor in the .CR3 files, which is not taken into account in the current LibRaw version?
Maybe it has something to do with the fact that those pictures are slighly overexposured, because I can't see this effect with pictures which are not overexposured.