{"id":"CVE-2026-129859","kind":"vulnerability","aliases":["CVE-2026-129859"],"related":[],"title":"jxrlib: crafted JPEG XR file crashes the decoder with a NULL pointer","description":"Microsoft jxrlib through 1.1 and the mircomir jxrlib fork before 1.3.1 contain a NULL pointer dereference vulnerability in ImageStrDecDecode() in image/decode/strdec.c. Attackers can supply a crafted JPEG XR file declaring a colour format with no channels, leaving p1MBbuffer[0] NULL and crashing the decoder via memset.","summary":"Microsoft jxrlib and the mircomir jxrlib fork fail to check a colour format with no channels in a JPEG XR file, leaving a buffer NULL and crashing the decoder. An attacker who supplies a crafted JPEG XR image can crash any program that decodes it.","severity":"medium","cvss":6.8,"epss":null,"exploited":false,"exploited_at":null,"products":[],"ecosystems":[],"tags":["c","image-decoding","jpeg-xr","jxrlib","package"],"not_affected_if":["no-jpeg-xr-decoding"],"how_to_check":"- Check whether your project depends on jxrlib or the mircomir jxrlib fork, for example by searching lockfiles or build files for `jxrlib`.\n- If you use the mircomir fork, confirm its version is `1.3.1` or later.\n- If you use Microsoft jxrlib, confirm whether the version is `1.1` or earlier, which the sources list as affected.","fix":"- mircomir jxrlib fork: move to `1.3.1` or later.\n- Microsoft jxrlib: unknown; the sources do not state a fixed version.","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:41+00:00","updated_at":"2026-11-16T15:40:41+00:00","category":"package","confidence":0.6,"triage":{"at":"2026-11-16T15:40:41Z","model":"claude-haiku-5-5","output":{"fix":"- mircomir jxrlib fork: move to `1.3.1` or later.\n- Microsoft jxrlib: unknown; the sources do not state a fixed version.","reach":"unknown","title":"jxrlib: crafted JPEG XR file crashes the decoder with a NULL pointer","impact":"low","summary":"Microsoft jxrlib and the mircomir jxrlib fork fail to check a colour format with no channels in a JPEG XR file, leaving a buffer NULL and crashing the decoder. An attacker who supplies a crafted JPEG XR image can crash any program that decodes it.","audience":"developers","category":"package","nicknames":[],"who_cares":["jxrlib","jpeg-xr","image-decoding","c"],"confidence":0.6,"fix_status":"unknown","needs_auth":"no","worst_case":"decoder crashes; denial of service on image processing","analyst_note":"Confirm whether Microsoft jxrlib has a fixed version, and which downstream products bundle it, via the NVD entry and the VulnCheck advisory.","how_to_check":"- Check whether your project depends on jxrlib or the mircomir jxrlib fork, for example by searching lockfiles or build files for `jxrlib`.\n- If you use the mircomir fork, confirm its version is `1.3.1` or later.\n- If you use Microsoft jxrlib, confirm whether the version is `1.1` or earlier, which the sources list as affected.","plain_action":"","product_name":"","needs_analyst":true,"not_affected_if":["no-jpeg-xr-decoding"],"who_is_affected":"Programs that decode JPEG XR images with jxrlib or the mircomir fork are exposed, since a crafted file reaches the decoder directly. Systems that never decode JPEG XR files, or that use other image libraries, can skip it. The sources do not say which downstream products bundle jxrlib.","user_interaction":"yes","product_ecosystem":"","needs_special_setup":"unknown","severity_if_unknown":"medium"},"cost_usd":0.000808,"input_tokens":4637,"output_tokens":689,"severity_before":"medium"},"analyst_status":null,"analyst_note":null,"search":"'-129859':15A,18A '-2026':14A,17A '0':110C '1.1':75C '1.3.1':82C 'attack':58B,93C 'buffer':51B 'c':19B 'channel':43B,107C 'check':37B 'colour':39B,103C 'contain':83C 'craft':2A,62B,97C 'crash':6A,54B,67B,113C 'cve':13A,16A 'declar':101C 'decod':8A,22B,56B,71B,115C 'derefer':87C 'fail':35B 'file':5A,48B,100C 'fork':34B,80C 'format':40B,104C 'imag':21B,65B 'image-decod':20B 'image/decode/strdec.c':92C 'imagestrdecdecod':90C 'jpeg':3A,24B,46B,63B,98C 'jpeg-xr':23B 'jxrlib':1A,26B,29B,33B,73C,79C 'leav':49B,108C 'memset':117C 'microsoft':28B,72C 'mircomir':32B,78C 'null':11A,52B,85C,111C 'p1mbbuffer':109C 'packag':27B 'pointer':12A,86C 'program':69B 'suppli':60B,95C 'via':116C 'vulner':88C 'xr':4A,25B,47B,64B,99C","nicknames":[],"mitigations":[],"who_affected":"Programs that decode JPEG XR images with jxrlib or the mircomir fork are exposed, since a crafted file reaches the decoder directly. Systems that never decode JPEG XR files, or that use other image libraries, can skip it. The sources do not say which downstream products bundle jxrlib.","tier":"C","verified":{},"analyst_revisit_at":null,"fix_status":"unknown","audience":"developers","plain_action":null,"pkeys":[],"ptokens":[],"labels":["c","imagedecoding","jpegxr","jxrlib","medium","package"],"campaign_type":null,"search_a":"'-129859':15A,18A '-2026':14A,17A 'craft':2A 'crash':6A 'cve':13A,16A 'decod':8A 'file':5A 'jpeg':3A 'jxrlib':1A 'null':11A 'pointer':12A 'xr':4A","search_b":"'attack':58B 'buffer':51B 'c':19B 'channel':43B 'check':37B 'colour':39B 'craft':62B 'crash':54B,67B 'decod':22B,56B,71B 'fail':35B 'file':48B 'fork':34B 'format':40B 'imag':21B,65B 'image-decod':20B 'jpeg':24B,46B,63B 'jpeg-xr':23B 'jxrlib':26B,29B,33B 'leav':49B 'microsoft':28B 'mircomir':32B 'null':52B 'packag':27B 'program':69B 'suppli':60B 'xr':25B,47B,64B","search_c":"'0':110C '1.1':75C '1.3.1':82C 'attack':93C 'channel':107C 'colour':103C 'contain':83C 'craft':97C 'crash':113C 'declar':101C 'decod':115C 'derefer':87C 'file':100C 'fork':80C 'format':104C 'image/decode/strdec.c':92C 'imagestrdecdecod':90C 'jpeg':98C 'jxrlib':73C,79C 'leav':108C 'memset':117C 'microsoft':72C 'mircomir':78C 'null':85C,111C 'p1mbbuffer':109C 'pointer':86C 'suppli':95C 'via':116C 'vulner':88C 'xr':99C","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-129859","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-129859","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":170567,"url":"https://github.com/mircomir/jxrlib/commit/190078d2c4d8fcc9e4660baf0f65c960fa95dd21","title":"Patch: github.com","kind":"other","source":"nvd","publisher":"vendor","text":null,"published_at":null,"relation":"fix","confidence":null,"note":"Patch: github.com"},{"id":170568,"url":"https://www.vulncheck.com/advisories/microsoft-jxrlib-through-1.1-null-pointer-dereference-in-imagestrdecdecode","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"}