CVE Explorer
CVE-2026-49839
jq is a command-line JSON processor. Prior to 1.8.2,` jq --rawfile` can turn a handled oversized-string error into invalid-state reuse and a real heap out-of-bounds write in assertion-disabled builds. When jv_load_file(raw=1) reads an attacker-controlled file, it repeatedly appends file chunks to the same jv string accumulator. Once jv_string_append_buf() returns jv_invalid_with_msg("String too long"), the raw-file loop does not stop. If the file contains at least one more byte, the next loop it
Known exploited
Not asserted
Disputed
No
Stale source
No
Conflicts
0
Affected products and versions
1 source assertion{"product":"jq","vendor":"jqlang","versions":[{"status":"affected","version":"< 1.8.2"}]}
- cve_program_cvelist_v5affectedurn:baitaphish:normalized-source-record:v2:8db3e5f6d444dbede2a6358a9403dda21094d34b087799f862ea8d4cc6e03125 · sha256:1369bcd334c5131e… · /containers/cna/affected/0
Provider-owned CVSS observations
1 source assertion{"metric":{"attackComplexity":"LOW","attackVector":"LOCAL","availabilityImpact":"HIGH","baseScore":7.1,"baseSeverity":"HIGH","confidentialityImpact":"NONE","integrityImpact":"HIGH","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"REQUIRED","vectorString":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:H","version":"3.1"},"metric_type":"cvssV3_1"}
- cve_program_cvelist_v5cvssurn:baitaphish:normalized-source-record:v2:8db3e5f6d444dbede2a6358a9403dda21094d34b087799f862ea8d4cc6e03125 · sha256:1369bcd334c5131e… · /containers/cna/metrics/0/cvssV3_1
CWE assertions
1 source assertion{"cweId":"CWE-787","description":"CWE-787: Out-of-bounds Write","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:8db3e5f6d444dbede2a6358a9403dda21094d34b087799f862ea8d4cc6e03125 · sha256:1369bcd334c5131e… · /containers/cna/problemTypes/0/descriptions/0
Source references
2 source assertions{"name":"https://github.com/jqlang/jq/security/advisories/GHSA-cfh2-vwfq-qfmm","tags":["x_refsource_CONFIRM"],"url":"https://github.com/jqlang/jq/security/advisories/GHSA-cfh2-vwfq-qfmm"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:8db3e5f6d444dbede2a6358a9403dda21094d34b087799f862ea8d4cc6e03125 · sha256:1369bcd334c5131e… · /containers/cna/references/0
{"tags":["exploit"],"url":"https://github.com/jqlang/jq/security/advisories/GHSA-cfh2-vwfq-qfmm"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:8db3e5f6d444dbede2a6358a9403dda21094d34b087799f862ea8d4cc6e03125 · sha256:1369bcd334c5131e… · /containers/adp/0/references/0
Attribution and limitations
- CVE Program CVEList V5: Reproduce the MITRE copyright designation and CVE license in copies. Source →
Provider severity values are preserved separately. Baitaphish does not convert them into a risk rating, infer affected products, or treat EPSS as observed exploitation.