public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Adrian Vovk <avovk@redhat.com>
To: git-commits@fedoraproject.org
Subject: [rpms/epiphany] rawhide: Fix CVE-2026-118598
Date: Wed, 28 Oct 2026 23:43:49 GMT	[thread overview]
Message-ID: <179323102904.1.9202871629338883299.rpms-epiphany-a6decb40cd5f@fedoraproject.org> (raw)

A new commit has been pushed.

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

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 8509fa8..0aab586 100644
--- a/epiphany.spec
+++ b/epiphany.spec
@@ -20,6 +20,7 @@ Source0:        https://download.gnome.org/sources/epiphany/%{gnome_major_versio
 Patch0:         epiphany-default-bookmarks.patch
 
 Patch1:         CVE-2026-118599.patch
+Patch2:         CVE-2026-118598.patch
 
 BuildRequires:  /usr/bin/rst2man
 BuildRequires:  blueprint-compiler

                 reply	other threads:[~2026-10-28 23:43 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=179323102904.1.9202871629338883299.rpms-epiphany-a6decb40cd5f@fedoraproject.org \
    --to=avovk@redhat.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