public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/mingw-LibRaw] f44: Backport fix CVE-2026-88387
@ 2026-10-17 9:38 Sandro Mani
0 siblings, 0 replies; only message in thread
From: Sandro Mani @ 2026-10-17 9:38 UTC (permalink / raw)
To: git-commits
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
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-10-17 9:38 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-10-17 9:38 [rpms/mingw-LibRaw] f44: Backport fix CVE-2026-88387 Sandro Mani
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox