CVE-2016-4291 Integer overflow in Hancom Office

High 7.8 Published Updated

An integer overflow in Hancom Office allows remote code execution via a malicious HShow document due to insufficient bounds checking during memory allocation.

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-4291?

CVE-2016-4291 is a high-severity 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 HShow Document (.hpt) and processing a structure within the document, Hancom Office 2014 will use a field from the structure in an operation that can cause the integer to overflow. This result is then used to allocate memory to copy file data in. Due to the lack of bounds checking on the integer, the allocated memory buffer can be made to be undersized at which point the reading of file data will write outside the bounds of the buffer. This can lead to code execution under the context of the application.

Weakness: CWE-190

Which versions are affected by CVE-2016-4291?

It affects 1 product.

Products include Hancom Hancom Office 2014.

How do I fix CVE-2016-4291?

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

Is CVE-2016-4291 being exploited?

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

Sources

Also known as GHSA-crxv-hwq9-wj7h.

Is CVE-2016-4291 in your software?

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

Check your SBOMs for free