CVE-2016-4295 Memory corruption in Hancom Office

High 7.8 Published Updated

Heap overflow in Hancom Office allows remote code execution via a malicious Hcell document.

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-2016-4295?

CVE-2016-4295 is a high-severity memory corruption vulnerability in Hancom Office, published on 6 Jan 2017. 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

When opening a Hangul Hcell Document (.cell) and processing a particular record within the Workbook stream, an index miscalculation leading to a heap overlow can be made to occur in Hancom Office 2014. The vulnerability occurs when processing data for a formula used to render a chart via the HncChartPlugin.hplg library. Due to a lack of bounds-checking when incrementing an index that is used for writing into a buffer for formulae, the application can be made to write pointer data outside its bounds which can lead to code execution under the context of the application.

Weakness: CWE-119

Which versions are affected by CVE-2016-4295?

It affects 1 product.

Products include Hancom Hancom Office 2014.

How do I fix CVE-2016-4295?

No fix has been published for CVE-2016-4295 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-2016-4295 being exploited?

There is no known exploitation of CVE-2016-4295 in the wild and no public exploit code.

Sources

Also known as GHSA-c9vc-596v-cxc3.

Is CVE-2016-4295 in your software?

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

Check your SBOMs for free