Lots of pugs go through a skinny leggy phase at about that age.

Also, frankly, many pugs are prone to putting on too much weight to be healthy for them. If yours isn't so much the better.