Thread View: linux.debian.bugs.dist
1 messages
1 total messages
Started by Joachim Rütter
Sat, 24 Oct 2026 16:20
Bug#1151921: jxrlib: memory bugs on damaged JPEG XR files, fixed in mircomir/jxrlib 1.4.4
Author: Joachim Rütter
Date: Sat, 24 Oct 2026 16:20
Date: Sat, 24 Oct 2026 16:20
104 lines
7380 bytes
7380 bytes
--Apple-Mail=_4039C038-D41B-477D-9419-62D8D70180C4 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii Package: jxrlib > Version: 1.2~git20170615.f752187-5.3 > Severity: important > Tags: security upstream > X-Debbugs-Cc: team@security.debian.org >=20 > Hello, >=20 > jxrlib in Debian (1.2~git20170615.f752187-5.3 in sid, forky and = trixie; -5 in bookworm; 1.1-6 in > bullseye) has memory bugs that a damaged JPEG XR file of a few hundred = bytes triggers, including a > heap buffer overflow write. All of them are fixed in the maintained = fork > https://github.com/mircomir/jxrlib (1.4.4, 2026-10-09), which Arch, = openSUSE Tumbleweed and > MacPorts already ship. >=20 > Details, the affected functions and the fixing commits: > https://www.openwall.com/lists/oss-security/2026/10/24/1 >=20 > In short (line numbers from 1.2~git20170615.f752187-5.3): >=20 > 1. ReadBinaryData, jxrgluelib/JXRMeta.c:677: uCount + 2 overflows, = heap buffer overflow > (write). Shown by source review. Fixed in cb97e6d. > 2. ReadWMIHeader, image/decode/strdec.c:2965: stack buffer over-read. = Fixed in d6e5f8d. > 3. DecodeSignificantRun, image/decode/segdec.c:362: global buffer = over-read. Fixed in debe47a. > 4. initLookupTables, image/decode/strdec.c:2617: global buffer = over-read. Fixed in ba86c04. > 5. ImageStrDecDecode, image/decode/strdec.c:3536: NULL write, crash. = Fixed in 190078d. > 6. ParsePFDEntry, jxrgluelib/JXRGlueJxr.c:1573: assert, builds with = asserts only. Fixed in 7d2d462. >=20 > Items 2 to 5 reproduce under AddressSanitizer with JxrDecApp built = from Debian's source > package. The security team has the test files; I can attach them here = too if that helps. >=20 > Suggested fix: move to mircomir/jxrlib 1.4.4, or backport the six = commits. >=20 > Best regards > Joachim Ruetter > https://featherview.mynetx.net --Apple-Mail=_4039C038-D41B-477D-9419-62D8D70180C4 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=us-ascii <html aria-label=3D"message body"><head><meta http-equiv=3D"content-type" = content=3D"text/html; charset=3Dus-ascii"></head><body = style=3D"overflow-wrap: break-word; -webkit-nbsp-mode: space; = line-break: after-white-space;"><div style=3D"overflow-wrap: break-word; = -webkit-nbsp-mode: space; line-break: after-white-space;"><div = dir=3D"auto" style=3D"overflow-wrap: break-word; -webkit-nbsp-mode: = space; line-break: after-white-space;"><div = class=3D"Apple-Mail-URLShareUserContentTopClass">Package: = jxrlib</div><div class=3D"Apple-Mail-URLShareWrapperClass" = style=3D"position: relative !important;"><blockquote type=3D"cite" = style=3D"border-left-style: none; color: inherit; padding: inherit; = margin: inherit;">Version: 1.2~git20170615.f752187-5.3<br>Severity: = important<br>Tags: security upstream<br>X-Debbugs-Cc: = team@security.debian.org<br><br>Hello,<br><br>jxrlib in Debian = (1.2~git20170615.f752187-5.3 in sid, forky and trixie; -5 in bookworm; = 1.1-6 in<br>bullseye) has memory bugs that a damaged JPEG XR file of a = few hundred bytes triggers, including a<br>heap buffer overflow write. = All of them are fixed in the maintained = fork<br>https://github.com/mircomir/jxrlib (1.4.4, 2026-10-09), which = Arch, openSUSE Tumbleweed and<br>MacPorts already ship.<br><br>Details, = the affected functions and the fixing = commits:<br>https://www.openwall.com/lists/oss-security/2026/10/24/1<br><b= r>In short (line numbers from 1.2~git20170615.f752187-5.3):<br><br>1. = ReadBinaryData, jxrgluelib/JXRMeta.c:677: uCount + 2 overflows, heap = buffer overflow<br><span = class=3D"Apple-converted-space"> </span> (write). Shown by = source review. Fixed in cb97e6d.<br>2. ReadWMIHeader, = image/decode/strdec.c:2965: stack buffer over-read. Fixed in = d6e5f8d.<br>3. DecodeSignificantRun, image/decode/segdec.c:362: global = buffer over-read. Fixed in debe47a.<br>4. initLookupTables, = image/decode/strdec.c:2617: global buffer over-read. Fixed in = ba86c04.<br>5. ImageStrDecDecode, image/decode/strdec.c:3536: NULL = write, crash. Fixed in 190078d.<br>6. ParsePFDEntry, = jxrgluelib/JXRGlueJxr.c:1573: assert, builds with asserts only. Fixed in = 7d2d462.<br><br>Items 2 to 5 reproduce under AddressSanitizer with = JxrDecApp built from Debian's source<br>package. The security team has = the test files; I can attach them here too if that = helps.<br><br>Suggested fix: move to mircomir/jxrlib 1.4.4, or backport = the six commits.<br><br>Best regards<br>Joachim = Ruetter<br>https://featherview.mynetx.net<br> </blockquote></div></div></div></body></html>= --Apple-Mail=_4039C038-D41B-477D-9419-62D8D70180C4--
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads