It could be one of three things but the first step is a visit to a veterinarian.
Diet – If there are no signs of weight loss or diarrhea, the veterinarian may suggest a change in the cat’s diet. When you’re changing foods, be sure to check the label for ingredients. The meat product should always be listed first.
Parasitic worms – worms are another common cause of terrible smelling feces. Deworming at regular intervals, as determined by your veterinarian, is a must since these tiny parasites can lie dormant for long periods of time.
Anal Sacs – I know that adult cats get impacted anal sacs but I’ve never heard of a kitten getting it. Although it’s more common in older cats, this problem is sometimes seen in kittens as well.
Here in TDKland, we recommend Goats’ milk for kittens. Cats are lactose intolerant and can’t digest cows milk. Goats’ milk is full of nutrients, probiotics and gentler on their tummies. This can also regulate the poop. You can find it in the dairy section or the concentrate in the baking aisle. Mix the concentrate 1:1 with water or pedylite. I’ve never heard of smelly poop on Goats’ milk.