Skip to contentSkip to conversation

package/wpewebkit: security bump to version 2.50.1

PATCH In review Adrian Perez de Castro 3 participants 4 messages Oct 17, 2025 – Feb 18

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 package/wpewebkit: security bump to version 2.50.1

This updates WPE WebKit to the 2.50 stable series. WPE WebKit 2.50 highlights and 2.50.1 release notes:

- https://wpewebkit.org/release/wpewebkit-2.50.0.html

- https://wpewebkit.org/release/wpewebkit-2.50.1.html

Fixes the following security issues:

- From https://wpewebkit.org/security/WSA-2025-0007.html
CVE-2025-43343

- From https://wpewebkit.org/security/WSA-2025-0006.html
CVE-2025-43272, CVE-2025-43342, CVE-2025-43356, CVE-2025-43368

- From https://wpewebkit.org/security/WSA-2025-0005.html
CVE-2025-31273, CVE-2025-31278, CVE-2025-43211, CVE-2025-43212, CVE-2025-43216, CVE-2025-43227, CVE-2025-43228, CVE-2025-43240, CVE-2025-43265, CVE-2025-6558

Two patches which fix build issues are included. Those have been merged upstream, both in the "main" branch and in the 2.50.x release branch.

---
 ...001-Unreviewed-non-unified-build-fix.patch | 44 +++++++++
 ...d-with-USE_SKIA_OPENTYPE_SVG-ON-and-.patch | 44 ---------
 ...39-main-c78f2b76d86c-.-https-bugs.we.patch | 96 +++++++++++++++++++
 package/wpewebkit/wpewebkit.hash              |  8 +-
 package/wpewebkit/wpewebkit.mk                |  2 +-
 5 files changed, 145 insertions(+), 49 deletions(-)
 create mode 100644 package/wpewebkit/0001-Unreviewed-non-unified-build-fix.patch
 delete mode 100644 package/wpewebkit/0001-WPE-Fix-the-build-with-USE_SKIA_OPENTYPE_SVG-ON-and-.patch
 create mode 100644 package/wpewebkit/0002-Cherry-pick-301539-main-c78f2b76d86c-.-https-bugs.we.patch
package/wpewebkit/0001-Unreviewed-non-unified-build-fix.patch new file +44 -0
new file mode 100644
index 0000000000..0be7a37f67
@@ -0,0 +1,44 @@
+From 18434b4f402064dc68344f3d57fd79dcac972949 Mon Sep 17 00:00:00 2001
+From: Adrian Perez de Castro <[email protected]>
+Date: Tue, 14 Oct 2025 22:57:15 +0300
+Subject: [PATCH] Unreviewed non-unified build fix
+
+* Source/WebCore/loader/ImageLoader.cpp: Add missing include.
+* Source/WebKit/WebProcess/WebPage/WebPage.cpp: Ditto.
+
+Canonical link: https://commits.webkit.org/298234.198@webkitglib/2.50
+
+Signed-off-by: Adrian Perez de Castro <[email protected]>
+Upstream: https://github.com/WebKit/WebKit/commit/18434b4f402064dc68344f3d57fd79dcac972949
+---
+ Source/WebCore/loader/ImageLoader.cpp        | 1 +
+ Source/WebKit/WebProcess/WebPage/WebPage.cpp | 1 +
+ 2 files changed, 2 insertions(+)
+
+diff --git a/Source/WebCore/loader/ImageLoader.cpp b/Source/WebCore/loader/ImageLoader.cpp
+index 504a8db9d5fc..0f987b0abea2 100644
+--- a/Source/WebCore/loader/ImageLoader.cpp
++++ b/Source/WebCore/loader/ImageLoader.cpp
+@@ -29,6 +29,7 @@
+ #include "CachedResourceRequest.h"
+ #include "Chrome.h"
+ #include "ChromeClient.h"
++#include "ContainerNodeInlines.h"
+ #include "CookieJar.h"
+ #include "CrossOriginAccessControl.h"
+ #include "Document.h"
+diff --git a/Source/WebKit/WebProcess/WebPage/WebPage.cpp b/Source/WebKit/WebProcess/WebPage/WebPage.cpp
+index bf2d3f7eccb5..54ab23ec581c 100644
+--- a/Source/WebKit/WebProcess/WebPage/WebPage.cpp
++++ b/Source/WebKit/WebProcess/WebPage/WebPage.cpp
+@@ -189,6 +189,7 @@
+ #include <WebCore/Chrome.h>
+ #include <WebCore/CommonVM.h>
+ #include <WebCore/ContactsRequestData.h>
++#include <WebCore/ContainerNodeInlines.h>
+ #include <WebCore/ContextMenuController.h>
+ #include <WebCore/CrossOriginEmbedderPolicy.h>
+ #include <WebCore/CrossOriginOpenerPolicy.h>
+-- 
+2.51.0
+
package/wpewebkit/0001-WPE-Fix-the-build-with-USE_SKIA_OPENTYPE_SVG-ON-and-.patch deleted +0 -44

