Out-of-bounds Read in Jqlang Jq
CVE-2026-39956
jq is a command-line JSON processor. In commits after 69785bf77f86e2ea1b4a20ca86775916889e91c9, the _strindices builtin in jq's src/builtin.c passes its arguments directly to jv_string_indexes() without verifying they are strings, and jv_s…
Vulnerability class: Buffer Overflow
EPSS: 0.000 (5.2th percentile) — read the EPSS interpretation.
CVSS v3 metric
CVSS v3 base score 6.1 (Medium). Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:H.
Affected products
- Jqlang Jq — versions >= 69785bf77f86e2ea1b4a20ca86775916889e91c9, < fdf8ef0f0810e3d365cdd5160de43db46f57ed03
Weakness classification (CWE)
References
- https://github.com/jqlang/jq/security/advisories/GHSA-6gc3-3g9p-xx28 (x_refsource_CONFIRM)
- https://github.com/jqlang/jq/commit/fdf8ef0f0810e3d365cdd5160de43db46f57ed03 (x_refsource_MISC)
Frequently asked questions
- What is CVE-2026-39956?
- CVE-2026-39956 is a medium-severity vulnerability in Jqlang Jq, classified under Out-of-bounds Read. CVSS score: 6.1/10. Published 2026-04-13.
- How severe is CVE-2026-39956?
- Medium severity. CVSS v3 base score is 6.1 out of 10.