Moderate to severe malnutrition in patients with tuberculosis is a risk factor associated with early death.