An anal abscess is an infected cavity filled with pus found near the anus or rectum.  Ninety percent of abscesses are the result of an acute infection in the internal glands of the anus. Occasionally, bacteria, fecal material or foreign matter can clog an anal gland and tunnel into the tissue around the anus or rectum, where it may then collect in a cavity called an abscess.  