The fnmatch function in the GNU C Library (aka glibc or libc6) before 2.22 might allow context-dependent attackers to cause a denial of service (application crash) via a malformed pattern, which triggers an out-of-bounds read.
https://www.sourceware.org/ml/libc-alpha/2015-08/msg00609.html
https://sourceware.org/git/gitweb.cgi?p=glibc.git%3Bh=4a28f4d55a6cc33474c0792fe93b5942d81bf185
https://sourceware.org/bugzilla/show_bug.cgi?id=18032
http://www.securityfocus.com/bid/72789