public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/epiphany] f43: Fix CVE-2026-118599
@ 2026-10-28 23:44 Adrian Vovk
  0 siblings, 0 replies; only message in thread
From: Adrian Vovk @ 2026-10-28 23:44 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/epiphany
Branch : f43
Commit : df1000a1ed834fb2907c5f587b9dac35f65ae369
Author : Adrian Vovk <avovk@redhat.com>
Date   : 2026-10-28T19:38:46-04:00
Stats  : +35/-0 in 2 file(s)
URL    : https://src.fedoraproject.org/rpms/epiphany/c/df1000a1ed834fb2907c5f587b9dac35f65ae369?branch=f43

Log:
Fix CVE-2026-118599

---
diff --git a/CVE-2026-118599.patch b/CVE-2026-118599.patch
new file mode 100644
index 0000000..187cf3f
--- /dev/null
+++ b/CVE-2026-118599.patch
@@ -0,0 +1,34 @@
+From 0cc9ab5506689a4b82a4b1a41ad71e895cfa48d4 Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Fernando=20Mu=C3=B1oz?= <fernando@null-life.com>
+Date: Fri, 23 Oct 2026 16:55:57 -0500
+Subject: [PATCH] web-extension-manager: Only extract ZIP archives when
+ installing XPIs
+
+libarchive was configured to accept every archive format, so a tar file
+renamed to .xpi was extracted. Register only the ZIP reader so anything
+else fails to open.
+
+Fixes #2988
+
+Part-of: <https://gitlab.gnome.org/GNOME/epiphany/-/merge_requests/2248>
+---
+ src/webextension/ephy-web-extension-manager.c | 3 +--
+ 1 file changed, 1 insertion(+), 2 deletions(-)
+
+diff --git a/src/webextension/ephy-web-extension-manager.c b/src/webextension/ephy-web-extension-manager.c
+index 7ad18712c..b144ce3c5 100644
+--- a/src/webextension/ephy-web-extension-manager.c
++++ b/src/webextension/ephy-web-extension-manager.c
+@@ -549,8 +549,7 @@ decompress_xpi_thread (GTask        *task,
+   flags |= ARCHIVE_EXTRACT_SECURE_SYMLINKS;
+ 
+   archive = archive_read_new ();
+-  archive_read_support_format_all (archive);
+-  archive_read_support_filter_all (archive);
++  archive_read_support_format_zip (archive);
+ 
+   ext = archive_write_disk_new ();
+   archive_write_disk_set_options (ext, flags);
+-- 
+GitLab
+

diff --git a/epiphany.spec b/epiphany.spec
index 19167a5..b3c2330 100644
--- a/epiphany.spec
+++ b/epiphany.spec
@@ -20,6 +20,7 @@ Patch0:         epiphany-default-bookmarks.patch
 
 Patch1:         CVE-2026-18487.patch
 Patch2:         CVE-2026-94291.patch
+Patch3:         CVE-2026-118599.patch
 
 BuildRequires:  /usr/bin/rst2man
 BuildRequires:  blueprint-compiler

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-10-28 23:44 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-10-28 23:44 [rpms/epiphany] f43: Fix CVE-2026-118599 Adrian Vovk

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox