Dumb really means not being able to speak; I’ve never heard a different term for that medical condition.
But then of course it is also absolutely used as synonymous with stupid; the definition conflict is never really apparent because actually being medically dumb is so rare.
Language evolution is very interesting.
“Dumb” is “mute”, but neither are used medically anymore. It is “speech impaired”