Integer overflow in gd_io.c in the GD Graphics Library (aka libgd) before 2.2.4 allows remote attackers to have unspecified impact via vectors involving the number of horizontal and vertical chunks in an image.
The product performs a calculation that can produce an integer overflow or wraparound when the logic assumes that the resulting value will always be larger than the original value. This occurs when an integer value is incremented to a value that is too large to store in the associated representation. When this occurs, the value may become a very small or negative number.
Link | Tags |
---|---|
http://www.openwall.com/lists/oss-security/2017/01/26/1 | mailing list third party advisory patch |
http://www.openwall.com/lists/oss-security/2017/01/28/6 | mailing list third party advisory patch |
https://access.redhat.com/errata/RHSA-2018:1296 | vendor advisory |
https://github.com/libgd/libgd/commit/69d2fd2c597ffc0c217de1238b9bf4d4bceba8e6 | issue tracking third party advisory patch |
http://libgd.github.io/release-2.2.4.html | vendor advisory |
https://github.com/libgd/libgd/issues/354 | issue tracking third party advisory patch |
http://www.debian.org/security/2017/dsa-3777 | vendor advisory |
http://www.securityfocus.com/bid/95869 | vdb entry third party advisory |
http://www.securitytracker.com/id/1037659 | vdb entry |
https://access.redhat.com/errata/RHSA-2017:3221 | vendor advisory |