Multiple integer overflows in libXpm before 3.5.12, when a program requests parsing XPM extensions on a 64-bit platform, allow remote attackers to cause a denial of service (out-of-bounds write) or execute arbitrary code via (1) the number of extensions or (2) their concatenated length in a crafted XPM file, which triggers a heap-based buffer overflow.
The product performs operations on a memory buffer, but it reads from or writes to a memory location outside the buffer's intended boundary. This may result in read or write operations on unexpected memory locations that could be linked to other variables, data structures, or internal program data.
Link | Tags |
---|---|
http://www.openwall.com/lists/oss-security/2017/01/25/7 | patch mailing list third party advisory |
https://lists.freedesktop.org/archives/xorg/2016-December/058537.html | patch mailing list third party advisory issue tracking |
http://www.openwall.com/lists/oss-security/2017/01/22/2 | patch mailing list third party advisory |
http://www.securityfocus.com/bid/95785 | third party advisory vdb entry |
https://cgit.freedesktop.org/xorg/lib/libXpm/commit/?id=d1167418f0fd02a27f617ec5afd6db053afbe185 | patch third party advisory issue tracking |
https://access.redhat.com/errata/RHSA-2017:1865 | vendor advisory |
http://www.debian.org/security/2017/dsa-3772 | vendor advisory |
https://security.gentoo.org/glsa/201701-72 | vendor advisory |