Zero-day vulnerability in FreeType

Heap-based buffer overflow

Vulnerability details

Advisory: SB2020102038 - Remote code execution in FreeType library

Vulnerable component: FreeType

CVE-ID: CVE-2020-15999

CVSSv3 score: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H/E:H/RL:O/RC:C

CWE-ID: CWE-122 - Heap-based Buffer Overflow


The vulnerability allows a remote attacker to execute arbitrary code on the target system.

The vulnerability exists due to a boundary error in freetype library when processing TTF files. A remote attacker can pass specially crafted TTF file with PNG sbit glyphs to the application, trigger heap-based buffer overflow and execute arbitrary code on the target system.

Successful exploitation of this vulnerability may result in complete compromise of vulnerable system.

Note, this vulnerability is being actively exploited in the wild.