I use Blender 4.2 LTS.
When I render only one image by clicking "Render > Render Image" and output my cryptomatte's matte - output to the viewer node it looks fine. It is not completely white, but saved as an EXR it becomes perfect white, saved as a PNG the matte is still not perfectly white.
When I render an animation by "Render > Render Animation" and connect the Cryptomatte's matte - output to the file output, set to EXR, it turns out black. When I set the file output to PNG the result is a perfect white mask.
Is this a bug? It seems like it.