44 lines not on this page · raw message

package/wpewebkit/0002-Cherry-pick-301539-main-c78f2b76d86c-.-https-bugs.we.patch new file +96 -0

96 lines not on this page · raw message

package/wpewebkit/wpewebkit.hash +4 -4
index 332fd9deaa..5a0c6e3ce5 100644
@@ -1,7 +1,7 @@
-# From https://wpewebkit.org/releases/wpewebkit-2.48.3.tar.xz.sums
-md5  2d3b7fa3c62886546f918fcc289cabbe  wpewebkit-2.48.3.tar.xz
-sha1  8a90b9ff8809c99c306defc1a08e50a31a09c590  wpewebkit-2.48.3.tar.xz
-sha256  807571f07e87823b8fb79564692c9b1ef81ee62edbf51345a15bd0e7e1f2e07b  wpewebkit-2.48.3.tar.xz
+# From https://wpewebkit.org/releases/wpewebkit-2.50.1.tar.xz.sums
+md5  574a56386680d9732b40a05b1f4adef1  wpewebkit-2.50.1.tar.xz
+sha1  da0083ea88619bdce502fa58f036b87646bd0579  wpewebkit-2.50.1.tar.xz
+sha256  305437a4ba869e4106c1d4a8cb2a7be3f43b75d9d026e9b97c6f6debc04a673b  wpewebkit-2.50.1.tar.xz
 
 # Hashes for license files:
 sha256  0b5d3a7cc325942567373b0ecd757d07c132e0ebd7c97bfc63f7e1a76094edb4  Source/WebCore/LICENSE-APPLE
package/wpewebkit/wpewebkit.mk +1 -1
index 796e271ecb..a6ea738132 100644
@@ -5,7 +5,7 @@
 ################################################################################
 
 # The middle number is even for stable releases, odd for development ones.
-WPEWEBKIT_VERSION = 2.48.3
+WPEWEBKIT_VERSION = 2.50.1
 WPEWEBKIT_SITE = https://wpewebkit.org/releases
 WPEWEBKIT_SOURCE = wpewebkit-$(WPEWEBKIT_VERSION).tar.xz
 WPEWEBKIT_INSTALL_STAGING = YES
Signature · 6 lines
2.51.1.dirty

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#1 lore raw

Hi Adrian,

Thanks for the patch.

Quoted 20 lines · Adrian Perez de Castro

This updates WPE WebKit to the 2.50 stable series. WPE WebKit 2.50 highlights and 2.50.1 release notes:

- https://wpewebkit.org/release/wpewebkit-2.50.0.html

- https://wpewebkit.org/release/wpewebkit-2.50.1.html

Fixes the following security issues:

- From https://wpewebkit.org/security/WSA-2025-0007.html
CVE-2025-43343

- From https://wpewebkit.org/security/WSA-2025-0006.html
CVE-2025-43272, CVE-2025-43342, CVE-2025-43356, CVE-2025-43368

- From https://wpewebkit.org/security/WSA-2025-0005.html
CVE-2025-31273, CVE-2025-31278, CVE-2025-43211, CVE-2025-43212, CVE-2025-43216, CVE-2025-43227, CVE-2025-43228, CVE-2025-43240, CVE-2025-43265, CVE-2025-6558

Quoted 5 lines

Two patches which fix build issues are included. Those have been merged upstream, both in the "main" branch and in the 2.50.x release branch.

I naively tried to compile the package with this patch on top of the master branch at commit 7095e120a2 with the following commands:

cat >.config <<EOF
BR2_aarch64=y
BR2_TOOLCHAIN_EXTERNAL=y
BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y
BR2_PACKAGE_MESA3D=y
BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_SOFTPIPE=y
BR2_PACKAGE_MESA3D_OPENGL_EGL=y
BR2_PACKAGE_MESA3D_OPENGL_ES=y
BR2_PACKAGE_WPEWEBKIT=y
BR2_PACKAGE_WPEWEBKIT_SANDBOX=y
BR2_PACKAGE_WPEWEBKIT_MULTIMEDIA=y
BR2_PACKAGE_WPEWEBKIT_MEDIA_STREAM=y
BR2_PACKAGE_WPEWEBKIT_WEBDRIVER=y
EOF
make olddefconfig
make wpewebkit

