Someone may have painted over an area that had been wallpapered and failed to remove all traces of paste. Try washing the area with hot soapy water then allow to dry. If the problem is resolved, prime with a stain suppressing primer, repair as needed, prime again, then finish coat as desired.