Is it really "zero cost in maintenance" if that old code presents attack surface?
If no changes get made, then no friction.
And open source code can and often is just abandoned. Defacto, sometimes even de jur. User beware, use at your own risk, etc.
They have a counter balancing thing which is no one can see it to shame them.
At worst they generally just suffer reputational damage, not actual cost or lost revenue, like a business would.