CVE-2012-10057 Lattice Semiconductor ispVM System 18.0.2 XCF File Handling Buffer Overflow

High 8.4 Published Updated

A buffer overflow in Lattice ispVM System allows arbitrary code execution when a user opens a malicious .xcf project file.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Local or same network only
Victim action needed
A user has to click or open something
Fix
None listed

What is CVE-2012-10057?

CVE-2012-10057 is a high-severity memory corruption vulnerability in Lattice Semiconductor ispVM System, published on 13 Aug 2025. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.

Official description

Lattice Semiconductor ispVM System v18.0.2 contains a buffer overflow vulnerability in its handling of .xcf project files. When parsing the version attribute of the ispXCF XML tag, the application fails to properly validate input length, allowing a specially crafted file to overwrite memory on the stack. This can result in arbitrary code execution under the context of the user who opens the file. The vulnerability is triggered locally by opening a malicious .xcf file and does not require elevated privileges.

Weakness: CWE-121

Which versions are affected by CVE-2012-10057?

How do I fix CVE-2012-10057?

No fix has been published for CVE-2012-10057 yet. Limit exposure of the affected software until one is available.

Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.

Is CVE-2012-10057 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2012-10057 exists.

Public exploit code: 1 Metasploit module.

Sources

Also known as GHSA-c3xf-7jfj-cpqv.

Is CVE-2012-10057 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free