[manjaro-security] [ASA-202010-10] freetype2: arbitrary code execution

Morten Linderud foxboron at archlinux.org
Wed Oct 21 09:06:36 CEST 2020


Arch Linux Security Advisory ASA-202010-10
==========================================

Severity: High
Date    : 2020-10-20
CVE-ID  : CVE-2020-15999
Package : freetype2
Type    : arbitrary code execution
Remote  : Yes
Link    : https://security.archlinux.org/AVG-1254

Summary
=======

The package freetype2 before version 2.10.4-1 is vulnerable to
arbitrary code execution.

Resolution
==========

Upgrade to 2.10.4-1.

# pacman -Syu "freetype2>=2.10.4-1"

The problem has been fixed upstream in version 2.10.4.

Workaround
==========

None.

Description
===========

A heap buffer overflow has been found in freetype2 before 2.10.4.
Malformed TTF files with PNG sbit glyphs can cause a heap buffer
overflow in Load_SBit_Png as libpng uses the original 32-bit values,
which are saved in png_struct. If the original width and/or height are
greater than 65535, the allocated buffer won't be able to fit the
bitmap.

Impact
======

A remote user can serve malformed TTF files that can cause arbitrary
code execution on the affected host.

References
==========

http://git.savannah.nongnu.org/cgit/freetype/freetype2.git/commit/?id=a3bab162b2ae616074c8877a04556932998aeacd
https://savannah.nongnu.org/bugs/?59308
https://security.archlinux.org/CVE-2020-15999
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://lists.manjaro.org/pipermail/manjaro-security/attachments/20201021/d07954c3/attachment.sig>


More information about the manjaro-security mailing list