CVE-2016-4074
The jv_dump_term function in jq 1.5 allows remote attackers to cause a denial of service (stack...
CVE-2016-4074 is a high vulnerability (CVSS 7.5) in Jq Project Jq, published May 6, 2016. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 5.38%, the 92nd percentile. Fixed in jq 1.6_rc1-r0.
The jv_dump_term function in jq 1.5 allows remote attackers to cause a denial of service (stack consumption and application crash) via a crafted JSON file. This issue has been fixed in jq 1.6_rc1-r0.
Attack profile
How easy it is to exploit
- Attack vector
- Network
- Complexity
- Low
- Privileges needed
- None
- User interaction
- None
What an attacker can affect
- Confidentiality
- None
- Integrity
- None
- Availability
- High
Exploit likelihood
What each source reports
NVD Score used
7.5
The jv_dump_term function in jq 1.5 allows remote attackers to cause a denial of service (stack consumption and application crash) via a crafted JSON file. This issue has been fixed in jq 1.6_rc1-r0.
- Record
CVE-2016-4074- CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - CVSS 2.0
- 7.8 High
AV:N/AC:L/Au:N/C:N/I:N/A:C - Weakness
- CWE-770
- Updated
- 2026-11-02
CVE List No score
The jv_dump_term function in jq 1.5 allows remote attackers to cause a denial of service (stack consumption and application crash) via a crafted JSON file. This issue has been fixed in jq 1.6_rc1-r0.
- Record
CVE-2016-4074- Updated
- 2026-11-02
EUVDEUVD-2016-5075 No score
The jv_dump_term function in jq 1.5 allows remote attackers to cause a denial of service (stack consumption and application crash) via a crafted JSON file. This issue has been fixed in jq 1.6_rc1-r0.
- Record
EUVD-2016-5075- Updated
- 2026-11-03
GitHub AdvisoriesGHSA-63w9-2p7c-mwwp
7.5
The jv_dump_term function in jq 1.5 allows remote attackers to cause a denial of service (stack...
The jv_dump_term function in jq 1.5 allows remote attackers to cause a denial of service (stack consumption and application crash) via a crafted JSON file. This issue has been fixed in jq 1.6_rc1-r0.
- Record
GHSA-63w9-2p7c-mwwp- CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - Weakness
- CWE-770
- Updated
- 2026-11-02
OSVALPINE-CVE-2016-4074
7.5
The jv_dump_term function in jq 1.5 allows remote attackers to cause a denial of service (stack consumption and application crash) via a crafted JSON file. This issue has been fixed in jq 1.6_rc1-r0.
- Record
ALPINE-CVE-2016-4074- CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - Updated
- 2026-11-02
OSVAZL-6505
7.5
CVE-2016-4074 affecting package jq for versions less than 1.5-6
The jv_dump_term function in jq 1.5 allows remote attackers to cause a denial of service (stack consumption and application crash) via a crafted JSON file. This issue has been fixed in jq 1.6_rc1-r0.
- Record
AZL-6505- CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - Updated
- 2026-11-02
Show 10 moreShow less
OSVBELL-CVE-2016-4074
7.5
CVE-2016-4074 does not affect BellSoft software
- Record
BELL-CVE-2016-4074- CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - Updated
- 2026-11-02
OSV
7.5
The jv_dump_term function in jq 1.5 allows remote attackers to cause a denial of service (stack consumption and application crash) via a crafted JSON file. This issue has been fixed in jq 1.6_rc1-r0.
- Record
CVE-2016-4074- CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - Updated
- 2026-11-02
OSVDEBIAN-CVE-2016-4074
7.5
The jv_dump_term function in jq 1.5 allows remote attackers to cause a denial of service (stack consumption and application crash) via a crafted JSON file. This issue has been fixed in jq 1.6_rc1-r0.
- Record
DEBIAN-CVE-2016-4074- CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - Updated
- 2026-11-02
OSVUBUNTU-CVE-2016-4074
7.5
The jv_dump_term function in jq 1.5 allows remote attackers to cause a denial of service (stack consumption and application crash) via a crafted JSON file. This issue has been fixed in jq 1.6_rc1-r0.
- Record
UBUNTU-CVE-2016-4074- CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - CVSS 3.0
- 7.5 High
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - Updated
- 2026-11-02
OSVMGASA-2017-0415 No score
Updated jq packages fix security vulnerabilities
A heap-based buffer overflow flaw was found in jq's tokenadd() function. By tricking a victim into processing a specially crafted JSON file, an attacker could use this flaw to crash jq or, potentially, execute arbitrary code on the victim's system (CVE-2015-8863).
Stack exhaustion could affect availability when parsing untrusted input (CVE-2016-4074).
- Record
MGASA-2017-0415- Updated
- 2026-11-02
OSVopenSUSE-SU-2017:2833-1 No score
Security update for jq
This update for jq fixes the following minor security issue:
- CVE-2016-4074: stack exhaustion could affect availability when parsing untrusted imput (bsc#1014176)
The following tracked packaging changes are included:
- Update tests dependencies to increase test coverage (bsc#1017157)
This update was imported from the SUSE:SLE-12:Update update project.
- Record
openSUSE-SU-2017:2833-1- Updated
- 2026-11-02
OSVopenSUSE-SU-2017:2834-1 No score
Security update for jq
This update for jq fixes the following minor security issue:
- CVE-2016-4074: stack exhaustion could affect availability when parsing untrusted imput (bsc#1014176)
The following tracked packaging changes are included:
- Update tests dependencies to increase test coverage (bsc#1017157)
This update was imported from the SUSE:SLE-12:Update update project.
- Record
openSUSE-SU-2017:2834-1- Updated
- 2026-11-02
OSVopenSUSE-SU-2024:10881-1 No score
jq-1.6-2.9 on GA media
These are all security issues fixed in the jq-1.6-2.9 package on the GA media of openSUSE Tumbleweed.
- Record
openSUSE-SU-2024:10881-1- Updated
- 2026-11-02
OSVSUSE-SU-2017:2950-1 No score
Security update for jq
This update for jq fixes the following issues:
Security issues fixed:
- CVE-2016-4074: The jv_dump_term function in jq allowed remote attackers to cause a denial of service (stack consumption and application crash) via a crafted JSON file. (bsc#1014176)
Non-security issues fixed:
- Update tests dependencies to increase test coverage. (bsc#1017157)
- Do not run tests in qemu builds, valgrind does not work reliably in such conditions.
- Record
SUSE-SU-2017:2950-1- Updated
- 2026-11-02
OSVUSN-4787-1 No score
jq vulnerability
It was discovered that jq did not perform sufficient bounds checking, resulting in unbounded resource consumption. An attacker could use this vulnerability to cause a denial of service.
- Record
USN-4787-1- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
jqAlpine:v3.10 |
before 1.6_rc1-r0 | 1.6_rc1-r0 |
jqAlpine:v3.11 |
before 1.6_rc1-r0 | 1.6_rc1-r0 |
jqAlpine:v3.12 |
before 1.6_rc1-r0 | 1.6_rc1-r0 |
jqAlpine:v3.13 |
before 1.6_rc1-r0 | 1.6_rc1-r0 |
jqAlpine:v3.14 |
before 1.6_rc1-r0 | 1.6_rc1-r0 |
jqAlpine:v3.15 |
before 1.6_rc1-r0 | 1.6_rc1-r0 |
jqAlpine:v3.16 |
before 1.6_rc1-r0 | 1.6_rc1-r0 |
jqAlpine:v3.17 |
before 1.6_rc1-r0 | 1.6_rc1-r0 |
jqAlpine:v3.18 |
before 1.6_rc1-r0 | 1.6_rc1-r0 |
jqAlpine:v3.19 |
before 1.6_rc1-r0 | 1.6_rc1-r0 |
Show 21 moreShow less
| Package | Affected | Fixed |
|---|---|---|
jqAlpine:v3.20 |
before 1.6_rc1-r0 | 1.6_rc1-r0 |
jqAlpine:v3.21 |
before 1.6_rc1-r0 | 1.6_rc1-r0 |
jqAlpine:v3.22 |
before 1.6_rc1-r0 | 1.6_rc1-r0 |
jqAlpine:v3.23 |
before 1.6_rc1-r0 | 1.6_rc1-r0 |
jqAlpine:v3.24 |
before 1.6_rc1-r0 | 1.6_rc1-r0 |
jqAlpine:v3.4 |
before 1.5-r2 | 1.5-r2 |
jqAlpine:v3.5 |
before 1.5-r4 | 1.5-r4 |
jqAlpine:v3.6 |
before 1.5-r4 | 1.5-r4 |
jqAlpine:v3.7 |
before 1.5-r5 | 1.5-r5 |
jqAlpine:v3.8 |
before 1.6_rc1-r0 | 1.6_rc1-r0 |
jqAlpine:v3.9 |
before 1.6_rc1-r0 | 1.6_rc1-r0 |
jqAzure Linux:2 |
before 1.5-6 | 1.5-6 |
jqDebian:12 |
before 1.5+dfsg-1.1 | 1.5+dfsg-1.1 |
jqDebian:13 |
before 1.5+dfsg-1.1 | 1.5+dfsg-1.1 |
jqDebian:14 |
before 1.5+dfsg-1.1 | 1.5+dfsg-1.1 |
jqMageia:6 |
before 1.5-1.1.mga6 | 1.5-1.1.mga6 |
jqSUSE:Enterprise Storage 4 |
before 1.5-3.5.7 | 1.5-3.5.7 |
jqUbuntu:Pro:14.04:LTS |
before 1.3-1.1ubuntu1.1+esm3, plus listed versions 1.2-81.3-11.3-1.1ubuntu11.3-1.1ubuntu1.1 |
1.3-1.1ubuntu1.1+esm3 |
jqUbuntu:Pro:16.04:LTS |
before 1.5+dfsg-1ubuntu0.1+esm2, plus listed versions 1.4-2.11.5+dfsg-11.5+dfsg-1ubuntu0.1 |
1.5+dfsg-1ubuntu0.1+esm2 |
jqSUSE:Package Hub 12 SP1 |
before 1.5-5.1 | 1.5-5.1 |
jqopenSUSE:Tumbleweed |
before 1.6-2.9 | 1.6-2.9 |
History
| When | Changed | Sources |
|---|---|---|
| 2026-11-03 | aliases | EUVD |
| 2026-11-02 | created | CVE List, GitHub Advisories, NVD, OSV |
References
openwall.com/lists/oss-security/2016/04/24/4
github.com/stedolan/jq/issues/1136
openwall.com/lists/oss-security/2016/04/24/3
github.com/stedolan/jq
github.com/NixOS/nixpkgs/pull/18908
github.com/hashicorp/consul/issues/10263
Show 16 moreShow less
nvd.nist.gov/vuln/detail/CVE-2016-4074
github.com/advisories/GHSA-63w9-2p7c-mwwp
security.alpinelinux.org/vuln/CVE-2016-4074
docs.bell-sw.com/security/cves/CVE-2016-4074
security-tracker.debian.org/tracker/CVE-2016-4074
advisories.mageia.org/MGASA-2017-0415.html
bugs.mageia.org/show_bug.cgi?id=21923
lists.opensuse.org/opensuse-updates/2017-10/msg00083.html
suse.com/support/update/announcement/2017/suse-su-20172950-1
bugzilla.suse.com/1014176
bugzilla.suse.com/1017157
suse.com/security/cve/CVE-2016-4074
ubuntu.com/security/CVE-2016-4074
github.com/stedolan/jq/commit/83e2cf607f3599d208b6b3129092fa7deb2e5292
cve.org/CVERecord?id=CVE-2016-4074
ubuntu.com/security/notices/USN-4787-1