{"id":"MGASA-2015-0083","summary":"Updated freetype2 packages fix security vulnerabilities","details":"Updated freetype2 packages fix security vulnerabilities:\n\nThe tt_sbit_decoder_load_image function in sfnt/ttsbit.c in FreeType before\n2.5.4 does not properly check for an integer overflow, which allows remote\nattackers to cause a denial of service (out-of-bounds read) or possibly have\nunspecified other impact via a crafted OpenType font (CVE-2014-9656).\n\nThe tt_face_load_hdmx function in truetype/ttpload.c in FreeType before 2.5.4\ndoes not establish a minimum record size, which allows remote attackers to cause\na denial of service (out-of-bounds read) or possibly have unspecified other\nimpact via a crafted TrueType font (CVE-2014-9657).\n\nThe tt_face_load_kern function in sfnt/ttkern.c in FreeType before 2.5.4\nenforces an incorrect minimum table length, which allows remote attackers to\ncause a denial of service (out-of-bounds read) or possibly have unspecified\nother impact via a crafted TrueType font (CVE-2014-9658).\n\nThe _bdf_parse_glyphs function in bdf/bdflib.c in FreeType before 2.5.4 does not\nproperly handle a missing ENDCHAR record, which allows remote attackers to cause\na denial of service (NULL pointer dereference) or possibly have unspecified\nother impact via a crafted BDF font (CVE-2014-9660).\n\ntype42/t42parse.c in FreeType before 2.5.4 does not consider that scanning can\nbe incomplete without triggering an error, which allows remote attackers to\ncause a denial of service (use-after-free) or possibly have unspecified other\nimpact via a crafted Type42 font (CVE-2014-9661).\n\ncff/cf2ft.c in FreeType before 2.5.4 does not validate the return values of\npoint-allocation functions, which allows remote attackers to cause a denial of\nservice (heap-based buffer overflow) or possibly have unspecified other impact\nvia a crafted OTF font (CVE-2014-9662).\n\nThe tt_cmap4_validate function in sfnt/ttcmap.c in FreeType before 2.5.4\nvalidates a certain length field before that field's value is completely\ncalculated, which allows remote attackers to cause a denial of service\n(out-of-bounds read) or possibly have unspecified other impact via a crafted\ncmap SFNT table (CVE-2014-9663).\n\nFreeType before 2.5.4 does not check for the end of the data during certain\nparsing actions, which allows remote attackers to cause a denial of service\n(out-of-bounds read) or possibly have unspecified other impact via a crafted\nType42 font, related to type42/t42parse.c and type1/t1load.c (CVE-2014-9664).\n\nThe tt_sbit_decoder_init function in sfnt/ttsbit.c in FreeType before 2.5.4\nproceeds with a count-to-size association without restricting the count value,\nwhich allows remote attackers to cause a denial of service (integer overflow and\nout-of-bounds read) or possibly have unspecified other impact via a crafted\nembedded bitmap (CVE-2014-9666).\n\nsfnt/ttload.c in FreeType before 2.5.4 proceeds with offset+length calculations\nwithout restricting the values, which allows remote attackers to cause a denial\nof service (integer overflow and out-of-bounds read) or possibly have\nunspecified other impact via a crafted SFNT table (CVE-2014-9667).\n\nMultiple integer overflows in sfnt/ttcmap.c in FreeType before 2.5.4 allow\nremote attackers to cause a denial of service (out-of-bounds read or memory\ncorruption) or possibly have unspecified other impact via a crafted cmap SFNT\ntable (CVE-2014-9669).\n\nMultiple integer signedness errors in the pcf_get_encodings function in\npcf/pcfread.c in FreeType before 2.5.4 allow remote attackers to cause a denial\nof service (integer overflow, NULL pointer dereference, and application crash)\nvia a crafted PCF file that specifies negative values for the first column and\nfirst row (CVE-2014-9670).\n\nOff-by-one error in the pcf_get_properties function in pcf/pcfread.c in FreeType\nbefore 2.5.4 allows remote attackers to cause a denial of service (NULL pointer\ndereference and application crash) via a crafted PCF file with a 0xffffffff size\nvalue that is improperly incremented (CVE-2014-9671).\n\nArray index error in the parse_fond function in base/ftmac.c in FreeType before\n2.5.4 allows remote attackers to cause a denial of service (out-of-bounds read)\nor obtain sensitive information from process memory via a crafted FOND resource\nin a Mac font file (CVE-2014-9672).\n\nInteger signedness error in the Mac_Read_POST_Resource function in base/ftobjs.c\nin FreeType before 2.5.4 allows remote attackers to cause a denial of service\n(heap-based buffer overflow) or possibly have unspecified other impact via a\ncrafted Mac font (CVE-2014-9673).\n\nThe Mac_Read_POST_Resource function in base/ftobjs.c in FreeType before 2.5.4\nproceeds with adding to length values without validating the original values,\nwhich allows remote attackers to cause a denial of service (integer overflow and\nheap-based buffer overflow) or possibly have unspecified other impact via a\ncrafted Mac font (CVE-2014-9674).\n\nbdf/bdflib.c in FreeType before 2.5.4 identifies property names by only\nverifying that an initial substring is present, which allows remote attackers to\ndiscover heap pointer values and bypass the ASLR protection mechanism via a\ncrafted BDF font (CVE-2014-9675).\n","modified":"2026-04-16T01:45:54.066505599Z","published":"2015-02-24T21:20:13Z","upstream":["CVE-2014-9656","CVE-2014-9657","CVE-2014-9658","CVE-2014-9660","CVE-2014-9661","CVE-2014-9662","CVE-2014-9663","CVE-2014-9664","CVE-2014-9666","CVE-2014-9667","CVE-2014-9669","CVE-2014-9670","CVE-2014-9671","CVE-2014-9672","CVE-2014-9673","CVE-2014-9674","CVE-2014-9675"],"references":[{"type":"ADVISORY","url":"https://advisories.mageia.org/MGASA-2015-0083.html"},{"type":"REPORT","url":"https://bugs.mageia.org/show_bug.cgi?id=15332"},{"type":"REPORT","url":"https://bugzilla.redhat.com/show_bug.cgi?id=1191095"},{"type":"REPORT","url":"https://bugzilla.redhat.com/show_bug.cgi?id=1191096"},{"type":"WEB","url":"https://lists.fedoraproject.org/pipermail/package-announce/2015-February/150162.html"}],"affected":[{"package":{"name":"freetype2","ecosystem":"Mageia:4","purl":"pkg:rpm/mageia/freetype2?arch=source&distro=mageia-4"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.5.0.1-3.3.mga4"}]}],"ecosystem_specific":{"section":"core"},"database_specific":{"source":"https://advisories.mageia.org/MGASA-2015-0083.json"}},{"package":{"name":"freetype2","ecosystem":"Mageia:4","purl":"pkg:rpm/mageia/freetype2?arch=source&distro=mageia-4"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.5.0.1-3.3.mga4.tainted"}]}],"ecosystem_specific":{"section":"tainted"},"database_specific":{"source":"https://advisories.mageia.org/MGASA-2015-0083.json"}}],"schema_version":"1.7.5","credits":[{"name":"Mageia","contact":["https://wiki.mageia.org/en/Packages_Security_Team"],"type":"COORDINATOR"}]}