A buffer overflow exists in multiple ACDSee products. The ID_X.api plugin fails to validate XPM files resulting in a stack overflow. With a specially crafted file, a context-dependent attacker can cause arbitrary code execution resulting in a loss of integrity.