Integer overflow in Hancom Office

CVE-2016-4291

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.

Vulnerability class: Integer Overflow

EPSS: 0.021 (80.1th percentile) — read the EPSS interpretation.

CVSS v3 metric

CVSS v3 base score 7.8 (High). Vector: CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H.

Affected products

Weakness classification (CWE)

References

  • cret@cert.org (vdb-entry, x_refsource_BID)
  • cret@cert.org (Technical Description, Exploit, VDB Entry, Third Party Advisory, x_refsource_MISC)

Frequently asked questions

What is CVE-2016-4291?
CVE-2016-4291 is a high-severity vulnerability in Hancom Office, classified under Integer Overflow or Wraparound. CVSS score: 7.8/10. Published 2017-01-06.
How severe is CVE-2016-4291?
High severity. CVSS v3 base score is 7.8 out of 10.