{"id":81074,"date":"2026-06-25T20:47:46","date_gmt":"2026-06-25T17:17:46","guid":{"rendered":"https:\/\/afaghhosting.net\/blog\/cve-2026-49839-jq-rawfile-invalid-state-reuse-after-string-too-long-causes-heap-buffer-overflow\/"},"modified":"2026-06-25T20:47:46","modified_gmt":"2026-06-25T17:17:46","slug":"cve-2026-49839-jq-rawfile-invalid-state-reuse-after-string-too-long-causes-heap-buffer-overflow","status":"publish","type":"post","link":"https:\/\/afaghhosting.net\/blog\/cve-2026-49839-jq-rawfile-invalid-state-reuse-after-string-too-long-causes-heap-buffer-overflow\/","title":{"rendered":"CVE-2026-49839 &#8211; jq &#8211;rawfile invalid-state reuse after String too long causes heap-buffer-overflow"},"content":{"rendered":"<p>CVE ID :CVE-2026-49839<\/p>\n<p>  Published : June 25, 2026, 5:17 p.m. | 27\u00a0minutes ago<\/p>\n<p>  Description :jq is a command-line JSON processor. Prior to 1.8.2,` jq &#8211;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(&#8220;String too long&#8221;), 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.<\/p>\n<p>  Severity: 0.0 | NA<\/p>\n<p>  Visit the link for more details, such as CVSS details, affected products, timeline, and more&#8230;\u00a0<\/p>\n","protected":false},"excerpt":{"rendered":"<p>CVE ID :CVE-2026-49839 Published : June 25, 2026, 5:17 p.m. | 27\u00a0minutes ago Description :jq is a command-line JSON processor. Prior to 1.8.2,` jq &#8211;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 &hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[26],"tags":[],"class_list":["post-81074","post","type-post","status-publish","format-standard","hentry","category-vulnerability"],"_links":{"self":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/posts\/81074","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/comments?post=81074"}],"version-history":[{"count":0,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/posts\/81074\/revisions"}],"wp:attachment":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/media?parent=81074"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/categories?post=81074"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/tags?post=81074"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}