Buffer overflow in Jq Project
CVE-2015-8863
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.
Vulnerability class: Buffer Overflow
Published · last modified .
CVSS v3 metric
CVSS v3 base score 9.8 (Critical). Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H.
EPSS exploit prediction
EPSS 0.073, 94.5th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Jq Project
- openSUSE Leap — versions 42.1
- openSUSE — versions 13.2
Weakness classification (CWE)
Public exploits and proof-of-concept code
Also mentioned in 2 other repositories (andir/nixos-issue-db-example, mrash/afl-cve). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- RHSA-2016:1106 (vendor-advisory)
- RHSA-2016:1099 (vendor-advisory)
- [oss-security] 20160423 Re: CVE Request: jq: heap buffer overflow in tokenadd() function (mailing-list)
- openSUSE-SU-2016:1212 (vendor-advisory)
- RHSA-2016:1098 (vendor-advisory)
- bugs.debian.org/cgi-bin/bugreport.cgi
- github.com/stedolan/jq/commit/8eb1367ca44e772963e704a700ef72ae2e12babd (Patch)
- github.com/stedolan/jq/issues/995
- [oss-security] 20160423 CVE Request: jq: heap buffer overflow in tokenadd() function (mailing-list)
- openSUSE-SU-2016:1214 (vendor-advisory)