Vulnerabilities / CVE-2015-8863

critical

CVE-2015-8863

jq: heap-buffer-overflow in tokenadd() function

Published Modified CWE 119
In the Trivy database since at least 24 Oct 2026, 07:11 UTCWhen it arrived before that build is not recorded.

Severity by source

NVD9.8CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Red Hat4.4AV:L/AC:M/Au:N/C:P/I:P/A:P

Trivy's own label is CRITICAL. Rated critical by NVD, CBL-Mariner, Photon OS. Rated lower by Red Hat (medium), Amazon (medium), Ubuntu (medium).

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.

Affected packages and fixed versions

SourcePackageFixed in
CBL-Mariner 1.0jq0:1.5-6.cm1
CBL-Mariner 2.0jq0:1.5-6.cm2
Photon OS 2.0jq1.5-3.ph2
Photon OS 3.0jq1.5-4.ph3
amazon linux 1jq, jq-debuginfo, jq-devel and 1 more1.5-1.2.amzn1
debian 11jq1.5+dfsg-1.1
debian 12jq1.5+dfsg-1.1
debian 13jq1.5+dfsg-1.1
debian 14jq1.5+dfsg-1.1
debian 8jq1.4-2.1+deb8u1
echojq1.5+dfsg-1.1
root.io debian 12rootio-jq1.5+dfsg-1.1
Show all 19 entries from 16 sources
SourcePackageFixed in
CBL-Mariner 1.0jq0:1.5-6.cm1
CBL-Mariner 2.0jq0:1.5-6.cm2
Photon OS 2.0jq1.5-3.ph2
Photon OS 3.0jq1.5-4.ph3
amazon linux 1jq1.5-1.2.amzn1
amazon linux 1jq-debuginfo1.5-1.2.amzn1
amazon linux 1jq-devel1.5-1.2.amzn1
amazon linux 1jq-libs1.5-1.2.amzn1
debian 11jq1.5+dfsg-1.1
debian 12jq1.5+dfsg-1.1
debian 13jq1.5+dfsg-1.1
debian 14jq1.5+dfsg-1.1
debian 8jq1.4-2.1+deb8u1
echojq1.5+dfsg-1.1
root.io debian 12rootio-jq1.5+dfsg-1.1
ubuntu 14.04jq1.3-1.1ubuntu1.1
ubuntu 14.04-ESMjq1.3-1.1ubuntu1.1
ubuntu 16.04jq1.5+dfsg-1ubuntu0.1
ubuntu 16.04-ESMjq1.5+dfsg-1ubuntu0.1

References

All 14 references

Vulnerability data compiled from the Trivy vulnerability database (trivy-db, Aqua Security, Apache License 2.0), which aggregates third-party advisories. CVE records are published by The MITRE Corporation under the CVE Terms of Use; CVE is a trademark of MITRE. This product uses data from the NVD API but is not endorsed or certified by the NVD. Severity, titles and advisory data from the GitHub Advisory Database (CC BY 4.0), Red Hat security data (CC BY 4.0) and the other sources linked on each entry. Entries may be summarised or re-formatted; the linked original is the authoritative record.