{"id":"CVE-2026-129858","kind":"vulnerability","aliases":["CVE-2026-129858"],"related":[],"title":"jxrlib: crafted JPEG XR file causes stack over-read and crash","description":"Microsoft jxrlib through 1.1 and the mircomir jxrlib fork before 1.3.6 contain a stack buffer over-read vulnerability in ReadWMIHeader() in image/decode/strdec.c due to an unterminated signature buffer. Attackers can supply a crafted JPEG XR file whose 8 signature bytes contain no zero byte, causing strstr to read past the stack buffer and potentially crash the application.","summary":"Microsoft jxrlib and the mircomir fork parse JPEG XR files with a signature check that reads past a stack buffer when the 8 signature bytes contain no zero byte. An attacker who supplies a crafted JPEG XR file can make the application crash.","severity":"medium","cvss":6.8,"epss":null,"exploited":false,"exploited_at":null,"products":[],"ecosystems":[],"tags":["c","image-decoding","jxrlib","package"],"not_affected_if":["no-jpeg-xr-decoding","untrusted-input-not-accepted"],"how_to_check":"- Check whether the project depends on jxrlib or the mircomir jxrlib fork, for example by searching the dependency manifests and vendored source for `jxrlib`\n- Confirm the version in use; the description says Microsoft jxrlib through `1.1` and the mircomir fork before `1.3.6` are affected","fix":"- mircomir jxrlib fork: move to `1.3.6` or later\n- Microsoft jxrlib: unknown; the sources do not state a fixed version for it","status":"open","published_at":"2026-11-16T15:17:23+00:00","first_seen_at":"2026-11-16T15:37:52+00:00","triaged_at":"2026-11-16T15:40:43+00:00","updated_at":"2026-11-16T15:40:43+00:00","category":"package","confidence":0.6,"triage":{"at":"2026-11-16T15:40:43Z","model":"claude-haiku-5-5","output":{"fix":"- mircomir jxrlib fork: move to `1.3.6` or later\n- Microsoft jxrlib: unknown; the sources do not state a fixed version for it","reach":"unknown","title":"jxrlib: crafted JPEG XR file causes stack over-read and crash","impact":"low","summary":"Microsoft jxrlib and the mircomir fork parse JPEG XR files with a signature check that reads past a stack buffer when the 8 signature bytes contain no zero byte. An attacker who supplies a crafted JPEG XR file can make the application crash.","audience":"developers","category":"package","nicknames":[],"who_cares":["jxrlib","image-decoding","c"],"confidence":0.6,"fix_status":"available","needs_auth":"no","worst_case":"Application crashes while parsing a crafted JPEG XR file","analyst_note":"Confirm whether Microsoft jxrlib has a fixed version (sources give only the fork's 1.3.6) and check the linked github.com patch commits.","how_to_check":"- Check whether the project depends on jxrlib or the mircomir jxrlib fork, for example by searching the dependency manifests and vendored source for `jxrlib`\n- Confirm the version in use; the description says Microsoft jxrlib through `1.1` and the mircomir fork before `1.3.6` are affected\n- unknown whether the sources give further detection steps","plain_action":"","product_name":"","needs_analyst":true,"not_affected_if":["no-jpeg-xr-decoding","untrusted-input-not-accepted"],"who_is_affected":"Applications that decode JPEG XR images with jxrlib, Microsoft's library or the mircomir fork, are exposed when they accept image files from untrusted sources. The flaw is in the header parsing path ReadWMIHeader() in image/decode/strdec.c, so programs that never open JPEG XR files can skip it. Impact is a crash of the application; the sources do not describe code execution.","user_interaction":"no","product_ecosystem":"","needs_special_setup":"no","severity_if_unknown":"medium"},"cost_usd":0.000819,"input_tokens":4659,"output_tokens":706,"severity_before":"medium"},"analyst_status":null,"analyst_note":null,"search":"'-129858':15A,18A '-2026':14A,17A '1.1':71C '1.3.6':78C '8':47B,106C 'applic':66B,125C 'attack':55B,97C 'buffer':44B,82C,96C,120C 'byte':49B,53B,108C,112C 'c':19B 'caus':6A,113C 'check':38B 'contain':50B,79C,109C 'craft':2A,59B,101C 'crash':12A,67B,123C 'cve':13A,16A 'decod':22B 'due':91C 'file':5A,34B,62B,104C 'fork':30B,76C 'imag':21B 'image-decod':20B 'image/decode/strdec.c':90C 'jpeg':3A,32B,60B,102C 'jxrlib':1A,23B,26B,69C,75C 'make':64B 'microsoft':25B,68C 'mircomir':29B,74C 'over-read':8A,83C 'packag':24B 'pars':31B 'past':41B,117C 'potenti':122C 'read':10A,40B,85C,116C 'readwmihead':88C 'signatur':37B,48B,95C,107C 'stack':7A,43B,81C,119C 'strstr':114C 'suppli':57B,99C 'untermin':94C 'vulner':86C 'whose':105C 'xr':4A,33B,61B,103C 'zero':52B,111C","nicknames":[],"mitigations":[],"who_affected":"Applications that decode JPEG XR images with jxrlib, Microsoft's library or the mircomir fork, are exposed when they accept image files from untrusted sources. The flaw is in the header parsing path ReadWMIHeader() in image/decode/strdec.c, so programs that never open JPEG XR files can skip it. Impact is a crash of the application; the sources do not describe code execution.","tier":"C","verified":{},"analyst_revisit_at":null,"fix_status":"available","audience":"developers","plain_action":null,"pkeys":[],"ptokens":[],"labels":["c","imagedecoding","jxrlib","medium","package"],"campaign_type":null,"search_a":"'-129858':15A,18A '-2026':14A,17A 'caus':6A 'craft':2A 'crash':12A 'cve':13A,16A 'file':5A 'jpeg':3A 'jxrlib':1A 'over-read':8A 'read':10A 'stack':7A 'xr':4A","search_b":"'8':47B 'applic':66B 'attack':55B 'buffer':44B 'byte':49B,53B 'c':19B 'check':38B 'contain':50B 'craft':59B 'crash':67B 'decod':22B 'file':34B,62B 'fork':30B 'imag':21B 'image-decod':20B 'jpeg':32B,60B 'jxrlib':23B,26B 'make':64B 'microsoft':25B 'mircomir':29B 'packag':24B 'pars':31B 'past':41B 'read':40B 'signatur':37B,48B 'stack':43B 'suppli':57B 'xr':33B,61B 'zero':52B","search_c":"'1.1':71C '1.3.6':78C '8':106C 'applic':125C 'attack':97C 'buffer':82C,96C,120C 'byte':108C,112C 'caus':113C 'contain':79C,109C 'craft':101C 'crash':123C 'due':91C 'file':104C 'fork':76C 'image/decode/strdec.c':90C 'jpeg':102C 'jxrlib':69C,75C 'microsoft':68C 'mircomir':74C 'over-read':83C 'past':117C 'potenti':122C 'read':85C,116C 'readwmihead':88C 'signatur':95C,107C 'stack':81C,119C 'strstr':114C 'suppli':99C 'untermin':94C 'vulner':86C 'whose':105C 'xr':103C 'zero':111C","cause_entry":null,"cause_path":null,"disclosures_checked_at":null,"first_public_at":"2026-11-16T15:17:23+00:00","kev":null,"cvss_vector":"CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","cvss_by":"disclosure@vulncheck.com","poc_count":0,"sources":[{"source":"nvd","external_id":"CVE-2026-129858","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-129858","severity":null,"published_at":"2026-11-16T15:17:23+00:00","modified_at":"2026-11-16T15:17:23+00:00","first_seen_at":"2026-11-16T15:37:52+00:00","fetched_at":"2026-11-16T15:37:52+00:00","note":null}],"documents":[{"id":170564,"url":"https://github.com/mircomir/jxrlib/commit/8128dfda325ece0b34991d958d8320834e2cd288","title":"Patch: github.com","kind":"other","source":"nvd","publisher":"vendor","text":null,"published_at":null,"relation":"fix","confidence":null,"note":"Patch: github.com"},{"id":170565,"url":"https://github.com/mircomir/jxrlib/commit/d6e5f8d19d452d1191c329614077f0fecab933c6","title":"Patch: github.com","kind":"other","source":"nvd","publisher":"vendor","text":null,"published_at":null,"relation":"fix","confidence":null,"note":"Patch: github.com"},{"id":170566,"url":"https://www.vulncheck.com/advisories/microsoft-jxrlib-through-1.1-stack-buffer-over-read-in-readwmiheader","title":"Third-party advisory: www.vulncheck.com","kind":"advisory","source":"nvd","publisher":"research","text":null,"published_at":null,"relation":"advisory","confidence":null,"note":"Third-party advisory: www.vulncheck.com"}],"disclosures":[],"exploit_sources":[],"notice":"Free to read, with fair use of about 60 pages a minute. For higher limits or API access: sales@infrastack.ai"}