---
id: "CVE-2026-129858"
page: "https://infrastack.ai/live/CVE-2026-129858"
kind: "vulnerability"
aliases: ["CVE-2026-129858"]
title: "jxrlib: crafted JPEG XR file causes stack over-read and crash"
severity: "medium"
cvss: 6.8
epss: null
exploited: false
status: "open"
category: "package"
products: []
ecosystems: []
tags: ["c", "image-decoding", "jxrlib", "package"]
not_affected_if: ["no-jpeg-xr-decoding", "untrusted-input-not-accepted"]
published_at: "2026-11-16T15:17:23+00:00"
first_seen_at: "2026-11-16T15:37:52+00:00"
updated_at: "2026-11-16T15:40:43+00:00"
sources: [{"source": "nvd", "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-129858", "first_seen_at": "2026-11-16T15:37:52+00:00"}]
exploit_sources: []
---

# jxrlib: crafted JPEG XR file causes stack over-read and crash

Link for people: https://infrastack.ai/live/CVE-2026-129858 (this .md is for agents)

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.

_Summary, check and fix written by a model from the sources; labelled as such._

## 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`
- 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
- Microsoft jxrlib: unknown; the sources do not state a fixed version for it

## Timeline

- 2026-11-16T15:37:52+00:00 nvd https://nvd.nist.gov/vuln/detail/CVE-2026-129858

## Documents

- [advisory] Third-party advisory: www.vulncheck.com https://www.vulncheck.com/advisories/microsoft-jxrlib-through-1.1-stack-buffer-over-read-in-readwmiheader
- [fix] Patch: github.com https://github.com/mircomir/jxrlib/commit/8128dfda325ece0b34991d958d8320834e2cd288
- [fix] Patch: github.com https://github.com/mircomir/jxrlib/commit/d6e5f8d19d452d1191c329614077f0fecab933c6

## From the sources

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.

---

_Free to read, with fair use of about 60 pages a minute. For higher limits or API access: sales@infrastack.ai_
