Often the expensive imaging and scanning machines have embedded windows OS that gets past its viability as far as sec goes, way before the machine itself is past usable. The machines in question are of course very expensive and upgrading the embedded OS is not usually an option. The manufacturers have a profit motive too and paying their devs to write updates don’t cut it. The answer, as always is ofc, regulate and standardize. But then again, where’s the money in that? And so it goes.