Bloody sputum (spitting up blood or bloody mucus) can come from common forms of infection in the lungs and airways, such as acute bronchitis or pneumonia. Bloody sputum can be a result of lung cancer. Whenever bloody sputum is present and cannot be attributed to a curable condition, a complete lung evaluation is warranted. Bloody sputum is also referred to as hemoptysis. Causes of bloody sputum include lung infection with pneumonia, bronchitis, tuberculosis, parasites (hookworm), cystic fibrosis, nosebleed (epistaxis), pulmonary edema, pulmonary embolism, chest trauma, mitral stenosis, lung cancer, and Goodpasture syndrome.