Question: can you have a cavity without pain?
Answer: Cavities themselves are not typically painful, unless they have become deep enough to involve the nerve root; this is why most dentists recommend twice-yearly screening exams to look for cavities and treat them if they are present. Your description of bleeding gums, however, is not a typical symptom of cavities.