Answer: a mysterious virus
It was strongly implied that she had AIDS, but since she died before AIDS became well known, she could only describe her sickness to Forrest as some kind of "mysterious virus." The movie concentrated on the intensity of Forrest's grief for her rather than what it was she died of.