A liver abscess is a pocket of infected fluid (pus) that forms in the liver. It is caused by infection from germs such as bacteria, parasites, or fungus. It must be treated right away to prevent serious problems.