CVE-2012-0277: Heap Buffer Overflow in XnView PCT Image Parser
- Vendor
- Xnview
A heap-based buffer overflow exists in XnView versions prior to 1.99, specifically in the handling of PCT image files. An attacker can exploit this vulnerability by tricking a user into opening a specially crafted PCT image, which triggers the overflow condition in the application's image parsing code.
Impact, mitigation & remediation
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
Impact
What an attacker gets, and what they’ve been doing with it.
Successful exploitation can lead to denial of service (application crash) and potentially allow remote code execution with the privileges of the user running XnView.
Mitigation
If you can’t patch tonight, do this now.
Avoid opening untrusted PCT image files. Employ host-based intrusion prevention systems and application sandboxing to limit the impact of exploitation attempts.
Remediation
Patch, then assume compromise.
Upgrade to XnView version 1.99 or later, where the vulnerability has been addressed by the vendor.
Exploits
No validated public exploits yet. Hidden: 1 not yet analyzed, such as Exploit-DB entries.
Affected products & vendors
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
References
Frequently asked questions
- Is CVE-2012-0277 exploited in the wild?
- As of Oct 16, 2026, Mallory has no reports of CVE-2012-0277 being exploited in the wild. It is not listed in CISA KEV.
- Is there a public exploit for CVE-2012-0277?
- As of Oct 16, 2026, Mallory has not confirmed a public exploit for CVE-2012-0277. 1 candidate exploit record is not yet analyzed.
- Is there a patch for CVE-2012-0277?
- Upgrade to XnView version 1.99 or later, where the vulnerability has been addressed by the vendor.
- What products are affected by CVE-2012-0277?
- Xnview.
- How severe is CVE-2012-0277?
- CVE-2012-0277 has a CVSS v2 score of 6.8 (Medium) and an EPSS score of 7.9% (95th percentile) as of Oct 16, 2026.
Recent activity
No public activity tracked yet. Mallory keeps watching.
No public activity observed for this vulnerability.