I can't comment because I don't know the facts on this particular case, but it would be a serious misunderstandng to suppose that an annulment means that a wife was a whore and the children were bastards.
Neither "whore" nor "bastards" nor any synonym nor any words to that effect are any part of Canon Law. If a man begets a baby, under any circumstances, Canon Law terms that his "natural child," if a woman bears a baby, no matter what the circumstances, Canon Law similarly terms that her "natural child."
Not only that, but the reasons for a finding of nullity are not published, out of respect for people's privacy (although one of the parties may choose to disclose them.) For all anyone knows, there could have been a finding of grave defect on the part of the hisband which resulted in his vows being invalid (e.g. because of deception, mental incapacity or fraud on his part).
Or there could have some other issue entirely, such as consanguinity, or inadvertent bigamy --- somebody presumed their previous, long-time-missing spouse was dead, but he/she turned up living under a different name on Tijuana --- or one party or the other being not baptized. (I'm not saying that's the case, but those are examples of reasons which would not impute any fault on the part of the wife.)
A while ago, some FReepers were all upset about a Catholic biggie getting an annulment, with the gossip centering on the supposition that he had paid off a Tribunal to get him off from his vows.
Later, the guys' ex-wife published a tells-all memoir in which she claimed that he had totally deceived her from Day One about his commitment to an exclusive, monogamous and lifeling marriage.
So his vows were found to be null because of having been fraudulently made.
FReepers started chiming in "Yeah, he's a ^$%$$ liar,"etc. etc, basically vindicating the Tribunal, which said his vows were rubbish.
Frankly, it comes off as quibbling. I regard the woman who split up a marriage as a home wrecker. An immoral woman. Cold-blooded and selfish. And she seems to have hitched the church to her particular wagon--be the accessory to a divorce, yet the innocent party as she appears before the altar with her newly-annuled, newly-Catholic "husband."
He took one set of vows before God, and he had children of his body. Now, because a Catholic woman wants things to be neat and pretty for her "sacrament," the true wife gets completely dissed by the church. Her children, too. That's what any onlooker would conclude.
Frankly, it's a heckuva way to deal with divorce and the church.
If this "Catholic biggie" was Ted Kennedy, for example, he was able to get his first marriage annulled because HE was the one who entered into it with no intention of being faithful to his wife. HE was the one who petitioned for the annulment so he could marry his Catholic girlfriend and it was granted to him over the objections of his first wife and with four children being the product of that "null" marriage which was performed in a Catholic Church BY a Catholic priest. What example is being given here where a serial adulterer can get his church to do just about anything he wants even when it is HIM that is the wrongdoer??? Whatever reputation the Roman Catholic Church has gotten over these annulments - and it's been ongoing for centuries, it fully deserves.