Off-by-one error in the bmp_rle4_fread function in pngxrbmp.c in OptiPNG before 0.7.6 allows remote attackers to cause a denial of service (out-of-bounds read or write access and crash) or possibly execute arbitrary code via a crafted image 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://lists.opensuse.org/opensuse-updates/2016-04/msg00065.html | third party advisory vendor advisory |
http://www.debian.org/security/2016/dsa-3546 | third party advisory vendor advisory |
http://www.ubuntu.com/usn/USN-2951-1 | third party advisory vendor advisory |
http://lists.opensuse.org/opensuse-updates/2016-04/msg00061.html | third party advisory vendor advisory |
https://security.gentoo.org/glsa/201608-01 | vendor advisory |
http://bugs.fi/media/afl/optipng/2/ | issue tracking |
https://sourceforge.net/p/optipng/bugs/57/ | patch vendor advisory |