A curdy flavor defect in ghee results from excessive fermentation of butter or the addition of old butter to the fermented cream. This defect alters the sensory qualities of ghee, making it unpalatable. Proper handling and freshness of ingredients during ghee production are essential to avoid this issue.