CVE-2015-8863

Summary

CVECVE-2015-8863
StatePUBLISHED
Assignerdebian
Source PriorityCVE Program / NVD first with legacy fallback
Published2016-05-06 17:59:03 UTC
Updated2026-05-06 22:30:45 UTC
DescriptionOff-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.

Risk And Classification

Primary CVSS: v3.0 9.8 CRITICAL from [email protected]

CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Problem Types: CWE-119 | n/a


VersionSourceTypeScoreSeverityVector
3.0[email protected]Primary9.8CRITICALCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
2.0[email protected]Primary10AV:N/AC:L/Au:N/C:C/I:C/A:C

CVSS v3.0 Breakdown

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

CVSS v2.0 Breakdown

Access Vector
Network
Access Complexity
Low
Authentication
None
Confidentiality
Complete
Integrity
Complete
Availability
Complete

AV:N/AC:L/Au:N/C:C/I:C/A:C

NVD Known Affected Configurations (CPE 2.3)

TypeVendorProductVersionUpdateEditionLanguage
Application Jq Project Jq All All All All
Operating System Opensuse Leap 42.1 All All All
Operating System Opensuse Opensuse 13.2 All All All

Vendor Declared Affected Products

SourceVendorProductVersionPlatforms
CNA Na N/a affected n/a Not specified

References

ReferenceSourceLinkTags
Heap buffer overflow in tokenadd() (fix #105) · stedolan/jq@8eb1367 · GitHub af854a3a-2127-422b-91ae-364da2661108 github.com Patch
Red Hat Customer Portal af854a3a-2127-422b-91ae-364da2661108 rhn.redhat.com
#802231 - jq: CVE-2015-8863: Heap buffer overflow in tokenadd() - Debian Bug report logs af854a3a-2127-422b-91ae-364da2661108 bugs.debian.org
Heap-based buffer overflow in check_literal() · Issue #995 · stedolan/jq · GitHub af854a3a-2127-422b-91ae-364da2661108 github.com
openSUSE-SU-2016:1212-1: moderate: Security update for jq af854a3a-2127-422b-91ae-364da2661108 lists.opensuse.org
oss-security - Re: CVE Request: jq: heap buffer overflow in tokenadd() function af854a3a-2127-422b-91ae-364da2661108 www.openwall.com
Red Hat Customer Portal af854a3a-2127-422b-91ae-364da2661108 rhn.redhat.com
oss-security - CVE Request: jq: heap buffer overflow in tokenadd() function af854a3a-2127-422b-91ae-364da2661108 www.openwall.com
openSUSE-SU-2016:1214-1: moderate: Security update for jq af854a3a-2127-422b-91ae-364da2661108 lists.opensuse.org
Red Hat Customer Portal af854a3a-2127-422b-91ae-364da2661108 rhn.redhat.com
jq: Buffer overflow (GLSA 201612-20) — Gentoo security af854a3a-2127-422b-91ae-364da2661108 security.gentoo.org
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

Legacy QID Mappings

  • 900007 CBL-Mariner Linux Security Update for jq 1.5
  • 901427 Common Base Linux Mariner (CBL-Mariner) Security Update for jq (6504-1)
  • 902929 Common Base Linux Mariner (CBL-Mariner) Security Update for jq (1972)

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report