There was an older thread about this same question and many people had advises and tricks to try and get rid of the smell, using essential oils, baking soda etc : https://www.tarotforum.net/showthread.php?t=50203&highlight=Smell
For me, I once had a deck bought second hand, that smelled of heavy woman perfume.
I tried everything, every trick, for several months : Airing the deck for months, wiping each card clean with alcool, drowning the deck in baking soda, in starch powder, in baby powder, airing it again..... nothing worked.
I ended up having an icky feeling about the deck, as if the smell was somebody's strong unwelcome energy sticking to it -I know it sounds silly, but that is how it made me feel after all those efforts.
I inquired with the person who had sold me the deck and she told me that actually she had only had it for a few days, she had bought it second hand herself, and after browsing it she found she did not like it so she put it back up for sale.
I considered giving it up to someone else, or leaving it in a public place for someone to find it, but because of that ickyness, I ended up just destroying it eventually. After spending months trying to rid it of the smell and even to cleanse it of that ickyness.
But I am sure that most times you can get rid of the smell ! Its worth a try ! Good luck.