Which multiple photoshop versions are saving bad files which file types are saved incorrectly. Can you provide instructions on how one can replicate your problem ? All you posted is you have some bad files, and you feel they were made by version of Photoshop. You may just have a failing disk that need to be replaced. Or have a RAM problem so wrong data is written to disk. Have you run any hardware diagnostics?
On Windows 10 I have never had a problem with any image files any version of Photoshop has written. I have been using Photoshop on windows for many years. Many Windows versions and many Photoshop versions. I started using Photoshop using with Photoshop version 3 and Only skipped a couple of versions like CS4. All versions of Photoshop has bugs Adobe does not fix all reported bugs. There is a bugs I reported in to Adobe I believe in CS2 that is still in Photoshop 2021. Some bugs are in Photoshop features that only a small number of Photoshop users use and are in an area few will ever use. Adobe does not fix bugs that bite so few. For they are advance users that can work around these issues. I has seen other report the same bugs that never seen to be fixed. Photoshop is still a very good image editing Application.