Off-by-one error in the tokenadd function in jv_parse.c in jq allows remote attackers to cause a denial of service (crash) via a long JSON-encoded number, which triggers a heap-based buffer overflow.
https://security.gentoo.org/glsa/201612-20
https://github.com/stedolan/jq/issues/995
https://github.com/stedolan/jq/commit/8eb1367ca44e772963e704a700ef72ae2e12babd
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=802231
http://www.openwall.com/lists/oss-security/2016/04/23/2
http://www.openwall.com/lists/oss-security/2016/04/23/1
http://rhn.redhat.com/errata/RHSA-2016-1106.html
http://rhn.redhat.com/errata/RHSA-2016-1099.html
http://rhn.redhat.com/errata/RHSA-2016-1098.html
http://lists.opensuse.org/opensuse-updates/2016-05/msg00014.html
http://lists.opensuse.org/opensuse-updates/2016-05/msg00012.html