{"api_version":"1","generated_at":"2026-07-23T11:30:09+00:00","cve":"CVE-2015-8863","urls":{"html":"https://cve.report/CVE-2015-8863","api":"https://cve.report/api/cve/CVE-2015-8863.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2015-8863","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2015-8863"},"summary":{"title":"CVE-2015-8863","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.","state":"PUBLISHED","assigner":"debian","published_at":"2016-05-06 17:59:03","updated_at":"2026-05-06 22:30:45"},"problem_types":["CWE-119","n/a"],"metrics":[{"version":"3.0","source":"nvd@nist.gov","type":"Primary","score":"9.8","severity":"CRITICAL","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","data":{"version":"3.0","vectorString":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","baseScore":9.8,"baseSeverity":"CRITICAL","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH"}},{"version":"2.0","source":"nvd@nist.gov","type":"Primary","score":"10","severity":"","vector":"AV:N/AC:L/Au:N/C:C/I:C/A:C","data":{"version":"2.0","vectorString":"AV:N/AC:L/Au:N/C:C/I:C/A:C","baseScore":10,"accessVector":"NETWORK","accessComplexity":"LOW","authentication":"NONE","confidentialityImpact":"COMPLETE","integrityImpact":"COMPLETE","availabilityImpact":"COMPLETE"}}],"references":[{"url":"https://github.com/stedolan/jq/commit/8eb1367ca44e772963e704a700ef72ae2e12babd","name":"https://github.com/stedolan/jq/commit/8eb1367ca44e772963e704a700ef72ae2e12babd","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":["Patch"],"title":"Heap buffer overflow in tokenadd() (fix #105) · stedolan/jq@8eb1367 · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://rhn.redhat.com/errata/RHSA-2016-1106.html","name":"http://rhn.redhat.com/errata/RHSA-2016-1106.html","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":[],"title":"Red Hat Customer Portal","mime":"text/html","httpstatus":"-1","archivestatus":"200"},{"url":"https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=802231","name":"https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=802231","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":[],"title":"#802231 - jq: CVE-2015-8863: Heap buffer overflow in tokenadd() - Debian Bug report logs","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://github.com/stedolan/jq/issues/995","name":"https://github.com/stedolan/jq/issues/995","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":[],"title":"Heap-based buffer overflow in check_literal() · Issue #995 · stedolan/jq · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://lists.opensuse.org/opensuse-updates/2016-05/msg00012.html","name":"http://lists.opensuse.org/opensuse-updates/2016-05/msg00012.html","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":[],"title":"openSUSE-SU-2016:1212-1: moderate: Security update for jq","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://www.openwall.com/lists/oss-security/2016/04/23/2","name":"http://www.openwall.com/lists/oss-security/2016/04/23/2","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":[],"title":"oss-security - Re: CVE Request: jq: heap buffer overflow in tokenadd() function","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://rhn.redhat.com/errata/RHSA-2016-1098.html","name":"http://rhn.redhat.com/errata/RHSA-2016-1098.html","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":[],"title":"Red Hat Customer Portal","mime":"text/html","httpstatus":"-1","archivestatus":"200"},{"url":"http://www.openwall.com/lists/oss-security/2016/04/23/1","name":"http://www.openwall.com/lists/oss-security/2016/04/23/1","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":[],"title":"oss-security - CVE Request: jq: heap buffer overflow in tokenadd() function","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://lists.opensuse.org/opensuse-updates/2016-05/msg00014.html","name":"http://lists.opensuse.org/opensuse-updates/2016-05/msg00014.html","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":[],"title":"openSUSE-SU-2016:1214-1: moderate: Security update for jq","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://rhn.redhat.com/errata/RHSA-2016-1099.html","name":"http://rhn.redhat.com/errata/RHSA-2016-1099.html","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":[],"title":"Red Hat Customer Portal","mime":"text/html","httpstatus":"-1","archivestatus":"200"},{"url":"https://security.gentoo.org/glsa/201612-20","name":"https://security.gentoo.org/glsa/201612-20","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":[],"title":"jq: Buffer overflow (GLSA 201612-20) — Gentoo security","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://www.cve.org/CVERecord?id=CVE-2015-8863","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2015-8863","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"n/a","product":"n/a","version":"affected n/a","platforms":[]}],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[{"cve_year":"2015","cve_id":"8863","vulnerable":"1","versionEndIncluding":"1.5","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"jq_project","cpe5":"jq","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2015","cve_id":"8863","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"o","cpe4":"opensuse","cpe5":"leap","cpe6":"42.1","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2015","cve_id":"8863","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"o","cpe4":"opensuse","cpe5":"opensuse","cpe6":"13.2","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"}],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[{"cve":"CVE-2015-8863","qid":"900007","title":"CBL-Mariner Linux Security Update for jq 1.5"},{"cve":"CVE-2015-8863","qid":"901427","title":"Common Base Linux Mariner (CBL-Mariner) Security Update for jq (6504-1)"},{"cve":"CVE-2015-8863","qid":"902929","title":"Common Base Linux Mariner (CBL-Mariner) Security Update for jq (1972)"}]},"source_records":{"cve_program":{"containers":{"adp":[{"providerMetadata":{"dateUpdated":"2024-08-06T08:29:22.090Z","orgId":"af854a3a-2127-422b-91ae-364da2661108","shortName":"CVE"},"references":[{"name":"RHSA-2016:1106","tags":["vendor-advisory","x_refsource_REDHAT","x_transferred"],"url":"http://rhn.redhat.com/errata/RHSA-2016-1106.html"},{"name":"RHSA-2016:1099","tags":["vendor-advisory","x_refsource_REDHAT","x_transferred"],"url":"http://rhn.redhat.com/errata/RHSA-2016-1099.html"},{"name":"[oss-security] 20160423 Re: CVE Request: jq: heap buffer overflow in tokenadd() function","tags":["mailing-list","x_refsource_MLIST","x_transferred"],"url":"http://www.openwall.com/lists/oss-security/2016/04/23/2"},{"name":"openSUSE-SU-2016:1212","tags":["vendor-advisory","x_refsource_SUSE","x_transferred"],"url":"http://lists.opensuse.org/opensuse-updates/2016-05/msg00012.html"},{"name":"RHSA-2016:1098","tags":["vendor-advisory","x_refsource_REDHAT","x_transferred"],"url":"http://rhn.redhat.com/errata/RHSA-2016-1098.html"},{"tags":["x_refsource_CONFIRM","x_transferred"],"url":"https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=802231"},{"tags":["x_refsource_CONFIRM","x_transferred"],"url":"https://github.com/stedolan/jq/commit/8eb1367ca44e772963e704a700ef72ae2e12babd"},{"tags":["x_refsource_CONFIRM","x_transferred"],"url":"https://github.com/stedolan/jq/issues/995"},{"name":"[oss-security] 20160423 CVE Request: jq: heap buffer overflow in tokenadd() function","tags":["mailing-list","x_refsource_MLIST","x_transferred"],"url":"http://www.openwall.com/lists/oss-security/2016/04/23/1"},{"name":"openSUSE-SU-2016:1214","tags":["vendor-advisory","x_refsource_SUSE","x_transferred"],"url":"http://lists.opensuse.org/opensuse-updates/2016-05/msg00014.html"},{"name":"GLSA-201612-20","tags":["vendor-advisory","x_refsource_GENTOO","x_transferred"],"url":"https://security.gentoo.org/glsa/201612-20"}],"title":"CVE Program Container"}],"cna":{"affected":[{"product":"n/a","vendor":"n/a","versions":[{"status":"affected","version":"n/a"}]}],"datePublic":"2016-04-23T00:00:00.000Z","descriptions":[{"lang":"en","value":"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."}],"problemTypes":[{"descriptions":[{"description":"n/a","lang":"en","type":"text"}]}],"providerMetadata":{"dateUpdated":"2017-06-30T16:57:01.000Z","orgId":"79363d38-fa19-49d1-9214-5f28da3f3ac5","shortName":"debian"},"references":[{"name":"RHSA-2016:1106","tags":["vendor-advisory","x_refsource_REDHAT"],"url":"http://rhn.redhat.com/errata/RHSA-2016-1106.html"},{"name":"RHSA-2016:1099","tags":["vendor-advisory","x_refsource_REDHAT"],"url":"http://rhn.redhat.com/errata/RHSA-2016-1099.html"},{"name":"[oss-security] 20160423 Re: CVE Request: jq: heap buffer overflow in tokenadd() function","tags":["mailing-list","x_refsource_MLIST"],"url":"http://www.openwall.com/lists/oss-security/2016/04/23/2"},{"name":"openSUSE-SU-2016:1212","tags":["vendor-advisory","x_refsource_SUSE"],"url":"http://lists.opensuse.org/opensuse-updates/2016-05/msg00012.html"},{"name":"RHSA-2016:1098","tags":["vendor-advisory","x_refsource_REDHAT"],"url":"http://rhn.redhat.com/errata/RHSA-2016-1098.html"},{"tags":["x_refsource_CONFIRM"],"url":"https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=802231"},{"tags":["x_refsource_CONFIRM"],"url":"https://github.com/stedolan/jq/commit/8eb1367ca44e772963e704a700ef72ae2e12babd"},{"tags":["x_refsource_CONFIRM"],"url":"https://github.com/stedolan/jq/issues/995"},{"name":"[oss-security] 20160423 CVE Request: jq: heap buffer overflow in tokenadd() function","tags":["mailing-list","x_refsource_MLIST"],"url":"http://www.openwall.com/lists/oss-security/2016/04/23/1"},{"name":"openSUSE-SU-2016:1214","tags":["vendor-advisory","x_refsource_SUSE"],"url":"http://lists.opensuse.org/opensuse-updates/2016-05/msg00014.html"},{"name":"GLSA-201612-20","tags":["vendor-advisory","x_refsource_GENTOO"],"url":"https://security.gentoo.org/glsa/201612-20"}],"x_legacyV4Record":{"CVE_data_meta":{"ASSIGNER":"security@debian.org","ID":"CVE-2015-8863","STATE":"PUBLIC"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"n/a","version":{"version_data":[{"version_value":"n/a"}]}}]},"vendor_name":"n/a"}]}},"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"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."}]},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"n/a"}]}]},"references":{"reference_data":[{"name":"RHSA-2016:1106","refsource":"REDHAT","url":"http://rhn.redhat.com/errata/RHSA-2016-1106.html"},{"name":"RHSA-2016:1099","refsource":"REDHAT","url":"http://rhn.redhat.com/errata/RHSA-2016-1099.html"},{"name":"[oss-security] 20160423 Re: CVE Request: jq: heap buffer overflow in tokenadd() function","refsource":"MLIST","url":"http://www.openwall.com/lists/oss-security/2016/04/23/2"},{"name":"openSUSE-SU-2016:1212","refsource":"SUSE","url":"http://lists.opensuse.org/opensuse-updates/2016-05/msg00012.html"},{"name":"RHSA-2016:1098","refsource":"REDHAT","url":"http://rhn.redhat.com/errata/RHSA-2016-1098.html"},{"name":"https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=802231","refsource":"CONFIRM","url":"https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=802231"},{"name":"https://github.com/stedolan/jq/commit/8eb1367ca44e772963e704a700ef72ae2e12babd","refsource":"CONFIRM","url":"https://github.com/stedolan/jq/commit/8eb1367ca44e772963e704a700ef72ae2e12babd"},{"name":"https://github.com/stedolan/jq/issues/995","refsource":"CONFIRM","url":"https://github.com/stedolan/jq/issues/995"},{"name":"[oss-security] 20160423 CVE Request: jq: heap buffer overflow in tokenadd() function","refsource":"MLIST","url":"http://www.openwall.com/lists/oss-security/2016/04/23/1"},{"name":"openSUSE-SU-2016:1214","refsource":"SUSE","url":"http://lists.opensuse.org/opensuse-updates/2016-05/msg00014.html"},{"name":"GLSA-201612-20","refsource":"GENTOO","url":"https://security.gentoo.org/glsa/201612-20"}]}}}},"cveMetadata":{"assignerOrgId":"79363d38-fa19-49d1-9214-5f28da3f3ac5","assignerShortName":"debian","cveId":"CVE-2015-8863","datePublished":"2016-05-06T17:00:00.000Z","dateReserved":"2016-04-23T00:00:00.000Z","dateUpdated":"2024-08-06T08:29:22.090Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.1"},"nvd":{"publishedDate":"2016-05-06 17:59:03","lastModifiedDate":"2026-05-06 22:30:45","problem_types":["CWE-119","n/a"],"metrics":{"cvssMetricV30":[{"source":"nvd@nist.gov","type":"Primary","cvssData":{"version":"3.0","vectorString":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","baseScore":9.8,"baseSeverity":"CRITICAL","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH"},"exploitabilityScore":3.9,"impactScore":5.9}],"cvssMetricV2":[{"source":"nvd@nist.gov","type":"Primary","cvssData":{"version":"2.0","vectorString":"AV:N/AC:L/Au:N/C:C/I:C/A:C","baseScore":10,"accessVector":"NETWORK","accessComplexity":"LOW","authentication":"NONE","confidentialityImpact":"COMPLETE","integrityImpact":"COMPLETE","availabilityImpact":"COMPLETE"},"baseSeverity":"HIGH","exploitabilityScore":10,"impactScore":10,"acInsufInfo":true,"obtainAllPrivilege":false,"obtainUserPrivilege":false,"obtainOtherPrivilege":false,"userInteractionRequired":false}]},"configurations":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:opensuse:leap:42.1:*:*:*:*:*:*:*","matchCriteriaId":"4863BE36-D16A-4D75-90D9-FD76DB5B48B7"},{"vulnerable":true,"criteria":"cpe:2.3:o:opensuse:opensuse:13.2:*:*:*:*:*:*:*","matchCriteriaId":"03117DF1-3BEC-4B8D-AD63-DBBDB2126081"}]}]},{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:a:jq_project:jq:*:*:*:*:*:*:*:*","versionEndIncluding":"1.5","matchCriteriaId":"CF54817B-2574-48EC-AB56-D080733E0C2D"}]}]}]},"legacy_mitre":{"record":{"CveYear":"2015","CveId":"8863","Ordinal":"1","Title":"CVE-2015-8863","CVE":"CVE-2015-8863","Year":"2015"},"notes":[{"CveYear":"2015","CveId":"8863","Ordinal":"1","NoteData":"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.","Type":"Description","Title":"CVE-2015-8863"},{"CveYear":"2015","CveId":"8863","Ordinal":"2","NoteData":"2016-05-06","Type":"Other","Title":"Published"},{"CveYear":"2015","CveId":"8863","Ordinal":"3","NoteData":"2017-06-30","Type":"Other","Title":"Modified"}]}}}