Not that I know of, other than maybe it could have been a birth defect. Like Morgrid said, it doesn't sound like any normal issue. 12 cm is pretty tiny for a 2 year old tinfoil barb, it should have been closer to 30, so it probably had some issues.
How big is your tank? I think you mentioned it before, but I'm afraid I don't remember.