{"id":"MGASA-2015-0113","summary":"Updated libxfont package fixes security vulnerabilities","details":"The bdf parser reads a count for the number of properties defined in\na font from the font file, and allocates arrays with entries for each\nproperty based on that count.  It never checked to see if that count\nwas negative, or large enough to overflow when multiplied by the size\nof the structures being allocated, and could thus allocate the wrong\nbuffer size, leading to out of bounds writes (CVE-2015-1802).\n\nIf the bdf parser failed to parse the data for the bitmap for any\ncharacter, it would proceed with an invalid pointer to the bitmap\ndata and later crash when trying to read the bitmap from that pointer\n(CVE-2015-1803).\n\nThe bdf parser read metrics values as 32-bit integers, but stored\nthem into 16-bit integers.  Overflows could occur in various operations\nleading to out-of-bounds memory access (CVE-2015-1804).\n","modified":"2026-04-16T01:45:55.698124784Z","published":"2015-03-23T23:58:37Z","upstream":["CVE-2015-1802","CVE-2015-1803","CVE-2015-1804"],"references":[{"type":"ADVISORY","url":"https://advisories.mageia.org/MGASA-2015-0113.html"},{"type":"REPORT","url":"https://bugs.mageia.org/show_bug.cgi?id=15511"},{"type":"WEB","url":"http://lists.x.org/archives/xorg-announce/2015-March/002550.html"}],"affected":[{"package":{"name":"libxfont","ecosystem":"Mageia:4","purl":"pkg:rpm/mageia/libxfont?arch=source&distro=mageia-4"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.4.7-1.2.mga4"}]}],"ecosystem_specific":{"section":"core"},"database_specific":{"source":"https://advisories.mageia.org/MGASA-2015-0113.json"}}],"schema_version":"1.7.5","credits":[{"name":"Mageia","contact":["https://wiki.mageia.org/en/Packages_Security_Team"],"type":"COORDINATOR"}]}