‘Dearth’ is not a word I commonly use in speech. If I use it, it’s written.
In high school (mumble years ago) a teacher said it’s pronounced so as to rhyme with ‘hearth’; but I cannot find any evidence for that. Every site I check says it rhymes with ‘earth’. So ‘durth’ it is. Where could my teacher have gotten the idea that it is pronounced ‘harth’?
I’ve always heard the “rhymes with earth” version, but I also know how it feels to learn that something you were taught by a respected teacher turns out to be incorrect, or at least substandard. That’s a real shock. Makes you wonder if the earth is really flat after all.
And when it turns out that the bad teacher was your parent, your world collapses.
It’s connected to the word “dear”, obviously; dearth is the condition which prevails when things are dear. Could it be that some people’s pronunciation is influenced by that? Admittedly, that would suggest a “deerth” rather than “darth” pronunciation.