{"id":"DHI-hfso-4oyu-mogd-6hop","summary":"jq is a command-line JSON processor. Prior to 1.8.2,` jq --rawfile` can turn a handled oversized-string error into…","details":"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 iteration appends a new chunk to an object that is already invalid. With assertions enabled this aborts in jvp_string_ptr(). With assertions disabled, the invalid object is interpreted as a string object and ASan reports heap-buffer-overflow. This vulnerability is fixed in 1.8.2.","modified":"2026-11-16T02:35:27.341668636Z","published":"2026-11-11T19:05:15Z","upstream":["CVE-2026-49839"],"references":[{"type":"ADVISORY","url":"https://scout.docker.com/v/DHI-hfso-4oyu-mogd-6hop"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-49839"},{"type":"ADVISORY","url":"https://github.com/jqlang/jq/security/advisories/GHSA-cfh2-vwfq-qfmm"},{"type":"ADVISORY","url":"https://security.alpinelinux.org/vuln/CVE-2026-49839"},{"type":"ADVISORY","url":"https://alas.aws.amazon.com/AL2023/ALAS-2026-1860.html"},{"type":"ADVISORY","url":"http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-49839"},{"type":"ADVISORY","url":"https://security-tracker.debian.org/tracker/CVE-2026-49839"},{"type":"ADVISORY","url":"https://ubuntu.com/security/CVE-2026-49839"},{"type":"ADVISORY","url":"http://people.ubuntu.com/~ubuntu-security/cve/CVE-2026-49839"}],"affected":[{"package":{"name":"jq","ecosystem":"Docker Hardened Images:Alpine:3.23","purl":"pkg:apk/dhi/jq"},"versions":["1.8.1-r0","1.8.1_git20260429-r1","1.8.2-r1","1.8.2_git20260622-r1","1.8.2_git20261021-r2"],"database_specific":{"owner_kind":"HSP","source":"https://github.com/docker-hardened-images/advisories/blob/main/dhi/osv/2026/DHI-hfso-4oyu-mogd-6hop.json"}},{"package":{"name":"jq","ecosystem":"Docker Hardened Images:Alpine:3.24","purl":"pkg:apk/dhi/jq"},"versions":["1.8.1_git20260609-r1","1.8.2-r1","1.8.2_git20260622-r1","1.8.2_git20261021-r2"],"database_specific":{"owner_kind":"HSP","source":"https://github.com/docker-hardened-images/advisories/blob/main/dhi/osv/2026/DHI-hfso-4oyu-mogd-6hop.json"}},{"package":{"name":"jq","ecosystem":"Docker Hardened Images:Debian:13","purl":"pkg:deb/dhi/jq"},"versions":["1.7.1-6+deb13u1dhi0","1.7.1-6+deb13u2+dhi0","1.7.1-6+deb13u2+dhi1","1.7.1-6+deb13u2dhi0","1.8.1-5","1.8.2-1+deb13u0+dhi1","1.8.2-1+dhi1"],"database_specific":{"owner_kind":"HSP","source":"https://github.com/docker-hardened-images/advisories/blob/main/dhi/osv/2026/DHI-hfso-4oyu-mogd-6hop.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:H"}]}