VULNERABILITY INTELLIGENCE
CVE-2016-4291
CVSS score7.8 HIGH
EPSS probability2.13%
CISA KEVNot currently listed
Published2017-01-06
Last modified2026-06-17
CVSS vectorCVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
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 classification
- CWE-190: Integer Overflow or Wraparound
Primary references
- cret@cert.org
- cret@cert.org — Exploit, Technical Description, Third Party Advisory, VDB Entry
- af854a3a-2127-422b-91ae-364da2661108
- af854a3a-2127-422b-91ae-364da2661108 — Exploit, Technical Description, Third Party Advisory, VDB Entry