Yes, I can confirm in the exif metadata:
SensorWidth 5920
SensorHeight 3950
And looking at RAWTherapee shows 5788x3862 as you say.
So including file properties (5760x3840) and the MLV generated by RAW2MLV (5792x3870), now we have four different values and none of them match. I'm sorry to say it, but now I am more confused than ever.
You are also confusing CR2 and MLV.
The only data coming off the camera card is the .CR2 file. The MLV is generated by RAW2MLV.
It grabs its contents from liveview buffer and that is 5792x3870.
How is this possible? Are you saying the contents from the liveview buffer is stored inside the .CR2 file?
I'm sorry for the trouble, I'm just trying to understand the process to ensure IQ is preserved through each step. If you say it is all correct and as expected I will trust you.