public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Sandro Mani <manisandro@gmail.com>
To: git-commits@fedoraproject.org
Subject: [rpms/mingw-LibRaw] f44: Backport fix CVE-2026-88387
Date: Sat, 17 Oct 2026 09:38:02 GMT [thread overview]
Message-ID: <179222988243.1.248552639467579138.rpms-mingw-LibRaw-0ac2a2e539ce@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/mingw-LibRaw
Branch : f44
Commit : 0ac2a2e539cee054a7524238f4de82944158786c
Author : Sandro Mani <manisandro@gmail.com>
Date : 2026-10-17T11:36:34+02:00
Stats : +19/-1 in 2 file(s)
URL : https://src.fedoraproject.org/rpms/mingw-LibRaw/c/0ac2a2e539cee054a7524238f4de82944158786c?branch=f44
Log:
Backport fix CVE-2026-88387
---
diff --git a/b41cbbd61951783e0440590dae55411a16185bdf.patch b/b41cbbd61951783e0440590dae55411a16185bdf.patch
new file mode 100644
index 0000000..3aa4276
--- /dev/null
+++ b/b41cbbd61951783e0440590dae55411a16185bdf.patch
@@ -0,0 +1,13 @@
+diff -rupN --no-dereference LibRaw-0.22.2/src/metadata/tiff.cpp LibRaw-0.22.2-new/src/metadata/tiff.cpp
+--- LibRaw-0.22.2/src/metadata/tiff.cpp 2026-07-15 08:00:07.000000000 +0200
++++ LibRaw-0.22.2-new/src/metadata/tiff.cpp 2026-10-17 11:34:45.690445408 +0200
+@@ -569,7 +569,8 @@ int LibRaw::parse_tiff_ifd(INT64 base)
+ parse_tiff_ifd(base);
+ break;
+ case 0x00fe: /* NewSubfileType */
+- tiff_ifd[ifd].newsubfiletype = int(getreal(type));
++ if((type != LIBRAW_EXIFTAG_TYPE_FLOAT) && (type != LIBRAW_EXIFTAG_TYPE_DOUBLE))
++ tiff_ifd[ifd].newsubfiletype = int(getreal(type));
+ break;
+ case 0x0100: /* 256, ImageWidth */
+ case 0xf001: /* 61441, Fuji RAF RawImageFullWidth */
diff --git a/mingw-LibRaw.spec b/mingw-LibRaw.spec
index beaec8a..a68b2b7 100644
--- a/mingw-LibRaw.spec
+++ b/mingw-LibRaw.spec
@@ -4,7 +4,7 @@
Name: mingw-%{pkgname}
Version: 0.22.2
-Release: 1%{?dist}
+Release: 2%{?dist}
Summary: Library for reading RAW files obtained from digital photo cameras
# LibRaw base package is dual licensed (actually triple licensed LGPLv2+, CDDL, LibRaw Software License)
@@ -13,6 +13,8 @@ License: BSD-3-Clause AND (CDDL-1.0 OR LGPL-2.1-only)
BuildArch: noarch
URL: http://www.libraw.org
Source0: http://www.libraw.org/data/%{pkgname}-%{version}.tar.gz
+# Backport fix for CVE-2026-88387
+Patch0: https://github.com/LibRaw/LibRaw/commit/b41cbbd61951783e0440590dae55411a16185bdf.patch
BuildRequires: make
BuildRequires: autoconf automake libtool
@@ -144,6 +146,9 @@ rm -rf %{buildroot}%{mingw64_datadir}
%changelog
+* Sat Oct 17 2026 Sandro Mani <manisandro@gmail.com> - 0.22.2-2
+- Backport fix for CVE-2026-88387
+
* Fri Jul 17 2026 Sandro Mani <manisandro@gmail.com> - 0.22.2-1
- Update to 0.22.2
reply other threads:[~2026-10-17 9:38 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=179222988243.1.248552639467579138.rpms-mingw-LibRaw-0ac2a2e539ce@fedoraproject.org \
--to=manisandro@gmail.com \
--cc=git-commits@fedoraproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox