Process crash and memory probing via type confusion
Published Apr 13, 2026 · Updated Apr 13, 2026
Type confusion in jqlang jq 1.8.1 and earlier allows attackers to crash the process or probe limited memory via an untrusted filter. The _strindices wrapper passes non-string arguments to jv_string_indexes(), whose assert-only checks vanish in release builds, so numeric bits are treated as a string pointer. Exploitation requires a release build to evaluate an attacker-controlled jq filter; fixed queries that never invoke _strindices are unaffected.
Summary
What happened
Type confusion in jqlang jq 1.8.1 and earlier allows attackers to crash the process or probe limited memory via an untrusted filter. The _strindices wrapper passes non-string arguments to jv_string_indexes(), whose assert-only checks vanish in release builds, so numeric bits are treated as a string pointer. Exploitation requires a release build to evaluate an attacker-controlled jq filter; fixed queries that never invoke _strindices are unaffected.
The record
- CVE
- CVE-2026-39956
- Published
- Apr 13, 2026
- Updated
- Apr 13, 2026
- Vendor
- jqlang
- Product
- jq
- Classifications
- CWE-476, CWE-843, CWE-125, T1499.004
- Attack vector
- local
- Privileges
- unauthenticated
Timeline
How it unfolded
- Apr 13, 2026CVE publishedPublication date reported by the CVE source.
- Apr 13, 2026Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=>= 69785bf77f86e2ea1b4a20ca86775916889e91c9, < fdf8ef0f0810e3d365cdd5160de43db46f57ed03
What conditions does exploitation require?
What is affected?
Published CVSS scores
CVSS describes severity. EPSS estimates exploitation probability.
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Weakness, pattern, technique
Public exploit references
- Upstream _strindices crash and controlled-pointer proof of conceptproof of concept · demonstrated
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo