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.
02 Description
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.
03 Exploitation and scoring
- Exploitation
- Not assessed. CISA has not published an exploitation assessment for this record, and it is not in the KEV catalog. That is an absence of assessment, not a finding of no risk.
- SSVC decision
- Not assessed by CISA
- EPSS probability
- 7.26% probability of exploitation activity in the next 30 days.
- EPSS percentile
- Equal to or higher than the score of 94.0% of scored records. A rank, not a probability.
- NVD base score
- 9.8 (CVSS v3.x), scored by the NVD independently of the CNA.
- NVD CVSS vector
- CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- NVD analysis status
- Modified. NVD last modified this record on 2026-06-17.
- Red Hat severity
- Moderate. Red Hat's rating for its own products, not a CVSS rating.
Exploit-prediction scores from FIRST. Independent scoring and analysis status from the NVD. Vendor severity from Red Hat. Exploitation assessment and catalog membership from CISA.
04 Metadata
- Published
- 2016-05-06 17:00Z10 YR AGO
- Last updated
- 2024-08-06 08:29Z2 YR AGO
- Reserved
- 2016-04-23
- Assigning CNA
- debian
- Record state
- PUBLISHED
- Severity
- Not rated by the issuing CNA
- CNA CVSS vector
- Not published by the issuing CNA
- Weaknesses
- Data version
- 5.1
- Document digest
- c1f0d85102fbc21657ade794cf0848bfc788056d3bffcfbd706c007a58164733
05 Affected products
06 References
- rhn.redhat.comRHSA-2016:1106http://rhn.redhat.com/errata/RHSA-2016-1106.html
- rhn.redhat.comRHSA-2016:1099http://rhn.redhat.com/errata/RHSA-2016-1099.html
- www.openwall.com[oss-security] 20160423 Re: CVE Request: jq: heap buffer overflow in tokenadd() functionhttp://www.openwall.com/lists/oss-security/2016/04/23/2
- lists.opensuse.orgopenSUSE-SU-2016:1212http://lists.opensuse.org/opensuse-updates/2016-05/msg00012.html
- rhn.redhat.comRHSA-2016:1098http://rhn.redhat.com/errata/RHSA-2016-1098.html
- bugs.debian.orghttps://bugs.debian.org/cgi-bin/bugreport.cgi?bug=802231
- github.comhttps://github.com/stedolan/jq/commit/8eb1367ca44e772963e704a700ef72ae2e12babd
- github.comhttps://github.com/stedolan/jq/issues/995
- www.openwall.com[oss-security] 20160423 CVE Request: jq: heap buffer overflow in tokenadd() functionhttp://www.openwall.com/lists/oss-security/2016/04/23/1
- lists.opensuse.orgopenSUSE-SU-2016:1214http://lists.opensuse.org/opensuse-updates/2016-05/msg00014.html
- security.gentoo.orgGLSA-201612-20https://security.gentoo.org/glsa/201612-20
07 Fixed in
Debian 12
- jq Fixed in 1.5+dfsg-1.1
Source: Debian Security Tracker, the Debian security team. Received through OSV.dev. Reformatted by exploit.cc.
Debian 13
- jq Fixed in 1.5+dfsg-1.1
Source: Debian Security Tracker, the Debian security team. Received through OSV.dev. Reformatted by exploit.cc.
Debian 14
- jq Fixed in 1.5+dfsg-1.1
Source: Debian Security Tracker, the Debian security team. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu 14.04 LTS
- jq Fixed in 1.3-1.1ubuntu1.1
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu 16.04 LTS
- jq Fixed in 1.5+dfsg-1ubuntu0.1
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
A release or ecosystem missing from this list has no record here. It may be unaffected or not covered by the source. Source notices and licences.