Integer overflow in the _IO_wstr_overflow function in libio/wstrops.c in the GNU C Library (aka glibc or libc6) before 2.22 allows context-dependent attackers to cause a denial of service (application crash) or possibly execute arbitrary code via vectors related to computing a size in bytes, which triggers a heap-based buffer overflow.
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/02/14/9 | patch mailing list third party advisory |
https://sourceware.org/bugzilla/show_bug.cgi?id=17269 | patch issue tracking |
https://www.sourceware.org/ml/libc-alpha/2015-08/msg00609.html | third party advisory mailing list |
https://sourceware.org/git/gitweb.cgi?p=glibc.git%3Bh=bdf1ff052a8e23d637f2c838fa5642d78fcedc33 | |
http://www.securityfocus.com/bid/72740 | third party advisory vdb entry |