[Bug 1191078] CVE-2014-9656 freetype: integer underflow in the tt_sbit_decoder_load_image()

bugzilla at redhat.com bugzilla at redhat.com
Thu Feb 19 15:29:39 UTC 2015


https://bugzilla.redhat.com/show_bug.cgi?id=1191078

Tomas Hoger <thoger at redhat.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|medium                      |low
   Fixed In Version|                            |freetype 2.5.4
            Summary|CVE-2014-9656 freetype:     |CVE-2014-9656 freetype:
                   |integer overflow in the     |integer underflow in the
                   |tt_sbit_decoder_load_image  |tt_sbit_decoder_load_image(
                   |function in sfnt/ttsbit.c   |)
         Whiteboard|impact=moderate,public=2014 |impact=low,public=20141124,
                   |1124,reported=20150210,sour |reported=20150210,source=cv
                   |ce=cve,cvss2=3.7/AV:L/AC:H/ |e,cvss2=4.3/AV:N/AC:M/Au:N/
                   |Au:N/C:P/I:P/A:P,fedora-all |C:N/I:N/A:P,cwe=CWE-190->CW
                   |/freetype=affected,rhel-5/f |E-125,rhel-4/freetype=notaf
                   |reetype=new,rhel-6/freetype |fected,rhel-5/freetype=nota
                   |=new,rhel-7/freetype=new    |ffected,rhel-6/freetype=not
                   |                            |affected,rhel-7/freetype=no
                   |                            |taffected,rhev-m-3/mingw-vi
                   |                            |rt-viewer=notaffected,fedor
                   |                            |a-all/freetype=affected,fed
                   |                            |ora-all/mingw-freetype=affe
                   |                            |cted,epel-7/mingw-freetype=
                   |                            |affected
           Severity|medium                      |low



--- Comment #2 from Tomas Hoger <thoger at redhat.com> ---
Upstream bug is:

https://savannah.nongnu.org/bugs/?43680

Issue was fixed upstream in 2.5.4.

This is an integer underflow issue in an integer overflow check, which guards
against buffer over-read.  This can easily trigger crash.

The problem was introduced in the following commit:

http://git.savannah.gnu.org/cgit/freetype/freetype2.git/commit/?id=ba931be2

Additionally, prior to upstream version 2.5, affected code was only built and
used when FT_CONFIG_OPTION_OLD_INTERNALS macro was not defined.  It was defined
by default in upstream versions prior to 2.4.12:

http://git.savannah.gnu.org/cgit/freetype/freetype2.git/commit/?id=e4ecce3b

The freetype packages in Red Hat Enterprise Linux are based on older upstream
versions and do not override this upstream setting, i.e. they define
FT_CONFIG_OPTION_OLD_INTERNALS.  Therefore, they were not affected by this
issue, or the problem commit e4ecce3b attempted to address.

Statement:

This issue did not affect the versions of freetype as shipped with Red Hat
Enterprise Linux 5, 6, and 7.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
Unsubscribe from this bug https://bugzilla.redhat.com/token.cgi?t=Gq9NoPJjzH&a=cc_unsubscribe


More information about the fonts-bugs mailing list