And it failed at configure time, complaining about missing freetype (then fontconfig) libraries, with the following error:

Could NOT find Freetype (missing: FREETYPE_LIBRARY FREETYPE_INCLUDE_DIRS) (Required is at least version "2.9.0")

I also tried with BR2_PACKAGE_WPEWEBKIT=y only (without the sub-options) and it fails the same way. I don't think the issue is introduced by this patch, as I see the same issue without this patch.

I was not able to compile the package without manual modifications.

Could you have a look if you can fix this issue, please?

Best regards,

Julien.
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot

#2 lore raw
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Julien" == Julien Olivain via buildroot <[email protected]> writes:

Hi Adrian,

Quoted 27 lines

I naively tried to compile the package with this patch on top of the master branch at commit 7095e120a2 with the following commands:

cat >.config <<EOF
BR2_aarch64=y
BR2_TOOLCHAIN_EXTERNAL=y
BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y
BR2_PACKAGE_MESA3D=y
BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_SOFTPIPE=y
BR2_PACKAGE_MESA3D_OPENGL_EGL=y
BR2_PACKAGE_MESA3D_OPENGL_ES=y
BR2_PACKAGE_WPEWEBKIT=y
BR2_PACKAGE_WPEWEBKIT_SANDBOX=y
BR2_PACKAGE_WPEWEBKIT_MULTIMEDIA=y
BR2_PACKAGE_WPEWEBKIT_MEDIA_STREAM=y
BR2_PACKAGE_WPEWEBKIT_WEBDRIVER=y
EOF
make olddefconfig
make wpewebkit

And it failed at configure time, complaining about missing freetype (then fontconfig) libraries, with the following error:

Could NOT find Freetype (missing: FREETYPE_LIBRARY FREETYPE_INCLUDE_DIRS)
(Required is at least version "2.9.0")

Quoted 8 lines

I also tried with BR2_PACKAGE_WPEWEBKIT=y only (without the sub-options) and it fails the same way. I don't think the issue is introduced by this patch, as I see the same issue without this patch.

I was not able to compile the package without manual modifications.

Could you have a look if you can fix this issue, please?

Could you please have a look at this Adrian? Having a wpewebkit package with known security issues since October is not great :(

Signature · 5 lines
Bye, Peter Korsgaard
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#3 lore raw
Quoted 35 lines · On Mon, 02 Feb 2026 14:40:53 +0100 Peter Korsgaard <[email protected]> wrote:
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Julien" == Julien Olivain via buildroot <[email protected]> writes:

Hi Adrian,

Quoted 31 lines

I naively tried to compile the package with this patch on top of the master branch at commit 7095e120a2 with the following commands:

cat >.config <<EOF
BR2_aarch64=y
BR2_TOOLCHAIN_EXTERNAL=y
BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y
BR2_PACKAGE_MESA3D=y
BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_SOFTPIPE=y
BR2_PACKAGE_MESA3D_OPENGL_EGL=y
BR2_PACKAGE_MESA3D_OPENGL_ES=y
BR2_PACKAGE_WPEWEBKIT=y
BR2_PACKAGE_WPEWEBKIT_SANDBOX=y
BR2_PACKAGE_WPEWEBKIT_MULTIMEDIA=y
BR2_PACKAGE_WPEWEBKIT_MEDIA_STREAM=y
BR2_PACKAGE_WPEWEBKIT_WEBDRIVER=y
EOF
make olddefconfig
make wpewebkit

And it failed at configure time, complaining about missing freetype (then fontconfig) libraries, with the following error:

Could NOT find Freetype (missing: FREETYPE_LIBRARY FREETYPE_INCLUDE_DIRS)
(Required is at least version "2.9.0")

I also tried with BR2_PACKAGE_WPEWEBKIT=y only (without the sub-options) and it fails the same way. I don't think the issue is introduced by this patch, as I see the same issue without this patch.

Fixed by https://patchwork.ozlabs.org/project/buildroot/patch/[email protected]/

Quoted 6 lines
Quoted 3 lines

I was not able to compile the package without manual modifications.

Could you have a look if you can fix this issue, please?

Could you please have a look at this Adrian? Having a wpewebkit package with known security issues since October is not great :(

Bernd has also submitted an update to 2.50.5 (the current latest stable
release) in https://patchwork.ozlabs.org/project/buildroot/patch/[email protected]/

I've acked both patches.

Cheers,
—Adrián

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot