public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/epiphany] f43: Fix CVE-2026-118598
@ 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 : de9f5bb1d7034ab7bfa3809f33a0ac6a0306735b
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/de9f5bb1d7034ab7bfa3809f33a0ac6a0306735b?branch=f43

Log:
Fix CVE-2026-118598

---
diff --git a/CVE-2026-118598.patch b/CVE-2026-118598.patch
new file mode 100644
index 0000000..87c7f3f
--- /dev/null
+++ b/CVE-2026-118598.patch
@@ -0,0 +1,34 @@
+From 480c364890a996d893369b8e09e42e706140fc9e Mon Sep 17 00:00:00 2001
+From: John Cardullo <john@jcarmedia.org>
+Date: Fri, 23 Oct 2026 22:42:21 -0700
+Subject: [PATCH] ephy-window: Fix condition when saving webcam and microphone
+ permissions
+
+set_permission() checked
+EPHY_PERMISSION_TYPE_ACCESS_WEBCAM_AND_MICROPHONE directly in an
+else-if clause rather than checking data->permission_type.
+Compare data->permission_type explicitly against
+EPHY_PERMISSION_TYPE_ACCESS_WEBCAM_AND_MICROPHONE.
+
+Fixes: https://gitlab.gnome.org/GNOME/epiphany/-/work_items/2976
+Part-of: <https://gitlab.gnome.org/GNOME/epiphany/-/merge_requests/2249>
+---
+ src/ephy-window.c | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/src/ephy-window.c b/src/ephy-window.c
+index 57a92a9b7..6e4e77202 100644
+--- a/src/ephy-window.c
++++ b/src/ephy-window.c
+@@ -3234,7 +3234,7 @@ set_permission (EphyPermissionRequestData *data,
+                                              data->permission_type, data->origin,
+                                              response ? EPHY_PERMISSION_PERMIT
+                                                       : EPHY_PERMISSION_DENY);
+-  } else if (EPHY_PERMISSION_TYPE_ACCESS_WEBCAM_AND_MICROPHONE) {
++  } else if (data->permission_type == EPHY_PERMISSION_TYPE_ACCESS_WEBCAM_AND_MICROPHONE) {
+     ephy_permissions_manager_set_permission (permissions_manager,
+                                              EPHY_PERMISSION_TYPE_ACCESS_WEBCAM,
+                                              data->origin,
+-- 
+GitLab
+

diff --git a/epiphany.spec b/epiphany.spec
index b3c2330..9f577f1 100644
--- a/epiphany.spec
+++ b/epiphany.spec
@@ -21,6 +21,7 @@ Patch0:         epiphany-default-bookmarks.patch
 Patch1:         CVE-2026-18487.patch
 Patch2:         CVE-2026-94291.patch
 Patch3:         CVE-2026-118599.patch
+Patch4:         CVE-2026-118598.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-118598 Adrian Vovk

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