fontforge: patch CVE-2025-15279
PATCH 1/15 fontforge: patch CVE-2025-15279
Details: https://nvd.nist.gov/vuln/detail/CVE-2025-15279
Pick the patch that mentions this vulnerability ID explicitly. Also, this patch has caused some regression - pick the patch also that fixed that regression.
--- .../fontforge/CVE-2025-15279-1.patch | 41 +++++++++++++++++++ .../fontforge/CVE-2025-15279-2.patch | 34 +++++++++++++++ .../fontforge/fontforge_20230101.bb | 4 +- 3 files changed, 78 insertions(+), 1 deletion(-) create mode 100644 meta-oe/recipes-graphics/fontforge/fontforge/CVE-2025-15279-1.patch create mode 100644 meta-oe/recipes-graphics/fontforge/fontforge/CVE-2025-15279-2.patch
meta-oe/recipes-graphics/fontforge/fontforge/CVE-2025-15279-1.patch new file +41 -0
@@ -0,0 +1,41 @@ +From 545b5eedf2a6866aecc04102f2e0853089cb760e Mon Sep 17 00:00:00 2001 +From: Ahmet Furkan Kavraz + <[email protected]> +Date: Thu, 8 Jan 2026 15:47:43 +0100 +Subject: [PATCH] Fix CVE-2025-15279: Heap buffer overflow in BMP RLE + decompression (#5720) + +CVSS: 7.8 (High) +ZDI-CAN-27517 +Co-authored-by: Ahmet Furkan Kavraz <[email protected]> + +CVE: CVE-2025-15279 +Upstream-Status: Backport [https://github.com/fontforge/fontforge/commit/7d67700cf8888e0bb37b453ad54ed932c8587073] +Signed-off-by: Gyorgy Sarvari <[email protected]> +--- + gutils/gimagereadbmp.c | 6 ++++++ + 1 file changed, 6 insertions(+) + +diff --git a/gutils/gimagereadbmp.c b/gutils/gimagereadbmp.c +index 5a137e28a..133336787 100644 +--- a/gutils/gimagereadbmp.c ++++ b/gutils/gimagereadbmp.c +@@ -181,12 +181,18 @@ static int readpixels(FILE *file,struct bmpheader *head) { + int ii = 0; + while ( ii<head->height*head->width ) { + int cnt = getc(file); ++ if (cnt < 0 || ii + cnt > head->height * head->width) { ++ return 0; ++ } + if ( cnt!=0 ) { + int ch = getc(file); + while ( --cnt>=0 ) + head->byte_pixels[ii++] = ch; + } else { + cnt = getc(file); ++ if (cnt < 0 || ii + cnt > head->height * head->width) { ++ return 0; ++ } + if ( cnt>= 3 ) { + int odd = cnt&1; + while ( --cnt>=0 )
meta-oe/recipes-graphics/fontforge/fontforge/CVE-2025-15279-2.patch new file +34 -0
@@ -0,0 +1,34 @@ +From 3bbdf6c7c161ff45d793e3bf5047720156e466ae Mon Sep 17 00:00:00 2001 +From: Ahmet Furkan Kavraz + <[email protected]> +Date: Mon, 12 Jan 2026 22:45:16 +0100 +Subject: [PATCH] Fix CVE-2025-15279: Move bounds check inside cnt >= 3 block + (#5723) + +Co-authored-by: Ahmet Furkan Kavraz <[email protected]> + +CVE: CVE-2025-15279 +Upstream-Status: Backport [https://github.com/fontforge/fontforge/commit/720ea95020c964202928afd2e93b0f5fac11027e] +Signed-off-by: Gyorgy Sarvari <[email protected]> +--- + gutils/gimagereadbmp.c | 6 +++--- + 1 file changed, 3 insertions(+), 3 deletions(-) + +diff --git a/gutils/gimagereadbmp.c b/gutils/gimagereadbmp.c +index 133336787..ad365158c 100644 +--- a/gutils/gimagereadbmp.c ++++ b/gutils/gimagereadbmp.c +@@ -190,10 +190,10 @@ static int readpixels(FILE *file,struct bmpheader *head) { + head->byte_pixels[ii++] = ch; + } else { + cnt = getc(file); +- if (cnt < 0 || ii + cnt > head->height * head->width) { +- return 0; +- } + if ( cnt>= 3 ) { ++ if (ii + cnt > head->height * head->width) { ++ return 0; ++ } + int odd = cnt&1; + while ( --cnt>=0 ) + head->byte_pixels[ii++] = getc(file);
meta-oe/recipes-graphics/fontforge/fontforge_20230101.bb +3 -1
@@ -21,7 +21,9 @@ SRC_URI = "git://github.com/${BPN}/${BPN}.git;branch=master;protocol=https \ file://0001-cmake-Use-alternate-way-to-detect-libm.patch \ file://0001-Fix-Translations-containing-invalid-directives-hs.patch \ file://CVE-2024-25081_CVE-2024-25082.patch \ -" + file://CVE-2025-15279-1.patch \ + file://CVE-2025-15279-2.patch \ + " EXTRA_OECMAKE = "-DENABLE_DOCS=OFF" PACKAGECONFIG = "readline"
PATCH 2/15 fontforge: patch CVE-2025-15275
Details: https://nvd.nist.gov/vuln/detail/CVE-2025-15275
Pick the patch that mentions this vulnerability ID explicitly.
--- .../fontforge/fontforge/CVE-2025-15275.patch | 33 +++++++++++++++++++ .../fontforge/fontforge_20230101.bb | 1 + 2 files changed, 34 insertions(+) create mode 100644 meta-oe/recipes-graphics/fontforge/fontforge/CVE-2025-15275.patch
meta-oe/recipes-graphics/fontforge/fontforge/CVE-2025-15275.patch new file +33 -0
@@ -0,0 +1,33 @@ +From 4c0658f56faf6d64382721a230ee57038035110a Mon Sep 17 00:00:00 2001 +From: Ahmet Furkan Kavraz + <[email protected]> +Date: Fri, 9 Jan 2026 16:58:23 +0100 +Subject: [PATCH] Fix CVE-2025-15275: Heap buffer overflow in SFD image parsing + (#5721) + +Fixes: CVE-2025-15275 | ZDI-25-1189 | ZDI-CAN-28543 + +Co-authored-by: Ahmet Furkan Kavraz <[email protected]> + +CVE: CVE-2025-15275 +Upstream-Status: Backport [https://github.com/fontforge/fontforge/commit/7195402701ace7783753ef9424153eff48c9af44] +Signed-off-by: Gyorgy Sarvari <[email protected]> +--- + fontforge/sfd.c | 4 ++++ + 1 file changed, 4 insertions(+) + +diff --git a/fontforge/sfd.c b/fontforge/sfd.c +index cd661584b..4db9feebb 100644 +--- a/fontforge/sfd.c ++++ b/fontforge/sfd.c +@@ -3724,6 +3724,10 @@ static ImageList *SFDGetImage(FILE *sfd) { + getint(sfd,&image_type); + getint(sfd,&bpl); + getint(sfd,&clutlen); ++ if ( clutlen < 0 || clutlen > 256 ) { ++ LogError(_("Invalid clut length %d in sfd file, must be between 0 and 256"), clutlen); ++ return NULL; ++ } + gethex(sfd,&trans); + image = GImageCreate(image_type,width,height); + base = image->list_len==0?image->u.image:image->u.images[0];
meta-oe/recipes-graphics/fontforge/fontforge_20230101.bb +1 -0
@@ -23,6 +23,7 @@ SRC_URI = "git://github.com/${BPN}/${BPN}.git;branch=master;protocol=https \ file://CVE-2024-25081_CVE-2024-25082.patch \ file://CVE-2025-15279-1.patch \ file://CVE-2025-15279-2.patch \ + file://CVE-2025-15275.patch \ " EXTRA_OECMAKE = "-DENABLE_DOCS=OFF"
PATCH 3/15 fontforge: patch CVE-2025-15269
In reply to Gyorgy SarvariDetails: https://nvd.nist.gov/vuln/detail/CVE-2025-15269
Pick the patch that refers to this vulnerability ID explicitly.
--- .../fontforge/fontforge/CVE-2025-15269.patch | 35 +++++++++++++++++++ .../fontforge/fontforge_20230101.bb | 1 + 2 files changed, 36 insertions(+) create mode 100644 meta-oe/recipes-graphics/fontforge/fontforge/CVE-2025-15269.patch
meta-oe/recipes-graphics/fontforge/fontforge/CVE-2025-15269.patch new file +35 -0
@@ -0,0 +1,35 @@ +From 904971c570f0697a9052c6fa699f1a2c9b2669a2 Mon Sep 17 00:00:00 2001 +From: Ahmet Furkan Kavraz + <[email protected]> +Date: Sat, 10 Jan 2026 20:06:53 +0100 +Subject: [PATCH] Fix CVE-2025-15269: Use-after-free in SFD ligature parsing + (#5722) + +Prevent circular linked list in LigaCreateFromOldStyleMultiple by clearing +the next pointer after shallow copy. The shallow copy propagates liga's +modified next pointer from previous iterations, creating a cycle that +causes double-free when the list is traversed and freed. + +Fixes: CVE-2025-15269 | ZDI-25-1195 | ZDI-CAN-28564 + +Co-authored-by: Ahmet Furkan Kavraz <[email protected]> + +CVE: CVE-2025-15269 +Upstream-Status: Backport [https://github.com/fontforge/fontforge/commit/6aea6db5da332d8ac94e3501bb83c1b21f52074d] +Signed-off-by: Gyorgy Sarvari <[email protected]> +--- + fontforge/sfd.c | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/fontforge/sfd.c b/fontforge/sfd.c +index 4db9feebb..894176254 100644 +--- a/fontforge/sfd.c ++++ b/fontforge/sfd.c +@@ -4786,6 +4786,7 @@ static PST1 *LigaCreateFromOldStyleMultiple(PST1 *liga) { + while ( (pt = strrchr(liga->pst.u.lig.components,';'))!=NULL ) { + new = chunkalloc(sizeof( PST1 )); + *new = *liga; ++ new->pst.next = NULL; + new->pst.u.lig.components = copy(pt+1); + last->pst.next = (PST *) new; + last = new;
meta-oe/recipes-graphics/fontforge/fontforge_20230101.bb +1 -0
@@ -24,6 +24,7 @@ SRC_URI = "git://github.com/${BPN}/${BPN}.git;branch=master;protocol=https \ file://CVE-2025-15279-1.patch \ file://CVE-2025-15279-2.patch \ file://CVE-2025-15275.patch \ + file://CVE-2025-15269.patch \ " EXTRA_OECMAKE = "-DENABLE_DOCS=OFF"
PATCH 4/15 fontforge: patch CVE-2025-15270
In reply to Gyorgy SarvariDetails: https://nvd.nist.gov/vuln/detail/CVE-2025-15270
Pick the patch that mentions this vulnerbaility explicitly in its description.
--- .../fontforge/fontforge/CVE-2025-15270.patch | 44 +++++++++++++++++++ .../fontforge/fontforge_20230101.bb | 1 + 2 files changed, 45 insertions(+) create mode 100644 meta-oe/recipes-graphics/fontforge/fontforge/CVE-2025-15270.patch
meta-oe/recipes-graphics/fontforge/fontforge/CVE-2025-15270.patch new file +44 -0
@@ -0,0 +1,44 @@ +From 647e17c1313b0be5159616e4345e6007e1f377a5 Mon Sep 17 00:00:00 2001 +From: Ahmet Furkan Kavraz + <[email protected]> +Date: Sat, 31 Jan 2026 21:23:41 +0100 +Subject: [PATCH] Fix CVE-2025-15270: Heap buffer overflow in SFD kern class + parsing (#5743) + +Fixes: CVE-2025-15270 | ZDI-25-1194 | ZDI-CAN-28563 + +Co-authored-by: Ahmet Furkan Kavraz <[email protected]> + +CVE: CVE-2025-15270 +Upstream-Status: Backport [https://github.com/fontforge/fontforge/commit/d01333a5bfa2ac4ed698c24b323d02107deacad7] +Signed-off-by: Gyorgy Sarvari <[email protected]> +--- + fontforge/sfd.c | 8 ++++++++ + 1 file changed, 8 insertions(+) + +diff --git a/fontforge/sfd.c b/fontforge/sfd.c +index 894176254..3692973fe 100644 +--- a/fontforge/sfd.c ++++ b/fontforge/sfd.c +@@ -8286,6 +8286,10 @@ bool SFD_GetFontMetaData( FILE *sfd, + for ( i=classstart; i<kc->first_cnt; ++i ) { + if (kernclassversion < 3) { + getint(sfd,&temp); ++ if (temp < 0) { ++ LogError(_("Corrupted SFD file: Invalid kern class name length %d. Aborting load."), temp); ++ return false; ++ } + kc->firsts[i] = malloc(temp+1); kc->firsts[i][temp] = '\0'; + nlgetc(sfd); /* skip space */ + fread(kc->firsts[i],1,temp,sfd); +@@ -8303,6 +8307,10 @@ bool SFD_GetFontMetaData( FILE *sfd, + for ( i=1; i<kc->second_cnt; ++i ) { + if (kernclassversion < 3) { + getint(sfd,&temp); ++ if (temp < 0) { ++ LogError(_("Corrupted SFD file: Invalid kern class name length %d. Aborting load."), temp); ++ return false; ++ } + kc->seconds[i] = malloc(temp+1); kc->seconds[i][temp] = '\0'; + nlgetc(sfd); /* skip space */ + fread(kc->seconds[i],1,temp,sfd);
meta-oe/recipes-graphics/fontforge/fontforge_20230101.bb +1 -0
@@ -25,6 +25,7 @@ SRC_URI = "git://github.com/${BPN}/${BPN}.git;branch=master;protocol=https \ file://CVE-2025-15279-2.patch \ file://CVE-2025-15275.patch \ file://CVE-2025-15269.patch \ + file://CVE-2025-15270.patch \ " EXTRA_OECMAKE = "-DENABLE_DOCS=OFF"
PATCH 5/15 gimp: update 3.0.6 -> 3.0.8
In reply to Gyorgy SarvariFrom: Markus Volk <[email protected]>
- remove cve fixes which are included in this release
- remove the fix for bzip2. meson.build was improved so this is not required anymore
- inherit bash-completion
This releases contains a lot of bugfixes. The below list is not exhaustive.
Core:
- Font handling improvements:
* Font loading on start massively sped up.
* As an exception, Skia font family (apparently quite common on macOS) is special-cased because it behaves weirdly and was not working with current font handling.
* Various other fixes related to font handling.
* We now wait for fonts to be fully loaded before loading any file.
- Command Line Interface:
* Option -i / --no-interface is not shown anymore on gimp-console binary (it can still be used — it does nothing there anyway —, which allows to use the same sets of option with the GUI binary, and also so that existing shell scripts don't break).
* Option --show-debug-menu is not hidden anymore for discoverability.
* The gimp-3.0 executable can now run with --no-interface even when no display is available (ex: virtual terminal with no window manager/compositor, containers, etc.). This used to only work with gimp-console-3.0 executable.
- Windows:
* output CLI messages to the parent console like Linux and macOS.
* Ctrl+C signals are now correctly handled in the attached console.
* The attached console supports color too.
* Interpreters are run conditionally if running in console.
- macOS: default to "quartz" Input Method for emoji keyboard support.
- Wayland: wait before we get our first surface before listing input devices to work around a Wayland limitation and GTK bug.
- Default "Search" feature in GTK3 is now disabled in the component editor in the Channels dockable.
- Several fixes related to Quick Mask handling.
- Fixed some cases where config migration from GIMP 2 to GIMP 3 was problematic.
- Several buggy undo cases were fixed.
- Several fixes related to pass-through group layers.
- Export will now be properly triggered even if no drawables are selected (this is not a requirement anymore with GIMP 3 API).
- Path import and export respectively from and to SVG improved.
- Serialize colors in legacy GimpRGB format into a XCF when the XCF version is older than GIMP 3 for backward compatibility.
Tools:
- Symmetry: fix initial stroke symmetry when using pixmap brushes.
- Move tool: fixed weird position jumps in some cases.
Graphical User Interface:
- Center buttons in overlay dialogs.
- Headerbar's (when titlebar and menubar are merged) button colors now match our theme.
- Dialogs' header icon and view will now scale based on custom icon size.
- Resize dialog: Canvas Size fill combo set to insensitive if layers won't be resized.
- Navigation and Selection editor will now properly match the theme (in particular, in dark mode, they won't show large bright area).
- Do not show outlines when hovering the absent "Fx" icon anymore, which was confusing people into making it look like you could click and interact with this empty area.
Plug-ins:
- Fixes on: OpenRaster export, TIFF import, Map Object, PDF export, Gradient Flare, ANI export, Script-Fu, DDS export, Fractal Explorer, PSP import, ICO import, XWD import, PSD import, WebP export, ICNS import, Gimpressionist, JPEG 2000 import, Busy Dialog.
- Scale entries have been replaced by spin scale widgets in a bunch of plug-ins.
- Fixed vulnerabilities: ZDI-CAN-28376, ZDI-CAN-28311, ZDI-CAN-28273,
ZDI-CAN-28158, ZDI-CAN-28232, ZDI-CAN-28265, ZDI-CAN-28530,
ZDI-CAN-28248, PSP issue 15732. - Script-Fu improved to not initialize UI code unnecessarily (and therefore make it unusable on systems without a display).
API:
- libgimp:
* Fixes where made in libgimp metadata object.
* Make GExiv2Metadata as parent of GimpMetadata visible to Gobject-Introspection tools (bindings were missing this information).
* Fixes made on: gimp_drawable_get_thumbnail(), gimp_drawable_get_sub_thumbnail(), gimp_drawable_filter_new(), gimp_proc_view_new(), gimp_procedure_set_sensitivity_mask(), gimp_procedure_dialog_get_spin_scale().
* Remove thumbnail metadata before writing it on export, to make sure we don't cary on metadata written by other software in thumbnails.
- libgimpconfig:
* Improve error messaging on config deserialization.
* Fix gimp_config_serialize_value() when serializing file objects.
* New functions: gimp_config_get_xcf_version() and gimp_config_set_xcf_version().
- libgimpcolor:
* gimp_color_is_perceptually_identical() docs clarified.
- libgimpbase:
* The host config directory is now shown in MSIX.
* The host config directory is now shown in flatpak.
- libgimpwidgets:
* Fixes made on: GimpLabelEntry, gimp_widget_free_native_handle().
- libgimpcolor:
* New function: gimp_cairo_surface_get_buffer()
* Deprecated function: gimp_cairo_surface_create_buffer() in favor of gimp_cairo_surface_get_buffer().
The function implementation was also changed so that it does not necessarily return a linear-memory backed buffer anymore (it might, but developers should not have any expectation about this).
Build:
- Third-party binary plug-in support in the Snap backported from the original third-party snap.
- Snap package for release is now created and submitted on a release pipeline.
- Release URLs added to AppStream metadata.
- We do not build GEGL with Matting Levin for Windows builds anymore because of crashes.
- Flatpak nightly builds will now show a pseudo-release visible with flatpak list, showing proper version information.
- Windows installer now has a dark mode.
- Update changelog on MS Store (MSIX) releases.
- AppImage now ships with full MIDI support.
- Make it clearer that GExiv2 0.15.0 and over are incompatible (because of API breakage).
- Improve build to ensure that the language list (shown in Preferences) is localized during compilation. This also means that a build machine should be set up for localization at build time when
optional language selection is enabled.
- We now require the generic C++14 standard, and not the GNU variant anymore.
- MSVC support added.
- Various tweaks which used to be required to make packages work as relocatable builds were dropped since babl and GEGL now have a relocatable option working also on Linux.
- The man page of GIMP binaries was updated.
- The gimp-console binary is now shipped in the Flatpak.
- macOS pipeline added in our Gitlab CI.
- Make sure that harfbuzz is built with libgraphite2 shaper on macOS.
- Generate file associations for macOS automatically.
- A Bash completion file was added for gimp and gimp-console binaries.
---
.../0001-gimp-cross-compile-fix-for-bz2.patch | 30 -----
.../gimp/gimp/CVE-2025-14422.patch | 66 -----------
.../gimp/gimp/CVE-2025-14423.patch | 106 ------------------
.../gimp/gimp/CVE-2025-14424.patch | 34 ------
.../gimp/gimp/CVE-2025-14425.patch | 79 -------------
.../gimp/{gimp_3.0.6.bb => gimp_3.0.8.bb} | 9 +-
6 files changed, 2 insertions(+), 322 deletions(-)
delete mode 100644 meta-gnome/recipes-gimp/gimp/gimp/0001-gimp-cross-compile-fix-for-bz2.patch
delete mode 100644 meta-gnome/recipes-gimp/gimp/gimp/CVE-2025-14422.patch
delete mode 100644 meta-gnome/recipes-gimp/gimp/gimp/CVE-2025-14423.patch
delete mode 100644 meta-gnome/recipes-gimp/gimp/gimp/CVE-2025-14424.patch
delete mode 100644 meta-gnome/recipes-gimp/gimp/gimp/CVE-2025-14425.patch
rename meta-gnome/recipes-gimp/gimp/{gimp_3.0.6.bb => gimp_3.0.8.bb} (92%)meta-gnome/recipes-gimp/gimp/gimp/0001-gimp-cross-compile-fix-for-bz2.patch deleted +0 -30
@@ -1,30 +0,0 @@ -From a7e40e19d17404cf5ec4135fc1becd5a90f5e1e1 Mon Sep 17 00:00:00 2001 -From: Markus Volk <[email protected]> -Date: Wed, 25 Dec 2024 07:27:04 +0100 -Subject: [PATCH] gimp: cross-compile fix for bz2 - -autotools bzip2 build does not create pkgconfig files so looking for the dependency fails. - -Signed-off-by: Markus Volk <[email protected]> - -Upstream-Status: Inappropriate [can probably be removed once bzip2 is built with meson or cmake] ---- - meson.build | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/meson.build b/meson.build -index 4e48f8c64c..d5dce47015 100644 ---- a/meson.build -+++ b/meson.build -@@ -777,7 +777,7 @@ zlib = dependency('zlib') - zlib = dependency('zlib') - - # Compiler-provided headers can't be found in crossroads environment --if not meson.is_cross_build() -+if true - bz2 = cc.find_library('bz2') - else - bz2 = dependency('bzip2') --- -2.47.1 -
meta-gnome/recipes-gimp/gimp/gimp/CVE-2025-14422.patch deleted +0 -66
66 lines not on this page · raw message
meta-gnome/recipes-gimp/gimp/gimp/CVE-2025-14423.patch deleted +0 -106
106 lines not on this page · raw message
meta-gnome/recipes-gimp/gimp/gimp/CVE-2025-14424.patch deleted +0 -34
@@ -1,34 +0,0 @@ -From d30875b606085316b1cb7ac1da0d26e5bac0cf2c Mon Sep 17 00:00:00 2001 -From: Gyorgy Sarvari <[email protected]> -Date: Thu, 13 Nov 2025 18:26:51 -0500 -Subject: [PATCH] app: fix #15288 crash when loading malformed xcf - -From: Jacob Boerema <[email protected]> - -ZDI-CAN-28376 vulnerability - -Add extra tests to not crash on a NULL g_class. - -CVE: CVE-2025-14424 -Upstream-Status: Backport [https://gitlab.gnome.org/GNOME/gimp/-/commit/5cc55d078b7fba995cef77d195fac325ee288ddd] -Signed-off-by: Gyorgy Sarvari <[email protected]> ---- - app/core/gimpitemlist.c | 5 ++++- - 1 file changed, 4 insertions(+), 1 deletion(-) - -diff --git a/app/core/gimpitemlist.c b/app/core/gimpitemlist.c -index 6473938..a431519 100644 ---- a/app/core/gimpitemlist.c -+++ b/app/core/gimpitemlist.c -@@ -345,7 +345,10 @@ gimp_item_list_named_new (GimpImage *image, - g_return_val_if_fail (GIMP_IS_IMAGE (image), NULL); - - for (iter = items; iter; iter = iter->next) -- g_return_val_if_fail (g_type_is_a (G_OBJECT_TYPE (iter->data), item_type), NULL); -+ { -+ g_return_val_if_fail (iter->data && ((GTypeInstance*) (iter->data))->g_class, NULL); -+ g_return_val_if_fail (g_type_is_a (G_OBJECT_TYPE (iter->data), item_type), NULL); -+ } - - if (! items) - {
meta-gnome/recipes-gimp/gimp/gimp/CVE-2025-14425.patch deleted +0 -79
79 lines not on this page · raw message
meta-gnome/recipes-gimp/gimp/gimp_3.0.8.bb renamed from meta-gnome/recipes-gimp/gimp/gimp_3.0.6.bb +2 -7
@@ -46,7 +46,7 @@ DEPENDS:append:libc-musl = " libexecinfo" LDFLAGS:append:libc-musl = " -lexecinfo" -inherit meson gtk-icon-cache mime-xdg pkgconfig gettext gobject-introspection vala +inherit meson gtk-icon-cache mime-xdg pkgconfig gettext gobject-introspection vala bash-completion GIR_MESON_OPTION = 'can-crosscompile-gir' VALA_MESON_OPTION = "vala"
@@ -57,16 +57,11 @@ GIDOCGEN_MESON_ENABLE_FLAG = "enabled" GIDOCGEN_MESON_DISABLE_FLAG = "disabled" SRC_URI = "https://download.gimp.org/gimp/v3.0/${BP}.tar.xz \ - file://0001-gimp-cross-compile-fix-for-bz2.patch \ file://0002-meson.build-reproducibility-fix.patch \ file://0001-meson.build-dont-check-for-lgi.patch \ file://0001-meson.build-require-iso-codes-native.patch \ - file://CVE-2025-14422.patch \ - file://CVE-2025-14423.patch \ - file://CVE-2025-14424.patch \ - file://CVE-2025-14425.patch \ " -SRC_URI[sha256sum] = "246c225383c72ef9f0dc7703b7d707084bbf177bd2900e94ce466a62862e296b" +SRC_URI[sha256sum] = "feb498acc01b26827cff1ff95aa8fb82cdd6a60d7abf773cfcd19abeafca3386" PACKAGECONFIG[aa] = "-Daa=enabled,-Daa=disabled,aalib" PACKAGECONFIG[alsa] = "-Dalsa=enabled,-Dalsa=disabled,alsa-lib"
Re: [oe] [meta-gnome][whinlatter][PATCH 05/15] gimp: update 3.0.6 -> 3.0.8
Hi Gyorgy,
Getting following error when building for qemux86 with musl and clang
/gimpbacktrace-linux.c.o: in function `gimp_backtrace_get_address_info':
| /usr/src/debug/gimp/3.0.8/../sources/gimp-3.0.8/app/core/gimpbacktrace-linux.c:708:(.text+0xc14):
undefined reference to `_ULx86_init_local'
| /yocto/bitbake-builds/poky-whinlatter/build/tmp/work/core2-32-poky-linux-musl/gimp/3.0.8/recipe-sysroot-native/usr/bin/i686-poky-linux-musl/i686-poky-linux-musl-ld:
/usr/src/debug/gimp/3.0.8/../sources/gimp-3.0.8/app/core/gimpbacktrace-linux.c:709:(.text+0xc27):
undefined reference to `_ULx86_set_reg'
| /yocto/bitbake-builds/poky-whinlatter/build/tmp/work/core2-32-poky-linux-musl/gimp/3.0.8/recipe-sysroot-native/usr/bin/i686-poky-linux-musl/i686-poky-linux-musl-ld:
/usr/src/debug/gimp/3.0.8/../sources/gimp-3.0.8/app/core/gimpbacktrace-linux.c:710:(.text+0xc61):
undefined reference to `_ULx86_get_proc_name'
| i686-poky-linux-musl-clang++: error: linker command failed with exit
code 1 (use -v to see invocation)
| ninja: build stopped: subcommand failed.
Can you please have a look into it?
cheers
Ankur
Quoted 550 lines · Gyorgy Sarvari via lists.openembedded.org
From: Markus Volk <[email protected]>
- remove cve fixes which are included in this release
- remove the fix for bzip2. meson.build was improved so this is not required anymore
- inherit bash-completionThis releases contains a lot of bugfixes. The below list is not exhaustive.
Core:
- Font handling improvements:
* Font loading on start massively sped up.
* As an exception, Skia font family (apparently quite common on macOS) is special-cased because it behaves weirdly and was not working with current font handling.
* Various other fixes related to font handling.
* We now wait for fonts to be fully loaded before loading any file.
- Command Line Interface:
* Option -i / --no-interface is not shown anymore ongimp-consolebinary (it can still be used — it does nothing there anyway —, which allows to use the same sets of option with the GUI binary, and also so that existing shell scripts don't break).
* Option --show-debug-menu is not hidden anymore for discoverability.
* Thegimp-3.0executable can now run with --no-interface even when no display is available (ex: virtual terminal with no window manager/compositor, containers, etc.). This used to only work withgimp-console-3.0executable.
- Windows:
* output CLI messages to the parent console like Linux and macOS.
* Ctrl+C signals are now correctly handled in the attached console.
* The attached console supports color too.
* Interpreters are run conditionally if running in console.
- macOS: default to "quartz" Input Method for emoji keyboard support.
- Wayland: wait before we get our first surface before listing input devices to work around a Wayland limitation and GTK bug.
- Default "Search" feature in GTK3 is now disabled in the component editor in the Channels dockable.
- Several fixes related to Quick Mask handling.
- Fixed some cases where config migration from GIMP 2 to GIMP 3 was problematic.
- Several buggy undo cases were fixed.
- Several fixes related to pass-through group layers.
- Export will now be properly triggered even if no drawables are selected (this is not a requirement anymore with GIMP 3 API).
- Path import and export respectively from and to SVG improved.
- Serialize colors in legacy GimpRGB format into a XCF when the XCF version is older than GIMP 3 for backward compatibility.
Tools:
- Symmetry: fix initial stroke symmetry when using pixmap brushes.
- Move tool: fixed weird position jumps in some cases.
Graphical User Interface:
- Center buttons in overlay dialogs.
- Headerbar's (when titlebar and menubar are merged) button colors now match our theme.
- Dialogs' header icon and view will now scale based on custom icon size.
- Resize dialog: Canvas Size fill combo set to insensitive if layers won't be resized.
- Navigation and Selection editor will now properly match the theme (in particular, in dark mode, they won't show large bright area).- Do not show outlines when hovering the absent "Fx" icon anymore, which was confusing people into making it look like you could click and interact with this empty area.
Plug-ins:
- Fixes on: OpenRaster export, TIFF import, Map Object, PDF export, Gradient Flare, ANI export, Script-Fu, DDS export, Fractal Explorer, PSP import, ICO import, XWD import, PSD import, WebP export, ICNS import, Gimpressionist, JPEG 2000 import, Busy Dialog.
- Scale entries have been replaced by spin scale widgets in a bunch of plug-ins.
- Fixed vulnerabilities: ZDI-CAN-28376, ZDI-CAN-28311, ZDI-CAN-28273,ZDI-CAN-28158, ZDI-CAN-28232, ZDI-CAN-28265, ZDI-CAN-28530, ZDI-CAN-28248, PSP issue 15732.- Script-Fu improved to not initialize UI code unnecessarily (and therefore make it unusable on systems without a display).
API:
- libgimp:
* Fixes where made in libgimp metadata object.
* Make GExiv2Metadata as parent of GimpMetadata visible to Gobject-Introspection tools (bindings were missing this information).
* Fixes made on:gimp_drawable_get_thumbnail(),gimp_drawable_get_sub_thumbnail(),gimp_drawable_filter_new(),gimp_proc_view_new(),gimp_procedure_set_sensitivity_mask(),gimp_procedure_dialog_get_spin_scale().
* Remove thumbnail metadata before writing it on export, to make sure we don't cary on metadata written by other software in thumbnails.
- libgimpconfig:
* Improve error messaging on config deserialization.
* Fixgimp_config_serialize_value()when serializing file objects.
* New functions:gimp_config_get_xcf_version()andgimp_config_set_xcf_version().
- libgimpcolor:
*gimp_color_is_perceptually_identical()docs clarified.
- libgimpbase:
* The host config directory is now shown in MSIX.
* The host config directory is now shown in flatpak.
- libgimpwidgets:
* Fixes made on: GimpLabelEntry,gimp_widget_free_native_handle().
- libgimpcolor:
* New function:gimp_cairo_surface_get_buffer()
* Deprecated function:gimp_cairo_surface_create_buffer()in favor ofgimp_cairo_surface_get_buffer().
The function implementation was also changed so that it does not necessarily return a linear-memory backed buffer anymore (it might, but developers should not have any expectation about this).
Build:
- Third-party binary plug-in support in the Snap backported from the original third-party snap.
- Snap package for release is now created and submitted on a release pipeline.
- Release URLs added to AppStream metadata.
- We do not build GEGL with Matting Levin for Windows builds anymore because of crashes.
- Flatpak nightly builds will now show a pseudo-release visible withflatpak list, showing proper version information.
- Windows installer now has a dark mode.
- Update changelog on MS Store (MSIX) releases.
- AppImage now ships with full MIDI support.
- Make it clearer that GExiv2 0.15.0 and over are incompatible (because of API breakage).
- Improve build to ensure that the language list (shown in Preferences) is localized during compilation. This also means that a build machine should be set up for localization at build time whenoptional language selection is enabled.
- We now require the generic C++14 standard, and not the GNU variant anymore.
- MSVC support added.
- Various tweaks which used to be required to make packages work as relocatable builds were dropped since babl and GEGL now have a relocatable option working also on Linux.
- Themanpage of GIMP binaries was updated.
- Thegimp-consolebinary is now shipped in the Flatpak.
- macOS pipeline added in our Gitlab CI.
- Make sure that harfbuzz is built with libgraphite2 shaper on macOS.
- Generate file associations for macOS automatically.
- A Bash completion file was added forgimpandgimp-consolebinaries.Signed-off-by Markus Volk <[email protected]>Signed-off-by Khem Raj <[email protected]>(cherry picked from commit f8fcc9ccf529455c992e79fc13e77dfc1a8dd9d9)Signed-off-by Gyorgy Sarvari <[email protected]>--- .../0001-gimp-cross-compile-fix-for-bz2.patch | 30 ----- .../gimp/gimp/CVE-2025-14422.patch | 66 ----------- .../gimp/gimp/CVE-2025-14423.patch | 106 ------------------ .../gimp/gimp/CVE-2025-14424.patch | 34 ------ .../gimp/gimp/CVE-2025-14425.patch | 79 ------------- .../gimp/{gimp_3.0.6.bb => gimp_3.0.8.bb} | 9 +- 6 files changed, 2 insertions(+), 322 deletions(-) delete mode 100644 meta-gnome/recipes-gimp/gimp/gimp/0001-gimp-cross-compile-fix-for-bz2.patch delete mode 100644 meta-gnome/recipes-gimp/gimp/gimp/CVE-2025-14422.patch delete mode 100644 meta-gnome/recipes-gimp/gimp/gimp/CVE-2025-14423.patch delete mode 100644 meta-gnome/recipes-gimp/gimp/gimp/CVE-2025-14424.patch delete mode 100644 meta-gnome/recipes-gimp/gimp/gimp/CVE-2025-14425.patch rename meta-gnome/recipes-gimp/gimp/{gimp_3.0.6.bb => gimp_3.0.8.bb} (92%)meta-gnome/recipes-gimp/gimp/gimp/0001-gimp-cross-compile-fix-for-bz2.patch deleted +0
-30@@ -1,30 +0,0 @@ -From a7e40e19d17404cf5ec4135fc1becd5a90f5e1e1 Mon Sep 17 00:00:00 2001 -From: Markus Volk <[email protected]> -Date: Wed, 25 Dec 2024 07:27:04 +0100 -Subject: [PATCH] gimp: cross-compile fix for bz2 - -autotools bzip2 build does not create pkgconfig files so looking for the dependency fails. - -Signed-off-by: Markus Volk <[email protected]> - -Upstream-Status: Inappropriate [can probably be removed once bzip2 is built with meson or cmake] ---- - meson.build | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/meson.build b/meson.build -index 4e48f8c64c..d5dce47015 100644 ---- a/meson.build -+++ b/meson.build -@@ -777,7 +777,7 @@ zlib = dependency('zlib') - zlib = dependency('zlib') - - # Compiler-provided headers can't be found in crossroads environment --if not meson.is_cross_build() -+if true - bz2 = cc.find_library('bz2') - else - bz2 = dependency('bzip2') --- -2.47.1 -meta-gnome/recipes-gimp/gimp/gimp/CVE-2025-14422.patch deleted +0
-66@@ -1,66 +0,0 @@ -From 0a941cab81396d65a8ab547847f8c542039e214f Mon Sep 17 00:00:00 2001 -From: Gyorgy Sarvari <[email protected]> -Date: Sun, 23 Nov 2025 16:43:51 +0000 -Subject: [PATCH] plug-ins: Fix ZDI-CAN-28273 - -From: Alx Sa <[email protected]> - -Resolves #15286 -Adds a check to the memory allocation -in pnm_load_raw () with g_size_checked_mul () -to see if the size would go out of bounds. -If so, we don't try to allocate and load the -image. - -CVE: CVE-2025-14422 -Upstream-Status: Backport [https://gitlab.gnome.org/GNOME/gimp/-/commit/4ff2d773d58064e6130495de498e440f4a6d5edb] -Signed-off-by: Gyorgy Sarvari <[email protected]> ---- - plug-ins/common/file-pnm.c | 13 +++++++++++-- - 1 file changed, 11 insertions(+), 2 deletions(-) - -diff --git a/plug-ins/common/file-pnm.c b/plug-ins/common/file-pnm.c -index 32a33a4..9d349e9 100644 ---- a/plug-ins/common/file-pnm.c -+++ b/plug-ins/common/file-pnm.c -@@ -674,7 +674,7 @@ load_image (GFile *file, - GError **error) - { - GInputStream *input; -- GeglBuffer *buffer; -+ GeglBuffer *buffer = NULL; - GimpImage * volatile image = NULL; - GimpLayer *layer; - char buf[BUFLEN + 4]; /* buffer for random things like scanning */ -@@ -708,6 +708,9 @@ load_image (GFile *file, - g_object_unref (input); - g_free (pnminfo); - -+ if (buffer) -+ g_object_unref (buffer); -+ - if (image) - gimp_image_delete (image); - -@@ -1060,6 +1063,7 @@ pnm_load_raw (PNMScanner *scan, - const Babl *format = NULL; - gint bpc; - guchar *data, *d; -+ gsize data_size; - gushort *s; - gint x, y, i; - gint start, end, scanlines; -@@ -1070,7 +1074,12 @@ pnm_load_raw (PNMScanner *scan, - bpc = 1; - - /* No overflow as long as gimp_tile_height() < 1365 = 2^(31 - 18) / 6 */ -- data = g_new (guchar, gimp_tile_height () * info->xres * info->np * bpc); -+ if (! g_size_checked_mul (&data_size, gimp_tile_height (), info->xres) || -+ ! g_size_checked_mul (&data_size, data_size, info->np) || -+ ! g_size_checked_mul (&data_size, data_size, bpc)) -+ CHECK_FOR_ERROR (FALSE, info->jmpbuf, _("Unsupported maximum value.")); -+ -+ data = g_new (guchar, data_size); - - input = pnmscanner_input (scan); -meta-gnome/recipes-gimp/gimp/gimp/CVE-2025-14423.patch deleted +0
-106@@ -1,106 +0,0 @@ -From a83e8c4ad8ffbce40aa9f9a0f49880e802ef7da1 Mon Sep 17 00:00:00 2001 -From: Gyorgy Sarvari <[email protected]> -Date: Sun, 23 Nov 2025 04:22:49 +0000 -Subject: [PATCH] plug-ins: Fix ZDI-CAN-28311 - -From: Alx Sa <[email protected]> - -Resolves #15292 -The IFF specification states that EHB format images -have exactly 32 colors in their palette. However, it -is possible for images in the wild to place an incorrect -palette size. This patch checks for this, and either limits -the palette size or breaks accordingly. - -CVE: CVE-2025-14423 -Upstream-Status: Backport [https://gitlab.gnome.org/GNOME/gimp/-/commit/481cdbbb97746be1145ec3a633c567a68633c521] -Signed-off-by: Gyorgy Sarvari <[email protected]> ---- - plug-ins/common/file-iff.c | 32 ++++++++++++++++++++++---------- - 1 file changed, 22 insertions(+), 10 deletions(-) - -diff --git a/plug-ins/common/file-iff.c b/plug-ins/common/file-iff.c -index d144a96..f087947 100644 ---- a/plug-ins/common/file-iff.c -+++ b/plug-ins/common/file-iff.c -@@ -337,7 +337,7 @@ load_image (GFile *file, - width = bitMapHeader->w; - height = bitMapHeader->h; - nPlanes = bitMapHeader->nPlanes; -- row_length = (width + 15) / 16; -+ row_length = ((width + 15) / 16) * 2; - pixel_size = nPlanes / 8; - aspect_x = bitMapHeader->xAspect; - aspect_y = bitMapHeader->yAspect; -@@ -375,6 +375,18 @@ load_image (GFile *file, - { - /* EHB mode adds 32 more colors. Each are half the RGB values - * of the first 32 colors */ -+ if (palette_size < 32) -+ { -+ g_set_error (error, G_FILE_ERROR, -+ g_file_error_from_errno (errno), -+ _("Invalid ILBM colormap size")); -+ return NULL; -+ } -+ else if (palette_size > 32) -+ { -+ palette_size = 32; -+ } -+ - for (gint j = 0; j < palette_size * 2; j++) - { - gint offset_index = j + 32; -@@ -386,7 +398,7 @@ load_image (GFile *file, - gimp_cmap[offset_index * 3 + 2] = - colorMap->colorRegister[j].blue / 2; - } -- /* EHB mode always has 64 colors */ -+ /* EHB mode always has 64 colors in total */ - palette_size = 64; - } - } -@@ -447,7 +459,7 @@ load_image (GFile *file, - { - guchar *pixel_row; - -- pixel_row = g_malloc (width * pixel_size * sizeof (guchar)); -+ pixel_row = g_malloc0 (width * pixel_size); - - /* PBM uses one byte per pixel index */ - if (ILBM_imageIsPBM (true_image)) -@@ -459,7 +471,7 @@ load_image (GFile *file, - else - deleave_rgb_row (bitplanes, pixel_row, width, nPlanes, pixel_size); - -- bitplanes += (row_length * 2 * nPlanes); -+ bitplanes += (row_length * nPlanes); - - gegl_buffer_set (buffer, GEGL_RECTANGLE (0, y_height, width, 1), 0, - NULL, pixel_row, GEGL_AUTO_ROWSTRIDE); -@@ -528,7 +540,7 @@ deleave_ham_row (const guchar *gimp_cmap, - /* Deleave rows */ - for (gint i = 0; i < row_length; i++) - { -- for (gint j = 0; j < 8; j++) -+ for (gint j = 0; j < nPlanes; j++) - { - guint8 bitmask = (1 << (8 - j)) - (1 << (7 - j)); - guint8 control = 0; -@@ -590,11 +602,11 @@ deleave_ham_row (const guchar *gimp_cmap, - } - - static void --deleave_rgb_row (IFF_UByte *bitplanes, -- guchar *pixel_row, -- gint width, -- gint nPlanes, -- gint pixel_size) -+deleave_rgb_row (IFF_UByte *bitplanes, -+ guchar *pixel_row, -+ gint width, -+ gint nPlanes, -+ gint pixel_size) - { - gint row_length = ((width + 15) / 16) * 2; - gint current_pixel = 0;meta-gnome/recipes-gimp/gimp/gimp/CVE-2025-14424.patch deleted +0
-34@@ -1,34 +0,0 @@ -From d30875b606085316b1cb7ac1da0d26e5bac0cf2c Mon Sep 17 00:00:00 2001 -From: Gyorgy Sarvari <[email protected]> -Date: Thu, 13 Nov 2025 18:26:51 -0500 -Subject: [PATCH] app: fix #15288 crash when loading malformed xcf - -From: Jacob Boerema <[email protected]> - -ZDI-CAN-28376 vulnerability - -Add extra tests to not crash on a NULL g_class. - -CVE: CVE-2025-14424 -Upstream-Status: Backport [https://gitlab.gnome.org/GNOME/gimp/-/commit/5cc55d078b7fba995cef77d195fac325ee288ddd] -Signed-off-by: Gyorgy Sarvari <[email protected]> ---- - app/core/gimpitemlist.c | 5 ++++- - 1 file changed, 4 insertions(+), 1 deletion(-) - -diff --git a/app/core/gimpitemlist.c b/app/core/gimpitemlist.c -index 6473938..a431519 100644 ---- a/app/core/gimpitemlist.c -+++ b/app/core/gimpitemlist.c -@@ -345,7 +345,10 @@ gimp_item_list_named_new (GimpImage *image, - g_return_val_if_fail (GIMP_IS_IMAGE (image), NULL); - - for (iter = items; iter; iter = iter->next) -- g_return_val_if_fail (g_type_is_a (G_OBJECT_TYPE (iter->data), item_type), NULL); -+ { -+ g_return_val_if_fail (iter->data && ((GTypeInstance*) (iter->data))->g_class, NULL); -+ g_return_val_if_fail (g_type_is_a (G_OBJECT_TYPE (iter->data), item_type), NULL); -+ } - - if (! items) - {meta-gnome/recipes-gimp/gimp/gimp/CVE-2025-14425.patch deleted +0
-79@@ -1,79 +0,0 @@ -From 042e27792026460badbe49664c02fe181e95cb2b Mon Sep 17 00:00:00 2001 -From: Gyorgy Sarvari <[email protected]> -Date: Wed, 12 Nov 2025 13:25:44 +0000 -Subject: [PATCH] plug-ins: Mitigate ZDI-CAN-28248 for JP2 images - -From: Alx Sa <[email protected]> - -Resolves #15285 -Per the report, it's possible to exceed the size of the pixel buffer -with a high precision_scaled value, as we size it to the width * bpp. -This patch includes precision_scaled in the allocation calculation. -It also adds a g_size_checked_mul () check to ensure there's no -overflow, and moves the pixel and buffer memory freeing to occur -in the out section so that it always runs even on failure. - -CVE: CVE-2025-14425 -Upstream-Status: Backport [https://gitlab.gnome.org/GNOME/gimp/-/commit/cd1c88a0364ad1444c06536731972a99bd8643fd] -Signed-off-by: Gyorgy Sarvari <[email protected]> ---- - plug-ins/common/file-jp2-load.c | 23 ++++++++++++++++------- - 1 file changed, 16 insertions(+), 7 deletions(-) - -diff --git a/plug-ins/common/file-jp2-load.c b/plug-ins/common/file-jp2-load.c -index 064b616..604313a 100644 ---- a/plug-ins/common/file-jp2-load.c -+++ b/plug-ins/common/file-jp2-load.c -@@ -1045,14 +1045,15 @@ load_image (GimpProcedure *procedure, - GimpColorProfile *profile = NULL; - GimpImage *gimp_image = NULL; - GimpLayer *layer; -+ GeglBuffer *buffer = NULL; -+ guchar *pixels = NULL; -+ gsize pixels_size; - GimpImageType image_type; - GimpImageBaseType base_type; - gint width; - gint height; - gint num_components; -- GeglBuffer *buffer; - gint i, j, k, it; -- guchar *pixels; - const Babl *file_format; - gint bpp; - GimpPrecision image_precision; -@@ -1318,7 +1319,15 @@ load_image (GimpProcedure *procedure, - bpp = babl_format_get_bytes_per_pixel (file_format); - - buffer = gimp_drawable_get_buffer (GIMP_DRAWABLE (layer)); -- pixels = g_new0 (guchar, width * bpp); -+ -+ if (! g_size_checked_mul (&pixels_size, width, (bpp * (precision_scaled / 8)))) -+ { -+ g_set_error (error, GIMP_PLUG_IN_ERROR, 0, -+ _("Defined row size is too large in JP2 image '%s'."), -+ gimp_file_get_utf8_name (file)); -+ goto out; -+ } -+ pixels = g_new0 (guchar, pixels_size); - - for (i = 0; i < height; i++) - { -@@ -1344,13 +1353,13 @@ load_image (GimpProcedure *procedure, - gegl_buffer_set (buffer, GEGL_RECTANGLE (0, i, width, 1), 0, - file_format, pixels, GEGL_AUTO_ROWSTRIDE); - } -- -- g_free (pixels); -- -- g_object_unref (buffer); - gimp_progress_update (1.0); - - out: -+ if (pixels) -+ g_free (pixels); -+ if (buffer) -+ g_object_unref (buffer); - if (profile) - g_object_unref (profile); - if (image)meta-gnome/recipes-gimp/gimp/gimp_3.0.8.bb renamed from meta-gnome/recipes-gimp/gimp/gimp_3.0.6.bb +2
-8@@ -46,7 +46,7 @@ DEPENDS:append:libc-musl = " libexecinfo" LDFLAGS:append:libc-musl = " -lexecinfo" -inherit meson gtk-icon-cache mime-xdg pkgconfig gettext gobject-introspection vala +inherit meson gtk-icon-cache mime-xdg pkgconfig gettext gobject-introspection vala bash-completion GIR_MESON_OPTION = 'can-crosscompile-gir' VALA_MESON_OPTION = "vala"@@ -57,16 +57,11 @@ GIDOCGEN_MESON_ENABLE_FLAG = "enabled" GIDOCGEN_MESON_DISABLE_FLAG = "disabled" SRC_URI = "https://download.gimp.org/gimp/v3.0/${BP}.tar.xz \ - file://0001-gimp-cross-compile-fix-for-bz2.patch \ file://0002-meson.build-reproducibility-fix.patch \ file://0001-meson.build-dont-check-for-lgi.patch \ file://0001-meson.build-require-iso-codes-native.patch \ - file://CVE-2025-14422.patch \ - file://CVE-2025-14423.patch \ - file://CVE-2025-14424.patch \ - file://CVE-2025-14425.patch \ " -SRC_URI[sha256sum] = "246c225383c72ef9f0dc7703b7d707084bbf177bd2900e94ce466a62862e296b" +SRC_URI[sha256sum] = "feb498acc01b26827cff1ff95aa8fb82cdd6a60d7abf773cfcd19abeafca3386" PACKAGECONFIG[aa] = "-Daa=enabled,-Daa=disabled,aalib" PACKAGECONFIG[alsa] = "-Dalsa=enabled,-Dalsa=disabled,alsa-lib" -=-=-=-=-=-=-=-=-=-=-=-Links: You receive all messages sent to this group.
View/Reply Online (#124078): https://lists.openembedded.org/g/openembedded-devel/message/124078
Mute This Topic: https://lists.openembedded.org/mt/117604891/3619737
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-
Re: [oe] [meta-gnome][whinlatter][PATCH 05/15] gimp: update 3.0.6 -> 3.0.8
Quoted 17 lines · Ankur Tyagi
Hi Gyorgy,
Getting following error when building for qemux86 with musl and clang
/gimpbacktrace-linux.c.o: in function `gimp_backtrace_get_address_info':
| /usr/src/debug/gimp/3.0.8/../sources/gimp-3.0.8/app/core/gimpbacktrace-linux.c:708:(.text+0xc14):
undefined reference to `_ULx86_init_local'
| /yocto/bitbake-builds/poky-whinlatter/build/tmp/work/core2-32-poky-linux-musl/gimp/3.0.8/recipe-sysroot-native/usr/bin/i686-poky-linux-musl/i686-poky-linux-musl-ld:
/usr/src/debug/gimp/3.0.8/../sources/gimp-3.0.8/app/core/gimpbacktrace-linux.c:709:(.text+0xc27):
undefined reference to `_ULx86_set_reg'
| /yocto/bitbake-builds/poky-whinlatter/build/tmp/work/core2-32-poky-linux-musl/gimp/3.0.8/recipe-sysroot-native/usr/bin/i686-poky-linux-musl/i686-poky-linux-musl-ld:
/usr/src/debug/gimp/3.0.8/../sources/gimp-3.0.8/app/core/gimpbacktrace-linux.c:710:(.text+0xc61):
undefined reference to `_ULx86_get_proc_name'
| i686-poky-linux-musl-clang++: error: linker command failed with exit
code 1 (use -v to see invocation)
| ninja: build stopped: subcommand failed.
Quoted 1 line
Can you please have a look into it?
Yup - this should fix it:
https://lists.openembedded.org/g/openembedded-devel/message/124100
Quoted 555 lines
cheers
AnkurQuoted 549 lines · Gyorgy Sarvari via lists.openembedded.org
From: Markus Volk <[email protected]>
- remove cve fixes which are included in this release
- remove the fix for bzip2. meson.build was improved so this is not required anymore
- inherit bash-completionThis releases contains a lot of bugfixes. The below list is not exhaustive.
Core:
- Font handling improvements:
* Font loading on start massively sped up.
* As an exception, Skia font family (apparently quite common on macOS) is special-cased because it behaves weirdly and was not working with current font handling.
* Various other fixes related to font handling.
* We now wait for fonts to be fully loaded before loading any file.
- Command Line Interface:
* Option -i / --no-interface is not shown anymore ongimp-consolebinary (it can still be used — it does nothing there anyway —, which allows to use the same sets of option with the GUI binary, and also so that existing shell scripts don't break).
* Option --show-debug-menu is not hidden anymore for discoverability.
* Thegimp-3.0executable can now run with --no-interface even when no display is available (ex: virtual terminal with no window manager/compositor, containers, etc.). This used to only work withgimp-console-3.0executable.
- Windows:
* output CLI messages to the parent console like Linux and macOS.
* Ctrl+C signals are now correctly handled in the attached console.
* The attached console supports color too.
* Interpreters are run conditionally if running in console.
- macOS: default to "quartz" Input Method for emoji keyboard support.
- Wayland: wait before we get our first surface before listing input devices to work around a Wayland limitation and GTK bug.
- Default "Search" feature in GTK3 is now disabled in the component editor in the Channels dockable.
- Several fixes related to Quick Mask handling.
- Fixed some cases where config migration from GIMP 2 to GIMP 3 was problematic.
- Several buggy undo cases were fixed.
- Several fixes related to pass-through group layers.
- Export will now be properly triggered even if no drawables are selected (this is not a requirement anymore with GIMP 3 API).
- Path import and export respectively from and to SVG improved.
- Serialize colors in legacy GimpRGB format into a XCF when the XCF version is older than GIMP 3 for backward compatibility.
Tools:
- Symmetry: fix initial stroke symmetry when using pixmap brushes.
- Move tool: fixed weird position jumps in some cases.
Graphical User Interface:
- Center buttons in overlay dialogs.
- Headerbar's (when titlebar and menubar are merged) button colors now match our theme.
- Dialogs' header icon and view will now scale based on custom icon size.
- Resize dialog: Canvas Size fill combo set to insensitive if layers won't be resized.
- Navigation and Selection editor will now properly match the theme (in particular, in dark mode, they won't show large bright area).- Do not show outlines when hovering the absent "Fx" icon anymore, which was confusing people into making it look like you could click and interact with this empty area.
Plug-ins:
- Fixes on: OpenRaster export, TIFF import, Map Object, PDF export, Gradient Flare, ANI export, Script-Fu, DDS export, Fractal Explorer, PSP import, ICO import, XWD import, PSD import, WebP export, ICNS import, Gimpressionist, JPEG 2000 import, Busy Dialog.
- Scale entries have been replaced by spin scale widgets in a bunch of plug-ins.
- Fixed vulnerabilities: ZDI-CAN-28376, ZDI-CAN-28311, ZDI-CAN-28273,ZDI-CAN-28158, ZDI-CAN-28232, ZDI-CAN-28265, ZDI-CAN-28530, ZDI-CAN-28248, PSP issue 15732.- Script-Fu improved to not initialize UI code unnecessarily (and therefore make it unusable on systems without a display).
API:
- libgimp:
* Fixes where made in libgimp metadata object.
* Make GExiv2Metadata as parent of GimpMetadata visible to Gobject-Introspection tools (bindings were missing this information).
* Fixes made on:gimp_drawable_get_thumbnail(),gimp_drawable_get_sub_thumbnail(),gimp_drawable_filter_new(),gimp_proc_view_new(),gimp_procedure_set_sensitivity_mask(),gimp_procedure_dialog_get_spin_scale().
* Remove thumbnail metadata before writing it on export, to make sure we don't cary on metadata written by other software in thumbnails.
- libgimpconfig:
* Improve error messaging on config deserialization.
* Fixgimp_config_serialize_value()when serializing file objects.
* New functions:gimp_config_get_xcf_version()andgimp_config_set_xcf_version().
- libgimpcolor:
*gimp_color_is_perceptually_identical()docs clarified.
- libgimpbase:
* The host config directory is now shown in MSIX.
* The host config directory is now shown in flatpak.
- libgimpwidgets:
* Fixes made on: GimpLabelEntry,gimp_widget_free_native_handle().
- libgimpcolor:
* New function:gimp_cairo_surface_get_buffer()
* Deprecated function:gimp_cairo_surface_create_buffer()in favor ofgimp_cairo_surface_get_buffer().
The function implementation was also changed so that it does not necessarily return a linear-memory backed buffer anymore (it might, but developers should not have any expectation about this).
Build:
- Third-party binary plug-in support in the Snap backported from the original third-party snap.
- Snap package for release is now created and submitted on a release pipeline.
- Release URLs added to AppStream metadata.
- We do not build GEGL with Matting Levin for Windows builds anymore because of crashes.
- Flatpak nightly builds will now show a pseudo-release visible withflatpak list, showing proper version information.
- Windows installer now has a dark mode.
- Update changelog on MS Store (MSIX) releases.
- AppImage now ships with full MIDI support.
- Make it clearer that GExiv2 0.15.0 and over are incompatible (because of API breakage).
- Improve build to ensure that the language list (shown in Preferences) is localized during compilation. This also means that a build machine should be set up for localization at build time whenoptional language selection is enabled.
- We now require the generic C++14 standard, and not the GNU variant anymore.
- MSVC support added.
- Various tweaks which used to be required to make packages work as relocatable builds were dropped since babl and GEGL now have a relocatable option working also on Linux.
- Themanpage of GIMP binaries was updated.
- Thegimp-consolebinary is now shipped in the Flatpak.
- macOS pipeline added in our Gitlab CI.
- Make sure that harfbuzz is built with libgraphite2 shaper on macOS.
- Generate file associations for macOS automatically.
- A Bash completion file was added forgimpandgimp-consolebinaries.Signed-off-by Markus Volk <[email protected]>Signed-off-by Khem Raj <[email protected]>(cherry picked from commit f8fcc9ccf529455c992e79fc13e77dfc1a8dd9d9)Signed-off-by Gyorgy Sarvari <[email protected]>--- .../0001-gimp-cross-compile-fix-for-bz2.patch | 30 ----- .../gimp/gimp/CVE-2025-14422.patch | 66 ----------- .../gimp/gimp/CVE-2025-14423.patch | 106 ------------------ .../gimp/gimp/CVE-2025-14424.patch | 34 ------ .../gimp/gimp/CVE-2025-14425.patch | 79 ------------- .../gimp/{gimp_3.0.6.bb => gimp_3.0.8.bb} | 9 +- 6 files changed, 2 insertions(+), 322 deletions(-) delete mode 100644 meta-gnome/recipes-gimp/gimp/gimp/0001-gimp-cross-compile-fix-for-bz2.patch delete mode 100644 meta-gnome/recipes-gimp/gimp/gimp/CVE-2025-14422.patch delete mode 100644 meta-gnome/recipes-gimp/gimp/gimp/CVE-2025-14423.patch delete mode 100644 meta-gnome/recipes-gimp/gimp/gimp/CVE-2025-14424.patch delete mode 100644 meta-gnome/recipes-gimp/gimp/gimp/CVE-2025-14425.patch rename meta-gnome/recipes-gimp/gimp/{gimp_3.0.6.bb => gimp_3.0.8.bb} (92%)meta-gnome/recipes-gimp/gimp/gimp/0001-gimp-cross-compile-fix-for-bz2.patch deleted +0
-30@@ -1,30 +0,0 @@ -From a7e40e19d17404cf5ec4135fc1becd5a90f5e1e1 Mon Sep 17 00:00:00 2001 -From: Markus Volk <[email protected]> -Date: Wed, 25 Dec 2024 07:27:04 +0100 -Subject: [PATCH] gimp: cross-compile fix for bz2 - -autotools bzip2 build does not create pkgconfig files so looking for the dependency fails. - -Signed-off-by: Markus Volk <[email protected]> - -Upstream-Status: Inappropriate [can probably be removed once bzip2 is built with meson or cmake] ---- - meson.build | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/meson.build b/meson.build -index 4e48f8c64c..d5dce47015 100644 ---- a/meson.build -+++ b/meson.build -@@ -777,7 +777,7 @@ zlib = dependency('zlib') - zlib = dependency('zlib') - - # Compiler-provided headers can't be found in crossroads environment --if not meson.is_cross_build() -+if true - bz2 = cc.find_library('bz2') - else - bz2 = dependency('bzip2') --- -2.47.1 -meta-gnome/recipes-gimp/gimp/gimp/CVE-2025-14422.patch deleted +0
-66@@ -1,66 +0,0 @@ -From 0a941cab81396d65a8ab547847f8c542039e214f Mon Sep 17 00:00:00 2001 -From: Gyorgy Sarvari <[email protected]> -Date: Sun, 23 Nov 2025 16:43:51 +0000 -Subject: [PATCH] plug-ins: Fix ZDI-CAN-28273 - -From: Alx Sa <[email protected]> - -Resolves #15286 -Adds a check to the memory allocation -in pnm_load_raw () with g_size_checked_mul () -to see if the size would go out of bounds. -If so, we don't try to allocate and load the -image. - -CVE: CVE-2025-14422 -Upstream-Status: Backport [https://gitlab.gnome.org/GNOME/gimp/-/commit/4ff2d773d58064e6130495de498e440f4a6d5edb] -Signed-off-by: Gyorgy Sarvari <[email protected]> ---- - plug-ins/common/file-pnm.c | 13 +++++++++++-- - 1 file changed, 11 insertions(+), 2 deletions(-) - -diff --git a/plug-ins/common/file-pnm.c b/plug-ins/common/file-pnm.c -index 32a33a4..9d349e9 100644 ---- a/plug-ins/common/file-pnm.c -+++ b/plug-ins/common/file-pnm.c -@@ -674,7 +674,7 @@ load_image (GFile *file, - GError **error) - { - GInputStream *input; -- GeglBuffer *buffer; -+ GeglBuffer *buffer = NULL; - GimpImage * volatile image = NULL; - GimpLayer *layer; - char buf[BUFLEN + 4]; /* buffer for random things like scanning */ -@@ -708,6 +708,9 @@ load_image (GFile *file, - g_object_unref (input); - g_free (pnminfo); - -+ if (buffer) -+ g_object_unref (buffer); -+ - if (image) - gimp_image_delete (image); - -@@ -1060,6 +1063,7 @@ pnm_load_raw (PNMScanner *scan, - const Babl *format = NULL; - gint bpc; - guchar *data, *d; -+ gsize data_size; - gushort *s; - gint x, y, i; - gint start, end, scanlines; -@@ -1070,7 +1074,12 @@ pnm_load_raw (PNMScanner *scan, - bpc = 1; - - /* No overflow as long as gimp_tile_height() < 1365 = 2^(31 - 18) / 6 */ -- data = g_new (guchar, gimp_tile_height () * info->xres * info->np * bpc); -+ if (! g_size_checked_mul (&data_size, gimp_tile_height (), info->xres) || -+ ! g_size_checked_mul (&data_size, data_size, info->np) || -+ ! g_size_checked_mul (&data_size, data_size, bpc)) -+ CHECK_FOR_ERROR (FALSE, info->jmpbuf, _("Unsupported maximum value.")); -+ -+ data = g_new (guchar, data_size); - - input = pnmscanner_input (scan); -meta-gnome/recipes-gimp/gimp/gimp/CVE-2025-14423.patch deleted +0
-106@@ -1,106 +0,0 @@ -From a83e8c4ad8ffbce40aa9f9a0f49880e802ef7da1 Mon Sep 17 00:00:00 2001 -From: Gyorgy Sarvari <[email protected]> -Date: Sun, 23 Nov 2025 04:22:49 +0000 -Subject: [PATCH] plug-ins: Fix ZDI-CAN-28311 - -From: Alx Sa <[email protected]> - -Resolves #15292 -The IFF specification states that EHB format images -have exactly 32 colors in their palette. However, it -is possible for images in the wild to place an incorrect -palette size. This patch checks for this, and either limits -the palette size or breaks accordingly. - -CVE: CVE-2025-14423 -Upstream-Status: Backport [https://gitlab.gnome.org/GNOME/gimp/-/commit/481cdbbb97746be1145ec3a633c567a68633c521] -Signed-off-by: Gyorgy Sarvari <[email protected]> ---- - plug-ins/common/file-iff.c | 32 ++++++++++++++++++++++---------- - 1 file changed, 22 insertions(+), 10 deletions(-) - -diff --git a/plug-ins/common/file-iff.c b/plug-ins/common/file-iff.c -index d144a96..f087947 100644 ---- a/plug-ins/common/file-iff.c -+++ b/plug-ins/common/file-iff.c -@@ -337,7 +337,7 @@ load_image (GFile *file, - width = bitMapHeader->w; - height = bitMapHeader->h; - nPlanes = bitMapHeader->nPlanes; -- row_length = (width + 15) / 16; -+ row_length = ((width + 15) / 16) * 2; - pixel_size = nPlanes / 8; - aspect_x = bitMapHeader->xAspect; - aspect_y = bitMapHeader->yAspect; -@@ -375,6 +375,18 @@ load_image (GFile *file, - { - /* EHB mode adds 32 more colors. Each are half the RGB values - * of the first 32 colors */ -+ if (palette_size < 32) -+ { -+ g_set_error (error, G_FILE_ERROR, -+ g_file_error_from_errno (errno), -+ _("Invalid ILBM colormap size")); -+ return NULL; -+ } -+ else if (palette_size > 32) -+ { -+ palette_size = 32; -+ } -+ - for (gint j = 0; j < palette_size * 2; j++) - { - gint offset_index = j + 32; -@@ -386,7 +398,7 @@ load_image (GFile *file, - gimp_cmap[offset_index * 3 + 2] = - colorMap->colorRegister[j].blue / 2; - } -- /* EHB mode always has 64 colors */ -+ /* EHB mode always has 64 colors in total */ - palette_size = 64; - } - } -@@ -447,7 +459,7 @@ load_image (GFile *file, - { - guchar *pixel_row; - -- pixel_row = g_malloc (width * pixel_size * sizeof (guchar)); -+ pixel_row = g_malloc0 (width * pixel_size); - - /* PBM uses one byte per pixel index */ - if (ILBM_imageIsPBM (true_image)) -@@ -459,7 +471,7 @@ load_image (GFile *file, - else - deleave_rgb_row (bitplanes, pixel_row, width, nPlanes, pixel_size); - -- bitplanes += (row_length * 2 * nPlanes); -+ bitplanes += (row_length * nPlanes); - - gegl_buffer_set (buffer, GEGL_RECTANGLE (0, y_height, width, 1), 0, - NULL, pixel_row, GEGL_AUTO_ROWSTRIDE); -@@ -528,7 +540,7 @@ deleave_ham_row (const guchar *gimp_cmap, - /* Deleave rows */ - for (gint i = 0; i < row_length; i++) - { -- for (gint j = 0; j < 8; j++) -+ for (gint j = 0; j < nPlanes; j++) - { - guint8 bitmask = (1 << (8 - j)) - (1 << (7 - j)); - guint8 control = 0; -@@ -590,11 +602,11 @@ deleave_ham_row (const guchar *gimp_cmap, - } - - static void --deleave_rgb_row (IFF_UByte *bitplanes, -- guchar *pixel_row, -- gint width, -- gint nPlanes, -- gint pixel_size) -+deleave_rgb_row (IFF_UByte *bitplanes, -+ guchar *pixel_row, -+ gint width, -+ gint nPlanes, -+ gint pixel_size) - { - gint row_length = ((width + 15) / 16) * 2; - gint current_pixel = 0;meta-gnome/recipes-gimp/gimp/gimp/CVE-2025-14424.patch deleted +0
-34@@ -1,34 +0,0 @@ -From d30875b606085316b1cb7ac1da0d26e5bac0cf2c Mon Sep 17 00:00:00 2001 -From: Gyorgy Sarvari <[email protected]> -Date: Thu, 13 Nov 2025 18:26:51 -0500 -Subject: [PATCH] app: fix #15288 crash when loading malformed xcf - -From: Jacob Boerema <[email protected]> - -ZDI-CAN-28376 vulnerability - -Add extra tests to not crash on a NULL g_class. - -CVE: CVE-2025-14424 -Upstream-Status: Backport [https://gitlab.gnome.org/GNOME/gimp/-/commit/5cc55d078b7fba995cef77d195fac325ee288ddd] -Signed-off-by: Gyorgy Sarvari <[email protected]> ---- - app/core/gimpitemlist.c | 5 ++++- - 1 file changed, 4 insertions(+), 1 deletion(-) - -diff --git a/app/core/gimpitemlist.c b/app/core/gimpitemlist.c -index 6473938..a431519 100644 ---- a/app/core/gimpitemlist.c -+++ b/app/core/gimpitemlist.c -@@ -345,7 +345,10 @@ gimp_item_list_named_new (GimpImage *image, - g_return_val_if_fail (GIMP_IS_IMAGE (image), NULL); - - for (iter = items; iter; iter = iter->next) -- g_return_val_if_fail (g_type_is_a (G_OBJECT_TYPE (iter->data), item_type), NULL); -+ { -+ g_return_val_if_fail (iter->data && ((GTypeInstance*) (iter->data))->g_class, NULL); -+ g_return_val_if_fail (g_type_is_a (G_OBJECT_TYPE (iter->data), item_type), NULL); -+ } - - if (! items) - {meta-gnome/recipes-gimp/gimp/gimp/CVE-2025-14425.patch deleted +0
-79@@ -1,79 +0,0 @@ -From 042e27792026460badbe49664c02fe181e95cb2b Mon Sep 17 00:00:00 2001 -From: Gyorgy Sarvari <[email protected]> -Date: Wed, 12 Nov 2025 13:25:44 +0000 -Subject: [PATCH] plug-ins: Mitigate ZDI-CAN-28248 for JP2 images - -From: Alx Sa <[email protected]> - -Resolves #15285 -Per the report, it's possible to exceed the size of the pixel buffer -with a high precision_scaled value, as we size it to the width * bpp. -This patch includes precision_scaled in the allocation calculation. -It also adds a g_size_checked_mul () check to ensure there's no -overflow, and moves the pixel and buffer memory freeing to occur -in the out section so that it always runs even on failure. - -CVE: CVE-2025-14425 -Upstream-Status: Backport [https://gitlab.gnome.org/GNOME/gimp/-/commit/cd1c88a0364ad1444c06536731972a99bd8643fd] -Signed-off-by: Gyorgy Sarvari <[email protected]> ---- - plug-ins/common/file-jp2-load.c | 23 ++++++++++++++++------- - 1 file changed, 16 insertions(+), 7 deletions(-) - -diff --git a/plug-ins/common/file-jp2-load.c b/plug-ins/common/file-jp2-load.c -index 064b616..604313a 100644 ---- a/plug-ins/common/file-jp2-load.c -+++ b/plug-ins/common/file-jp2-load.c -@@ -1045,14 +1045,15 @@ load_image (GimpProcedure *procedure, - GimpColorProfile *profile = NULL; - GimpImage *gimp_image = NULL; - GimpLayer *layer; -+ GeglBuffer *buffer = NULL; -+ guchar *pixels = NULL; -+ gsize pixels_size; - GimpImageType image_type; - GimpImageBaseType base_type; - gint width; - gint height; - gint num_components; -- GeglBuffer *buffer; - gint i, j, k, it; -- guchar *pixels; - const Babl *file_format; - gint bpp; - GimpPrecision image_precision; -@@ -1318,7 +1319,15 @@ load_image (GimpProcedure *procedure, - bpp = babl_format_get_bytes_per_pixel (file_format); - - buffer = gimp_drawable_get_buffer (GIMP_DRAWABLE (layer)); -- pixels = g_new0 (guchar, width * bpp); -+ -+ if (! g_size_checked_mul (&pixels_size, width, (bpp * (precision_scaled / 8)))) -+ { -+ g_set_error (error, GIMP_PLUG_IN_ERROR, 0, -+ _("Defined row size is too large in JP2 image '%s'."), -+ gimp_file_get_utf8_name (file)); -+ goto out; -+ } -+ pixels = g_new0 (guchar, pixels_size); - - for (i = 0; i < height; i++) - { -@@ -1344,13 +1353,13 @@ load_image (GimpProcedure *procedure, - gegl_buffer_set (buffer, GEGL_RECTANGLE (0, i, width, 1), 0, - file_format, pixels, GEGL_AUTO_ROWSTRIDE); - } -- -- g_free (pixels); -- -- g_object_unref (buffer); - gimp_progress_update (1.0); - - out: -+ if (pixels) -+ g_free (pixels); -+ if (buffer) -+ g_object_unref (buffer); - if (profile) - g_object_unref (profile); - if (image)meta-gnome/recipes-gimp/gimp/gimp_3.0.8.bb renamed from meta-gnome/recipes-gimp/gimp/gimp_3.0.6.bb +2
-8@@ -46,7 +46,7 @@ DEPENDS:append:libc-musl = " libexecinfo" LDFLAGS:append:libc-musl = " -lexecinfo" -inherit meson gtk-icon-cache mime-xdg pkgconfig gettext gobject-introspection vala +inherit meson gtk-icon-cache mime-xdg pkgconfig gettext gobject-introspection vala bash-completion GIR_MESON_OPTION = 'can-crosscompile-gir' VALA_MESON_OPTION = "vala"@@ -57,16 +57,11 @@ GIDOCGEN_MESON_ENABLE_FLAG = "enabled" GIDOCGEN_MESON_DISABLE_FLAG = "disabled" SRC_URI = "https://download.gimp.org/gimp/v3.0/${BP}.tar.xz \ - file://0001-gimp-cross-compile-fix-for-bz2.patch \ file://0002-meson.build-reproducibility-fix.patch \ file://0001-meson.build-dont-check-for-lgi.patch \ file://0001-meson.build-require-iso-codes-native.patch \ - file://CVE-2025-14422.patch \ - file://CVE-2025-14423.patch \ - file://CVE-2025-14424.patch \ - file://CVE-2025-14425.patch \ " -SRC_URI[sha256sum] = "246c225383c72ef9f0dc7703b7d707084bbf177bd2900e94ce466a62862e296b" +SRC_URI[sha256sum] = "feb498acc01b26827cff1ff95aa8fb82cdd6a60d7abf773cfcd19abeafca3386" PACKAGECONFIG[aa] = "-Daa=enabled,-Daa=disabled,aalib" PACKAGECONFIG[alsa] = "-Dalsa=enabled,-Dalsa=disabled,alsa-lib" -=-=-=-=-=-=-=-=-=-=-=-Links: You receive all messages sent to this group.
View/Reply Online (#124078): https://lists.openembedded.org/g/openembedded-devel/message/124078
Mute This Topic: https://lists.openembedded.org/mt/117604891/3619737
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-
Re: [oe] [meta-gnome][whinlatter][PATCH 05/15] gimp: update 3.0.6 -> 3.0.8
Quoted 19 lines · Gyorgy Sarvari
Quoted 17 lines · Ankur Tyagi
Hi Gyorgy,
Getting following error when building for qemux86 with musl and clang
/gimpbacktrace-linux.c.o: in function `gimp_backtrace_get_address_info':
| /usr/src/debug/gimp/3.0.8/../sources/gimp-3.0.8/app/core/gimpbacktrace-linux.c:708:(.text+0xc14):
undefined reference to `_ULx86_init_local'
| /yocto/bitbake-builds/poky-whinlatter/build/tmp/work/core2-32-poky-linux-musl/gimp/3.0.8/recipe-sysroot-native/usr/bin/i686-poky-linux-musl/i686-poky-linux-musl-ld:
/usr/src/debug/gimp/3.0.8/../sources/gimp-3.0.8/app/core/gimpbacktrace-linux.c:709:(.text+0xc27):
undefined reference to `_ULx86_set_reg'
| /yocto/bitbake-builds/poky-whinlatter/build/tmp/work/core2-32-poky-linux-musl/gimp/3.0.8/recipe-sysroot-native/usr/bin/i686-poky-linux-musl/i686-poky-linux-musl-ld:
/usr/src/debug/gimp/3.0.8/../sources/gimp-3.0.8/app/core/gimpbacktrace-linux.c:710:(.text+0xc61):
undefined reference to `_ULx86_get_proc_name'
| i686-poky-linux-musl-clang++: error: linker command failed with exit
code 1 (use -v to see invocation)
| ninja: build stopped: subcommand failed.
Quoted 5 lines
Quoted 1 line
Can you please have a look into it?
Yup - this should fix it:
https://lists.openembedded.org/g/openembedded-devel/message/124100
Thanks for the patch, quickly tested it and the build error is now resolved.
Quoted 556 lines
Quoted 555 lines
cheers
AnkurQuoted 549 lines · Gyorgy Sarvari via lists.openembedded.org
From: Markus Volk <[email protected]>
- remove cve fixes which are included in this release
- remove the fix for bzip2. meson.build was improved so this is not required anymore
- inherit bash-completionThis releases contains a lot of bugfixes. The below list is not exhaustive.
Core:
- Font handling improvements:
* Font loading on start massively sped up.
* As an exception, Skia font family (apparently quite common on macOS) is special-cased because it behaves weirdly and was not working with current font handling.
* Various other fixes related to font handling.
* We now wait for fonts to be fully loaded before loading any file.
- Command Line Interface:
* Option -i / --no-interface is not shown anymore ongimp-consolebinary (it can still be used — it does nothing there anyway —, which allows to use the same sets of option with the GUI binary, and also so that existing shell scripts don't break).
* Option --show-debug-menu is not hidden anymore for discoverability.
* Thegimp-3.0executable can now run with --no-interface even when no display is available (ex: virtual terminal with no window manager/compositor, containers, etc.). This used to only work withgimp-console-3.0executable.
- Windows:
* output CLI messages to the parent console like Linux and macOS.
* Ctrl+C signals are now correctly handled in the attached console.
* The attached console supports color too.
* Interpreters are run conditionally if running in console.
- macOS: default to "quartz" Input Method for emoji keyboard support.
- Wayland: wait before we get our first surface before listing input devices to work around a Wayland limitation and GTK bug.
- Default "Search" feature in GTK3 is now disabled in the component editor in the Channels dockable.
- Several fixes related to Quick Mask handling.
- Fixed some cases where config migration from GIMP 2 to GIMP 3 was problematic.
- Several buggy undo cases were fixed.
- Several fixes related to pass-through group layers.
- Export will now be properly triggered even if no drawables are selected (this is not a requirement anymore with GIMP 3 API).
- Path import and export respectively from and to SVG improved.
- Serialize colors in legacy GimpRGB format into a XCF when the XCF version is older than GIMP 3 for backward compatibility.
Tools:
- Symmetry: fix initial stroke symmetry when using pixmap brushes.
- Move tool: fixed weird position jumps in some cases.
Graphical User Interface:
- Center buttons in overlay dialogs.
- Headerbar's (when titlebar and menubar are merged) button colors now match our theme.
- Dialogs' header icon and view will now scale based on custom icon size.
- Resize dialog: Canvas Size fill combo set to insensitive if layers won't be resized.
- Navigation and Selection editor will now properly match the theme (in particular, in dark mode, they won't show large bright area).- Do not show outlines when hovering the absent "Fx" icon anymore, which was confusing people into making it look like you could click and interact with this empty area.
Plug-ins:
- Fixes on: OpenRaster export, TIFF import, Map Object, PDF export, Gradient Flare, ANI export, Script-Fu, DDS export, Fractal Explorer, PSP import, ICO import, XWD import, PSD import, WebP export, ICNS import, Gimpressionist, JPEG 2000 import, Busy Dialog.
- Scale entries have been replaced by spin scale widgets in a bunch of plug-ins.
- Fixed vulnerabilities: ZDI-CAN-28376, ZDI-CAN-28311, ZDI-CAN-28273,ZDI-CAN-28158, ZDI-CAN-28232, ZDI-CAN-28265, ZDI-CAN-28530, ZDI-CAN-28248, PSP issue 15732.- Script-Fu improved to not initialize UI code unnecessarily (and therefore make it unusable on systems without a display).
API:
- libgimp:
* Fixes where made in libgimp metadata object.
* Make GExiv2Metadata as parent of GimpMetadata visible to Gobject-Introspection tools (bindings were missing this information).
* Fixes made on:gimp_drawable_get_thumbnail(),gimp_drawable_get_sub_thumbnail(),gimp_drawable_filter_new(),gimp_proc_view_new(),gimp_procedure_set_sensitivity_mask(),gimp_procedure_dialog_get_spin_scale().
* Remove thumbnail metadata before writing it on export, to make sure we don't cary on metadata written by other software in thumbnails.
- libgimpconfig:
* Improve error messaging on config deserialization.
* Fixgimp_config_serialize_value()when serializing file objects.
* New functions:gimp_config_get_xcf_version()andgimp_config_set_xcf_version().
- libgimpcolor:
*gimp_color_is_perceptually_identical()docs clarified.
- libgimpbase:
* The host config directory is now shown in MSIX.
* The host config directory is now shown in flatpak.
- libgimpwidgets:
* Fixes made on: GimpLabelEntry,gimp_widget_free_native_handle().
- libgimpcolor:
* New function:gimp_cairo_surface_get_buffer()
* Deprecated function:gimp_cairo_surface_create_buffer()in favor ofgimp_cairo_surface_get_buffer().
The function implementation was also changed so that it does not necessarily return a linear-memory backed buffer anymore (it might, but developers should not have any expectation about this).
Build:
- Third-party binary plug-in support in the Snap backported from the original third-party snap.
- Snap package for release is now created and submitted on a release pipeline.
- Release URLs added to AppStream metadata.
- We do not build GEGL with Matting Levin for Windows builds anymore because of crashes.
- Flatpak nightly builds will now show a pseudo-release visible withflatpak list, showing proper version information.
- Windows installer now has a dark mode.
- Update changelog on MS Store (MSIX) releases.
- AppImage now ships with full MIDI support.
- Make it clearer that GExiv2 0.15.0 and over are incompatible (because of API breakage).
- Improve build to ensure that the language list (shown in Preferences) is localized during compilation. This also means that a build machine should be set up for localization at build time whenoptional language selection is enabled.
- We now require the generic C++14 standard, and not the GNU variant anymore.
- MSVC support added.
- Various tweaks which used to be required to make packages work as relocatable builds were dropped since babl and GEGL now have a relocatable option working also on Linux.
- Themanpage of GIMP binaries was updated.
- Thegimp-consolebinary is now shipped in the Flatpak.
- macOS pipeline added in our Gitlab CI.
- Make sure that harfbuzz is built with libgraphite2 shaper on macOS.
- Generate file associations for macOS automatically.
- A Bash completion file was added forgimpandgimp-consolebinaries.Signed-off-by Markus Volk <[email protected]>Signed-off-by Khem Raj <[email protected]>(cherry picked from commit f8fcc9ccf529455c992e79fc13e77dfc1a8dd9d9)Signed-off-by Gyorgy Sarvari <[email protected]>--- .../0001-gimp-cross-compile-fix-for-bz2.patch | 30 ----- .../gimp/gimp/CVE-2025-14422.patch | 66 ----------- .../gimp/gimp/CVE-2025-14423.patch | 106 ------------------ .../gimp/gimp/CVE-2025-14424.patch | 34 ------ .../gimp/gimp/CVE-2025-14425.patch | 79 ------------- .../gimp/{gimp_3.0.6.bb => gimp_3.0.8.bb} | 9 +- 6 files changed, 2 insertions(+), 322 deletions(-) delete mode 100644 meta-gnome/recipes-gimp/gimp/gimp/0001-gimp-cross-compile-fix-for-bz2.patch delete mode 100644 meta-gnome/recipes-gimp/gimp/gimp/CVE-2025-14422.patch delete mode 100644 meta-gnome/recipes-gimp/gimp/gimp/CVE-2025-14423.patch delete mode 100644 meta-gnome/recipes-gimp/gimp/gimp/CVE-2025-14424.patch delete mode 100644 meta-gnome/recipes-gimp/gimp/gimp/CVE-2025-14425.patch rename meta-gnome/recipes-gimp/gimp/{gimp_3.0.6.bb => gimp_3.0.8.bb} (92%)meta-gnome/recipes-gimp/gimp/gimp/0001-gimp-cross-compile-fix-for-bz2.patch deleted +0
-30@@ -1,30 +0,0 @@ -From a7e40e19d17404cf5ec4135fc1becd5a90f5e1e1 Mon Sep 17 00:00:00 2001 -From: Markus Volk <[email protected]> -Date: Wed, 25 Dec 2024 07:27:04 +0100 -Subject: [PATCH] gimp: cross-compile fix for bz2 - -autotools bzip2 build does not create pkgconfig files so looking for the dependency fails. - -Signed-off-by: Markus Volk <[email protected]> - -Upstream-Status: Inappropriate [can probably be removed once bzip2 is built with meson or cmake] ---- - meson.build | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/meson.build b/meson.build -index 4e48f8c64c..d5dce47015 100644 ---- a/meson.build -+++ b/meson.build -@@ -777,7 +777,7 @@ zlib = dependency('zlib') - zlib = dependency('zlib') - - # Compiler-provided headers can't be found in crossroads environment --if not meson.is_cross_build() -+if true - bz2 = cc.find_library('bz2') - else - bz2 = dependency('bzip2') --- -2.47.1 -meta-gnome/recipes-gimp/gimp/gimp/CVE-2025-14422.patch deleted +0
-66@@ -1,66 +0,0 @@ -From 0a941cab81396d65a8ab547847f8c542039e214f Mon Sep 17 00:00:00 2001 -From: Gyorgy Sarvari <[email protected]> -Date: Sun, 23 Nov 2025 16:43:51 +0000 -Subject: [PATCH] plug-ins: Fix ZDI-CAN-28273 - -From: Alx Sa <[email protected]> - -Resolves #15286 -Adds a check to the memory allocation -in pnm_load_raw () with g_size_checked_mul () -to see if the size would go out of bounds. -If so, we don't try to allocate and load the -image. - -CVE: CVE-2025-14422 -Upstream-Status: Backport [https://gitlab.gnome.org/GNOME/gimp/-/commit/4ff2d773d58064e6130495de498e440f4a6d5edb] -Signed-off-by: Gyorgy Sarvari <[email protected]> ---- - plug-ins/common/file-pnm.c | 13 +++++++++++-- - 1 file changed, 11 insertions(+), 2 deletions(-) - -diff --git a/plug-ins/common/file-pnm.c b/plug-ins/common/file-pnm.c -index 32a33a4..9d349e9 100644 ---- a/plug-ins/common/file-pnm.c -+++ b/plug-ins/common/file-pnm.c -@@ -674,7 +674,7 @@ load_image (GFile *file, - GError **error) - { - GInputStream *input; -- GeglBuffer *buffer; -+ GeglBuffer *buffer = NULL; - GimpImage * volatile image = NULL; - GimpLayer *layer; - char buf[BUFLEN + 4]; /* buffer for random things like scanning */ -@@ -708,6 +708,9 @@ load_image (GFile *file, - g_object_unref (input); - g_free (pnminfo); - -+ if (buffer) -+ g_object_unref (buffer); -+ - if (image) - gimp_image_delete (image); - -@@ -1060,6 +1063,7 @@ pnm_load_raw (PNMScanner *scan, - const Babl *format = NULL; - gint bpc; - guchar *data, *d; -+ gsize data_size; - gushort *s; - gint x, y, i; - gint start, end, scanlines; -@@ -1070,7 +1074,12 @@ pnm_load_raw (PNMScanner *scan, - bpc = 1; - - /* No overflow as long as gimp_tile_height() < 1365 = 2^(31 - 18) / 6 */ -- data = g_new (guchar, gimp_tile_height () * info->xres * info->np * bpc); -+ if (! g_size_checked_mul (&data_size, gimp_tile_height (), info->xres) || -+ ! g_size_checked_mul (&data_size, data_size, info->np) || -+ ! g_size_checked_mul (&data_size, data_size, bpc)) -+ CHECK_FOR_ERROR (FALSE, info->jmpbuf, _("Unsupported maximum value.")); -+ -+ data = g_new (guchar, data_size); - - input = pnmscanner_input (scan); -meta-gnome/recipes-gimp/gimp/gimp/CVE-2025-14423.patch deleted +0
-106@@ -1,106 +0,0 @@ -From a83e8c4ad8ffbce40aa9f9a0f49880e802ef7da1 Mon Sep 17 00:00:00 2001 -From: Gyorgy Sarvari <[email protected]> -Date: Sun, 23 Nov 2025 04:22:49 +0000 -Subject: [PATCH] plug-ins: Fix ZDI-CAN-28311 - -From: Alx Sa <[email protected]> - -Resolves #15292 -The IFF specification states that EHB format images -have exactly 32 colors in their palette. However, it -is possible for images in the wild to place an incorrect -palette size. This patch checks for this, and either limits -the palette size or breaks accordingly. - -CVE: CVE-2025-14423 -Upstream-Status: Backport [https://gitlab.gnome.org/GNOME/gimp/-/commit/481cdbbb97746be1145ec3a633c567a68633c521] -Signed-off-by: Gyorgy Sarvari <[email protected]> ---- - plug-ins/common/file-iff.c | 32 ++++++++++++++++++++++---------- - 1 file changed, 22 insertions(+), 10 deletions(-) - -diff --git a/plug-ins/common/file-iff.c b/plug-ins/common/file-iff.c -index d144a96..f087947 100644 ---- a/plug-ins/common/file-iff.c -+++ b/plug-ins/common/file-iff.c -@@ -337,7 +337,7 @@ load_image (GFile *file, - width = bitMapHeader->w; - height = bitMapHeader->h; - nPlanes = bitMapHeader->nPlanes; -- row_length = (width + 15) / 16; -+ row_length = ((width + 15) / 16) * 2; - pixel_size = nPlanes / 8; - aspect_x = bitMapHeader->xAspect; - aspect_y = bitMapHeader->yAspect; -@@ -375,6 +375,18 @@ load_image (GFile *file, - { - /* EHB mode adds 32 more colors. Each are half the RGB values - * of the first 32 colors */ -+ if (palette_size < 32) -+ { -+ g_set_error (error, G_FILE_ERROR, -+ g_file_error_from_errno (errno), -+ _("Invalid ILBM colormap size")); -+ return NULL; -+ } -+ else if (palette_size > 32) -+ { -+ palette_size = 32; -+ } -+ - for (gint j = 0; j < palette_size * 2; j++) - { - gint offset_index = j + 32; -@@ -386,7 +398,7 @@ load_image (GFile *file, - gimp_cmap[offset_index * 3 + 2] = - colorMap->colorRegister[j].blue / 2; - } -- /* EHB mode always has 64 colors */ -+ /* EHB mode always has 64 colors in total */ - palette_size = 64; - } - } -@@ -447,7 +459,7 @@ load_image (GFile *file, - { - guchar *pixel_row; - -- pixel_row = g_malloc (width * pixel_size * sizeof (guchar)); -+ pixel_row = g_malloc0 (width * pixel_size); - - /* PBM uses one byte per pixel index */ - if (ILBM_imageIsPBM (true_image)) -@@ -459,7 +471,7 @@ load_image (GFile *file, - else - deleave_rgb_row (bitplanes, pixel_row, width, nPlanes, pixel_size); - -- bitplanes += (row_length * 2 * nPlanes); -+ bitplanes += (row_length * nPlanes); - - gegl_buffer_set (buffer, GEGL_RECTANGLE (0, y_height, width, 1), 0, - NULL, pixel_row, GEGL_AUTO_ROWSTRIDE); -@@ -528,7 +540,7 @@ deleave_ham_row (const guchar *gimp_cmap, - /* Deleave rows */ - for (gint i = 0; i < row_length; i++) - { -- for (gint j = 0; j < 8; j++) -+ for (gint j = 0; j < nPlanes; j++) - { - guint8 bitmask = (1 << (8 - j)) - (1 << (7 - j)); - guint8 control = 0; -@@ -590,11 +602,11 @@ deleave_ham_row (const guchar *gimp_cmap, - } - - static void --deleave_rgb_row (IFF_UByte *bitplanes, -- guchar *pixel_row, -- gint width, -- gint nPlanes, -- gint pixel_size) -+deleave_rgb_row (IFF_UByte *bitplanes, -+ guchar *pixel_row, -+ gint width, -+ gint nPlanes, -+ gint pixel_size) - { - gint row_length = ((width + 15) / 16) * 2; - gint current_pixel = 0;meta-gnome/recipes-gimp/gimp/gimp/CVE-2025-14424.patch deleted +0
-34@@ -1,34 +0,0 @@ -From d30875b606085316b1cb7ac1da0d26e5bac0cf2c Mon Sep 17 00:00:00 2001 -From: Gyorgy Sarvari <[email protected]> -Date: Thu, 13 Nov 2025 18:26:51 -0500 -Subject: [PATCH] app: fix #15288 crash when loading malformed xcf - -From: Jacob Boerema <[email protected]> - -ZDI-CAN-28376 vulnerability - -Add extra tests to not crash on a NULL g_class. - -CVE: CVE-2025-14424 -Upstream-Status: Backport [https://gitlab.gnome.org/GNOME/gimp/-/commit/5cc55d078b7fba995cef77d195fac325ee288ddd] -Signed-off-by: Gyorgy Sarvari <[email protected]> ---- - app/core/gimpitemlist.c | 5 ++++- - 1 file changed, 4 insertions(+), 1 deletion(-) - -diff --git a/app/core/gimpitemlist.c b/app/core/gimpitemlist.c -index 6473938..a431519 100644 ---- a/app/core/gimpitemlist.c -+++ b/app/core/gimpitemlist.c -@@ -345,7 +345,10 @@ gimp_item_list_named_new (GimpImage *image, - g_return_val_if_fail (GIMP_IS_IMAGE (image), NULL); - - for (iter = items; iter; iter = iter->next) -- g_return_val_if_fail (g_type_is_a (G_OBJECT_TYPE (iter->data), item_type), NULL); -+ { -+ g_return_val_if_fail (iter->data && ((GTypeInstance*) (iter->data))->g_class, NULL); -+ g_return_val_if_fail (g_type_is_a (G_OBJECT_TYPE (iter->data), item_type), NULL); -+ } - - if (! items) - {meta-gnome/recipes-gimp/gimp/gimp/CVE-2025-14425.patch deleted +0
-79@@ -1,79 +0,0 @@ -From 042e27792026460badbe49664c02fe181e95cb2b Mon Sep 17 00:00:00 2001 -From: Gyorgy Sarvari <[email protected]> -Date: Wed, 12 Nov 2025 13:25:44 +0000 -Subject: [PATCH] plug-ins: Mitigate ZDI-CAN-28248 for JP2 images - -From: Alx Sa <[email protected]> - -Resolves #15285 -Per the report, it's possible to exceed the size of the pixel buffer -with a high precision_scaled value, as we size it to the width * bpp. -This patch includes precision_scaled in the allocation calculation. -It also adds a g_size_checked_mul () check to ensure there's no -overflow, and moves the pixel and buffer memory freeing to occur -in the out section so that it always runs even on failure. - -CVE: CVE-2025-14425 -Upstream-Status: Backport [https://gitlab.gnome.org/GNOME/gimp/-/commit/cd1c88a0364ad1444c06536731972a99bd8643fd] -Signed-off-by: Gyorgy Sarvari <[email protected]> ---- - plug-ins/common/file-jp2-load.c | 23 ++++++++++++++++------- - 1 file changed, 16 insertions(+), 7 deletions(-) - -diff --git a/plug-ins/common/file-jp2-load.c b/plug-ins/common/file-jp2-load.c -index 064b616..604313a 100644 ---- a/plug-ins/common/file-jp2-load.c -+++ b/plug-ins/common/file-jp2-load.c -@@ -1045,14 +1045,15 @@ load_image (GimpProcedure *procedure, - GimpColorProfile *profile = NULL; - GimpImage *gimp_image = NULL; - GimpLayer *layer; -+ GeglBuffer *buffer = NULL; -+ guchar *pixels = NULL; -+ gsize pixels_size; - GimpImageType image_type; - GimpImageBaseType base_type; - gint width; - gint height; - gint num_components; -- GeglBuffer *buffer; - gint i, j, k, it; -- guchar *pixels; - const Babl *file_format; - gint bpp; - GimpPrecision image_precision; -@@ -1318,7 +1319,15 @@ load_image (GimpProcedure *procedure, - bpp = babl_format_get_bytes_per_pixel (file_format); - - buffer = gimp_drawable_get_buffer (GIMP_DRAWABLE (layer)); -- pixels = g_new0 (guchar, width * bpp); -+ -+ if (! g_size_checked_mul (&pixels_size, width, (bpp * (precision_scaled / 8)))) -+ { -+ g_set_error (error, GIMP_PLUG_IN_ERROR, 0, -+ _("Defined row size is too large in JP2 image '%s'."), -+ gimp_file_get_utf8_name (file)); -+ goto out; -+ } -+ pixels = g_new0 (guchar, pixels_size); - - for (i = 0; i < height; i++) - { -@@ -1344,13 +1353,13 @@ load_image (GimpProcedure *procedure, - gegl_buffer_set (buffer, GEGL_RECTANGLE (0, i, width, 1), 0, - file_format, pixels, GEGL_AUTO_ROWSTRIDE); - } -- -- g_free (pixels); -- -- g_object_unref (buffer); - gimp_progress_update (1.0); - - out: -+ if (pixels) -+ g_free (pixels); -+ if (buffer) -+ g_object_unref (buffer); - if (profile) - g_object_unref (profile); - if (image)meta-gnome/recipes-gimp/gimp/gimp_3.0.8.bb renamed from meta-gnome/recipes-gimp/gimp/gimp_3.0.6.bb +2
-8@@ -46,7 +46,7 @@ DEPENDS:append:libc-musl = " libexecinfo" LDFLAGS:append:libc-musl = " -lexecinfo" -inherit meson gtk-icon-cache mime-xdg pkgconfig gettext gobject-introspection vala +inherit meson gtk-icon-cache mime-xdg pkgconfig gettext gobject-introspection vala bash-completion GIR_MESON_OPTION = 'can-crosscompile-gir' VALA_MESON_OPTION = "vala"@@ -57,16 +57,11 @@ GIDOCGEN_MESON_ENABLE_FLAG = "enabled" GIDOCGEN_MESON_DISABLE_FLAG = "disabled" SRC_URI = "https://download.gimp.org/gimp/v3.0/${BP}.tar.xz \ - file://0001-gimp-cross-compile-fix-for-bz2.patch \ file://0002-meson.build-reproducibility-fix.patch \ file://0001-meson.build-dont-check-for-lgi.patch \ file://0001-meson.build-require-iso-codes-native.patch \ - file://CVE-2025-14422.patch \ - file://CVE-2025-14423.patch \ - file://CVE-2025-14424.patch \ - file://CVE-2025-14425.patch \ " -SRC_URI[sha256sum] = "246c225383c72ef9f0dc7703b7d707084bbf177bd2900e94ce466a62862e296b" +SRC_URI[sha256sum] = "feb498acc01b26827cff1ff95aa8fb82cdd6a60d7abf773cfcd19abeafca3386" PACKAGECONFIG[aa] = "-Daa=enabled,-Daa=disabled,aalib" PACKAGECONFIG[alsa] = "-Dalsa=enabled,-Dalsa=disabled,alsa-lib" -=-=-=-=-=-=-=-=-=-=-=-Links: You receive all messages sent to this group.
View/Reply Online (#124078): https://lists.openembedded.org/g/openembedded-devel/message/124078
Mute This Topic: https://lists.openembedded.org/mt/117604891/3619737
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-
PATCH 6/15 gimp: mark CVE-2025-15059 patched
In reply to Gyorgy SarvariDetails: https://nvd.nist.gov/vuln/detail/CVE-2025-15059
The patch that is referenced by the NVD report has been backported[1] to the recipe version, and is included already.
[1]: https://gitlab.gnome.org/GNOME/gimp/-/commit/c9eb407485f6c085adf70c8a334f75ea31565c60
--- meta-gnome/recipes-gimp/gimp/gimp_3.0.8.bb | 1 + 1 file changed, 1 insertion(+)
meta-gnome/recipes-gimp/gimp/gimp_3.0.8.bb +1 -0
@@ -134,3 +134,4 @@ RDEPENDS:${PN} = "mypaint-brushes-1.0 glib-networking python3-pygobject" CVE_STATUS[CVE-2007-3741] = "not-applicable-platform: This only applies for Mandriva Linux" CVE_STATUS[CVE-2025-8672] = "not-applicable-config: the vulnerability only affects MacOS" +CVE_STATUS[CVE-2025-15059] = "fixed-version: The issue is fixed since v3.0.8"
PATCH 7/15 gpsd: patch CVE-2025-67268
In reply to Gyorgy SarvariDetails: https://nvd.nist.gov/vuln/detail/CVE-2025-67268
Pick the patch that is referenced by the NVD advisory.
The original commit also contains a lot of commenting style changes (// vs /* */) and whitespace changes which were removed from the backport.
--- .../gpsd/gpsd/CVE-2025-67268.patch | 97 +++++++++++++++++++ .../recipes-navigation/gpsd/gpsd_3.26.1.bb | 1 + 2 files changed, 98 insertions(+) create mode 100644 meta-oe/recipes-navigation/gpsd/gpsd/CVE-2025-67268.patch
meta-oe/recipes-navigation/gpsd/gpsd/CVE-2025-67268.patch new file +97 -0
@@ -0,0 +1,97 @@ +From 6045f465f3ab253e1075b5b3666fd95ede4fb848 Mon Sep 17 00:00:00 2001 +From: "Gary E. Miller" <[email protected]> +Date: Tue, 2 Dec 2025 19:36:04 -0800 +Subject: [PATCH] drivers/driver_nmea2000.c: Fix issue 356, skyview buffer + overrun. + +CVE: CVE-2025-67268 +Upstream-Status: Backport [https://github.com/ntpsec/gpsd/commit/dc966aa74c075d0a6535811d98628625cbfbe3f4] +Signed-off-by: Gyorgy Sarvari <[email protected]> +--- + drivers/driver_nmea2000.c | 50 ++++++++++++++++++++++++++------------- + 1 file changed, 33 insertions(+), 17 deletions(-) + +diff --git a/drivers/driver_nmea2000.c b/drivers/driver_nmea2000.c +index 71e04e1..6854b2d 100644 +--- a/drivers/driver_nmea2000.c ++++ b/drivers/driver_nmea2000.c +@@ -89,14 +89,14 @@ static int scale_int(int32_t var, const int64_t factor) + static void print_data(struct gps_context_t *context, + unsigned char *buffer, int len, PGN *pgn) + { +- if ((libgps_debuglevel >= LOG_IO) != 0) { +- int l1, l2, ptr; ++ if (LOG_IO <= libgps_debuglevel) { ++ int l1; + char bu[128]; + +- ptr = 0; +- l2 = sprintf(&bu[ptr], "got data:%6u:%3d: ", pgn->pgn, len); ++ int ptr = 0; ++ int l2 = sprintf(&bu[ptr], "got data:%6u:%3d: ", pgn->pgn, len); + ptr += l2; +- for (l1=0;l1<len;l1++) { ++ for (l1 = 0; l1 < len; l1++) { + if (((l1 % 20) == 0) && (l1 != 0)) { + GPSD_LOG(LOG_IO, &context->errout, "%s\n", bu); + ptr = 0; +@@ -434,6 +434,7 @@ static gps_mask_t hnd_129540(unsigned char *bu, int len, PGN *pgn, + struct gps_device_t *session) + { + int l1; ++ int expected_len; + + print_data(session->context, bu, len, pgn); + GPSD_LOG(LOG_DATA, &session->context->errout, +@@ -441,24 +442,39 @@ static gps_mask_t hnd_129540(unsigned char *bu, int len, PGN *pgn, + + session->driver.nmea2000.sid[2] = bu[0]; + session->gpsdata.satellites_visible = (int)bu[2]; ++ if (MAXCHANNELS <= session->gpsdata.satellites_visible) { ++ // Handle a CVE for overrunning skyview[] ++ GPSD_LOG(LOG_WARN, &session->context->errout, ++ "pgn %6d(%3d): Too many sats %d\n", ++ pgn->pgn, session->driver.nmea2000.unit, ++ session->gpsdata.satellites_visible); ++ session->gpsdata.satellites_visible = MAXCHANNELS; ++ } ++ expected_len = 3 + (12 * session->gpsdata.satellites_visible); ++ if (len != expected_len) { ++ GPSD_LOG(LOG_WARN, &session->context->errout, ++ "pgn %6d(%3d): wrong length %d s/b %d\n", ++ pgn->pgn, session->driver.nmea2000.unit, ++ len, expected_len); ++ return 0; ++ } + + memset(session->gpsdata.skyview, '\0', sizeof(session->gpsdata.skyview)); +- for (l1=0;l1<session->gpsdata.satellites_visible;l1++) { +- int svt; +- double azi, elev, snr; +- +- elev = getles16(bu, 3+12*l1+1) * 1e-4 * RAD_2_DEG; +- azi = getleu16(bu, 3+12*l1+3) * 1e-4 * RAD_2_DEG; +- snr = getles16(bu, 3+12*l1+5) * 1e-2; ++ for (l1 = 0; l1 < session->gpsdata.satellites_visible; l1++) { ++ int offset = 3 + (12 * l1); ++ double elev = getles16(bu, offset + 1) * 1e-4 * RAD_2_DEG; ++ double azi = getleu16(bu, offset + 3) * 1e-4 * RAD_2_DEG; ++ double snr = getles16(bu, offset + 5) * 1e-2; + +- svt = (int)(bu[3+12*l1+11] & 0x0f); ++ int svt = (int)(bu[offset + 11] & 0x0f); + +- session->gpsdata.skyview[l1].elevation = (short) (round(elev)); +- session->gpsdata.skyview[l1].azimuth = (short) (round(azi)); ++ session->gpsdata.skyview[l1].elevation = elev; ++ session->gpsdata.skyview[l1].azimuth = azi; + session->gpsdata.skyview[l1].ss = snr; +- session->gpsdata.skyview[l1].PRN = (short)bu[3+12*l1+0]; ++ session->gpsdata.skyview[l1].PRN = (int16_t)bu[offset]; + session->gpsdata.skyview[l1].used = false; +- if ((svt == 2) || (svt == 5)) { ++ if ((2 == svt) || ++ (5 == svt)) { + session->gpsdata.skyview[l1].used = true; + } + }
meta-oe/recipes-navigation/gpsd/gpsd_3.26.1.bb +1 -0
@@ -9,6 +9,7 @@ HOMEPAGE = "https://gpsd.io/" SRC_URI = "${SAVANNAH_GNU_MIRROR}/${BPN}/${BP}.tar.gz \ file://gpsd.init \ + file://CVE-2025-67268.patch \ " SRC_URI[sha256sum] = "dc7e465968c1540e61bc57c7586d6a57a0047212a014efdad348f907bc2e0990"
PATCH 8/15 gpsd: patch CVE-2025-67269
In reply to Gyorgy SarvariDetails: https://nvd.nist.gov/vuln/detail/CVE-2025-67269
Backport the patch that is referenced by the NVD advisory.
--- .../gpsd/gpsd/CVE-2025-67269.patch | 158 ++++++++++++++++++ .../recipes-navigation/gpsd/gpsd_3.26.1.bb | 1 + 2 files changed, 159 insertions(+) create mode 100644 meta-oe/recipes-navigation/gpsd/gpsd/CVE-2025-67269.patch
meta-oe/recipes-navigation/gpsd/gpsd/CVE-2025-67269.patch new file +158 -0
@@ -0,0 +1,158 @@ +From 5c8490b32eb8e8d78e054851300cdebefd1c2e5a Mon Sep 17 00:00:00 2001 +From: "Gary E. Miller" <[email protected]> +Date: Wed, 3 Dec 2025 19:04:03 -0800 +Subject: [PATCH] gpsd/packet.c: Fix integer underflow is malicious Navcom + packet + +Causes DoS. Fix issue 358 + +CVE: CVE-2025-67269 +Upstream-Status: Backport [https://gitlab.com/gpsd/gpsd/-/commit/ffa1d6f40bca0b035fc7f5e563160ebb67199da7] +Signed-off-by: Gyorgy Sarvari <[email protected]> +--- + gpsd/packet.c | 64 ++++++++++++++++++++++++++++++++++++++------------- + 1 file changed, 48 insertions(+), 16 deletions(-) + +diff --git a/gpsd/packet.c b/gpsd/packet.c +index f9a7db8..0c23500 100644 +--- a/gpsd/packet.c ++++ b/gpsd/packet.c +@@ -1141,18 +1141,22 @@ static bool nextstate(struct gps_lexer_t *lexer, unsigned char c) + #endif // SIRF_ENABLE || SKYTRAQ_ENABLE + #ifdef SIRF_ENABLE + case SIRF_LEADER_2: +- // first part of length +- lexer->length = (size_t) (c << 8); ++ // first part of length, MSB ++ lexer->length = (c & 0x7f) << 8; ++ if (lexer->length > MAX_PACKET_LENGTH) { ++ lexer->length = 0; ++ return character_pushback(lexer, GROUND_STATE); ++ } // else + lexer->state = SIRF_LENGTH_1; + break; + case SIRF_LENGTH_1: + // second part of length + lexer->length += c + 2; +- if (lexer->length <= MAX_PACKET_LENGTH) { +- lexer->state = SIRF_PAYLOAD; +- } else { ++ if (lexer->length > MAX_PACKET_LENGTH) { ++ lexer->length = 0; + return character_pushback(lexer, GROUND_STATE); +- } ++ } // else ++ lexer->state = SIRF_PAYLOAD; + break; + case SIRF_PAYLOAD: + if (0 == --lexer->length) { +@@ -1194,6 +1198,7 @@ static bool nextstate(struct gps_lexer_t *lexer, unsigned char c) + return character_pushback(lexer, GROUND_STATE); + } + if (MAX_PACKET_LENGTH < lexer->length) { ++ lexer->length = 0; + return character_pushback(lexer, GROUND_STATE); + } + lexer->state = SKY_PAYLOAD; +@@ -1376,14 +1381,29 @@ static bool nextstate(struct gps_lexer_t *lexer, unsigned char c) + } + break; + case NAVCOM_LEADER_3: ++ // command ID + lexer->state = NAVCOM_ID; + break; + case NAVCOM_ID: +- lexer->length = (size_t)c - 4; ++ /* Length LSB ++ * Navcom length includes command ID, length bytes. and checksum. ++ * So for more than just the payload length. ++ * Minimum 4 bytes */ ++ if (4 > c) { ++ return character_pushback(lexer, GROUND_STATE); ++ } ++ lexer->length = c; + lexer->state = NAVCOM_LENGTH_1; + break; + case NAVCOM_LENGTH_1: ++ // Length USB. Navcom allows payload length up to 65,531 + lexer->length += (c << 8); ++ // don't count ID, length and checksum in payload length ++ lexer->length -= 4; ++ if (MAX_PACKET_LENGTH < lexer->length) { ++ lexer->length = 0; ++ return character_pushback(lexer, GROUND_STATE); ++ } // else + lexer->state = NAVCOM_LENGTH_2; + break; + case NAVCOM_LENGTH_2: +@@ -1510,11 +1530,11 @@ static bool nextstate(struct gps_lexer_t *lexer, unsigned char c) + lexer->length += 2; // checksum + // 10 bytes is the length of the Zodiac header + // no idea what Zodiac max length really is +- if ((MAX_PACKET_LENGTH - 10) >= lexer->length) { +- lexer->state = ZODIAC_PAYLOAD; +- } else { ++ if ((MAX_PACKET_LENGTH - 10) < lexer->length) { ++ lexer->length = 0; + return character_pushback(lexer, GROUND_STATE); +- } ++ } // else ++ lexer->state = ZODIAC_PAYLOAD; + break; + case ZODIAC_PAYLOAD: + if (0 == --lexer->length) { +@@ -1549,6 +1569,7 @@ static bool nextstate(struct gps_lexer_t *lexer, unsigned char c) + lexer->state = UBX_LENGTH_2; + } else { + // bad length ++ lexer->length = 0; + return character_pushback(lexer, GROUND_STATE); + } + break; +@@ -1604,6 +1625,7 @@ static bool nextstate(struct gps_lexer_t *lexer, unsigned char c) + lexer->length += (c << 8); + if (MAX_PACKET_LENGTH <= lexer->length) { + // bad length ++ lexer->length = 0; + return character_pushback(lexer, GROUND_STATE); + } // else + +@@ -1841,16 +1863,16 @@ static bool nextstate(struct gps_lexer_t *lexer, unsigned char c) + lexer->state = GEOSTAR_MESSAGE_ID_2; + break; + case GEOSTAR_MESSAGE_ID_2: +- lexer->length = (size_t)c * 4; ++ lexer->length = c * 4; + lexer->state = GEOSTAR_LENGTH_1; + break; + case GEOSTAR_LENGTH_1: + lexer->length += (c << 8) * 4; +- if (MAX_PACKET_LENGTH >= lexer->length) { +- lexer->state = GEOSTAR_LENGTH_2; +- } else { ++ if (MAX_PACKET_LENGTH < lexer->length) { ++ lexer->length = 0; + return character_pushback(lexer, GROUND_STATE); +- } ++ } // else ++ lexer->state = GEOSTAR_LENGTH_2; + break; + case GEOSTAR_LENGTH_2: + lexer->state = GEOSTAR_PAYLOAD; +@@ -2160,6 +2182,16 @@ static bool nextstate(struct gps_lexer_t *lexer, unsigned char c) + #endif // STASH_ENABLE + } + ++ /* Catch length overflow. Should not happen. ++ * length is size_t, so underflow looks like overflow too. */ ++ if (MAX_PACKET_LENGTH <= lexer->length) { ++ GPSD_LOG(LOG_WARN, &lexer->errout, ++ "Too long: %zu state %u %s c x%x\n", ++ lexer->length, lexer->state, state_table[lexer->state], c); ++ // exit(255); ++ lexer->length = 0; ++ return character_pushback(lexer, GROUND_STATE); ++ } + return true; // no pushback + } +
meta-oe/recipes-navigation/gpsd/gpsd_3.26.1.bb +1 -0
@@ -10,6 +10,7 @@ HOMEPAGE = "https://gpsd.io/" SRC_URI = "${SAVANNAH_GNU_MIRROR}/${BPN}/${BP}.tar.gz \ file://gpsd.init \ file://CVE-2025-67268.patch \ + file://CVE-2025-67269.patch \ " SRC_URI[sha256sum] = "dc7e465968c1540e61bc57c7586d6a57a0047212a014efdad348f907bc2e0990"
PATCH 9/15 imagemagick: upgrade 7.1.2-12 -> 7.1.2-13
In reply to Gyorgy SarvariFrom: Wang Mingyu <[email protected]>
License-Update: change license url to https://imagemagick.org/license/
Contains fixes for CVE-2026-22770, CVE-2026-23874, CVE-2026-23876 and CVE-2026-23952.
---
.../{imagemagick_7.1.2-12.bb => imagemagick_7.1.2-13.bb} | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
rename meta-oe/recipes-support/imagemagick/{imagemagick_7.1.2-12.bb => imagemagick_7.1.2-13.bb} (98%)meta-oe/recipes-support/imagemagick/imagemagick_7.1.2-13.bb renamed from meta-oe/recipes-support/imagemagick/imagemagick_7.1.2-12.bb +3 -3
@@ -4,8 +4,8 @@ HOMEPAGE = "https://www.imagemagick.org/" DESCRIPTION = "ImageMagick is a collection of tools for displaying, converting, and \ editing raster and vector image files. It can read and write over 200 image file formats." LICENSE = "ImageMagick" -LIC_FILES_CHKSUM = "file://LICENSE;md5=2f9de66264141265b203cde9902819ea \ - file://NOTICE;md5=bcbf1f1897b40ec8df39700cb560e9ed" +LIC_FILES_CHKSUM = "file://LICENSE;md5=1f56ade64cf079aff7232f7dbeaea992 \ + file://NOTICE;md5=3974428a57d34b981abb7acc416dde8f" # FIXME: There are many more checked libraries. All should be added or explicitly disabled to get consistent results. DEPENDS = "lcms bzip2 jpeg libpng tiff zlib fftw freetype libtool"
@@ -17,7 +17,7 @@ SRC_URI = "git://github.com/ImageMagick/ImageMagick.git;branch=main;protocol=htt file://imagemagick-ptest.sh \ " -SRCREV = "bdd4fa561d7bf4c6afd40ee9c89e9f9e82b6e88b" +SRCREV = "dd991e286b96918917a3392d6dc3ffc0e6907a4e" inherit autotools pkgconfig update-alternatives ptest
PATCH 10/15 libcdio: patch CVE-2024-36600
In reply to Gyorgy SarvariDetails: https://nvd.nist.gov/vuln/detail/CVE-2024-36600
Backport the patch from the PR that is referenced in the NVD advisory.
Note that there are two PRs mentioned: one is the fix, and the other is just readme update with the CVE ID. The latter wasn't backported.
--- .../libcdio/libcdio/CVE-2024-36600.patch | 32 +++++++++++++++++++ .../libcdio/libcdio_2.2.0.bb | 4 ++- 2 files changed, 35 insertions(+), 1 deletion(-) create mode 100644 meta-oe/recipes-multimedia/libcdio/libcdio/CVE-2024-36600.patch
meta-oe/recipes-multimedia/libcdio/libcdio/CVE-2024-36600.patch new file +32 -0
@@ -0,0 +1,32 @@ +From b620a2d3d37d8068bc69941155ba85e6c740d470 Mon Sep 17 00:00:00 2001 +From: Yuxin Wang <[email protected]> +Date: Sun, 13 Jul 2025 13:53:17 +0800 +Subject: [PATCH] Fix buffer overrun for Joliet filenames + +Joliet uses UCS-2 (2 bytes per character), and converting to UTF-8 +may require up to 3 bytes per character. This patch increases the +buffer size by i_fname/2 to prevent buffer overrun. + +CVE: CVE-2024-36600 +Upstream-Status: Backport [https://github.com/libcdio/libcdio/commit/417478a7474af41c27ab3f876f31783fa06a5dbc] +Signed-off-by: Gyorgy Sarvari <[email protected]> +--- + lib/iso9660/iso9660_fs.c | 5 +++++ + 1 file changed, 5 insertions(+) + +diff --git a/lib/iso9660/iso9660_fs.c b/lib/iso9660/iso9660_fs.c +index 3b2f07c..9df1b94 100644 +--- a/lib/iso9660/iso9660_fs.c ++++ b/lib/iso9660/iso9660_fs.c +@@ -859,6 +859,11 @@ _iso9660_dir_to_statbuf (iso9660_dir_t *p_iso9660_dir, + + /* .. string in statbuf is one longer than in p_iso9660_dir's listing '\1' */ + stat_len = sizeof(iso9660_stat_t) + i_fname + 2; ++#ifdef HAVE_JOLIET ++ if (u_joliet_level) { ++ stat_len += i_fname / 2; ++ } ++#endif + + /* Reuse multiextent p_stat if not NULL */ + if (!p_stat) {
meta-oe/recipes-multimedia/libcdio/libcdio_2.2.0.bb +3 -1
@@ -4,7 +4,9 @@ SECTION = "libs" LICENSE = "GPL-3.0-or-later" LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504" -SRC_URI = "${GITHUB_BASE_URI}/download/${PV}/${BP}.tar.bz2" +SRC_URI = "${GITHUB_BASE_URI}/download/${PV}/${BP}.tar.bz2 \ + file://CVE-2024-36600.patch \ + " SRC_URI[sha256sum] = "6f8fbdf4d189cf63f2a7a1549c516cd720c7b222c7aaadbc924a26e745a48539"
PATCH 11/15 libcupsfilters: patch CVE-2025-64503
In reply to Gyorgy SarvariDetails: https://nvd.nist.gov/vuln/detail/CVE-2025-64503
Pick the patch that explicitly refernces the CVE ID in its message. (The NVD advisory mentions only the cups-filters patch, but the developer indicated the CVE ID in the libcupsfilters patch also)
Between this recipe version and the patch the project has decided to eliminate c++ from the project, and use c only. The patch however is straightforward enough that it could be backported with very small modifications.
--- .../cups/libcupsfilters/CVE-2025-64503.patch | 47 +++++++++++++++++++ .../cups/libcupsfilters_2.1.1.bb | 8 ++-- 2 files changed, 51 insertions(+), 4 deletions(-) create mode 100644 meta-oe/recipes-printing/cups/libcupsfilters/CVE-2025-64503.patch
meta-oe/recipes-printing/cups/libcupsfilters/CVE-2025-64503.patch new file +47 -0
@@ -0,0 +1,47 @@ +From da9a7db3b9125c87b11c43b05354ca2eb21ed684 Mon Sep 17 00:00:00 2001 +From: Gyorgy Sarvari <[email protected]> +Date: Mon, 10 Nov 2025 21:10:56 +0100 +Subject: [PATCH] Fix out-of-bounds write in cfFilterPDFToRaster() + +From: Till Kamppeter <[email protected]> + +PDFs with too large page dimensions could cause an integer overflow and then a too small buffer for the pixel line to be allocated. + +Fixed this by cropping the page size to the maximum allowed by the standard, 14400x14400pt, 200x200in, 5x5m + +https://community.adobe.com/t5/indesign-discussions/maximum-width-of-a-pdf/td-p/9217372 + +Fixes CVE-2025-64503 + +CVE: CVE-2025-64503 +Upstream-Status: Backport [https://github.com/OpenPrinting/libcupsfilters/commit/fd01543f372ca3ba1f1c27bd3427110fa0094e3f] +Signed-off-by: Gyorgy Sarvari <[email protected]> +--- + cupsfilters/pdftoraster.cxx | 14 ++++++++++++++ + 1 file changed, 14 insertions(+) + +diff --git a/cupsfilters/pdftoraster.cxx b/cupsfilters/pdftoraster.cxx +index 0235b54..09583df 100644 +--- a/cupsfilters/pdftoraster.cxx ++++ b/cupsfilters/pdftoraster.cxx +@@ -1606,6 +1606,20 @@ out_page(pdftoraster_doc_t *doc, + l = inputPageBox.height(); + if (l < 0) + l = -l; ++ ++ // ++ // Maximum allowed page size for PDF is 200x200 inches (~ 5x5 m), or 14400x14400 pt ++ // https://community.adobe.com/t5/indesign-discussions/maximum-width-of-a-pdf/td-p/9217372 ++ // ++ if (doc->header.cupsPageSize[0] > 14400) { ++ fprintf(stderr, "ERROR: Page width is %.2fpt, too large, cropping to 14400pt\n", doc->header.cupsPageSize[0]); ++ doc->header.cupsPageSize[0] = 14400; ++ } ++ if (doc->header.cupsPageSize[1] > 14400) { ++ fprintf(stderr, "ERROR: Page height is %.2fpt, too large, cropping to 14400pt\n", doc->header.cupsPageSize[1]); ++ doc->header.cupsPageSize[1] = 14400; ++ } ++ + if (rotate == 90 || rotate == 270) + doc->header.cupsPageSize[0] = l; + else
meta-oe/recipes-printing/cups/libcupsfilters_2.1.1.bb +4 -4
@@ -5,10 +5,10 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=aab2024bd2a475438a154cd1640c9684" DEPENDS = "cups fontconfig libexif dbus lcms qpdf poppler libpng jpeg tiff" -SRC_URI = " \ - https://github.com/OpenPrinting/${BPN}/releases/download/${PV}/${BP}.tar.xz \ - file://0001-use-noexcept-false-instead-of-throw-from-c-17-onward.patch \ -" +SRC_URI = "https://github.com/OpenPrinting/${BPN}/releases/download/${PV}/${BP}.tar.xz \ + file://0001-use-noexcept-false-instead-of-throw-from-c-17-onward.patch \ + file://CVE-2025-64503.patch \ + " SRC_URI[sha256sum] = "6c303e36cfde05a6c88fb940c62b6a18e7cdbfb91f077733ebc98f104925ce36" inherit autotools gettext pkgconfig github-releases
PATCH 12/15 ndpi: ignore CVE-2025-25066
In reply to Gyorgy SarvariDetails: https://nvd.nist.gov/vuln/detail/CVE-2025-25066
The vulnerable code was introduced in version 4.12[1], and the recipe version is not vulnerable yet. Due to this, ignore this CVE.
[1]: https://github.com/ntop/nDPI/commit/b9348e9d6e0e754c4b17661c643ca258f1540ca1
--- meta-networking/recipes-support/ntopng/ndpi_4.2.bb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
meta-networking/recipes-support/ntopng/ndpi_4.2.bb +2 -1
@@ -13,7 +13,6 @@ SRC_URI = "git://github.com/ntop/nDPI.git;branch=4.2-stable;protocol=https \ file://0001-autogen.sh-not-generate-configure.patch \ " - inherit autotools-brokensep pkgconfig CPPFLAGS += "${SELECTED_OPTIMIZATION}"
@@ -25,3 +24,5 @@ do_configure:prepend() { EXTRA_OEMAKE = " \ libdir=${libdir} \ " + +CVE_STATUS[CVE-2025-25066] = "cpe-incorrect: Version 4.2 is not vulnerable yet"
PATCH 13/15 nodejs: upgrade 22.21.1 -> 22.22.0
In reply to Gyorgy SarvariFrom: Jason Schonberg <[email protected]>
This is the December 2025 security release that the nodejs team released January 13, 2026.
3 high severity issues.
4 medium severity issues.
1 low severity issue.
High priority fixes:
CVE-2025-55131
CVE-2025-55130
CVE-2025-59465
Medium priority fixes:
CVE-2025-59466
CVE-2025-59464
CVE-2026-21636 *
CVE-2026-21637
Low priority fixes:
CVE-2025-55132
* note that this medium priority CVE only effects Nodejs v25.
https://nodejs.org/en/blog/vulnerability/december-2025-security-releases
Changelog: https://github.com/nodejs/node/releases/tag/v22.22.0
---
.../oe-npm-cache | 0
...oe-cache-native_22.21.bb => nodejs-oe-cache-native_22.22.bb} | 0
.../nodejs/{nodejs_22.21.1.bb => nodejs_22.22.0.bb} | 2 +-
3 files changed, 1 insertion(+), 1 deletion(-)
rename meta-oe/recipes-devtools/nodejs/{nodejs-oe-cache-22.21 => nodejs-oe-cache-22.22}/oe-npm-cache (100%)
rename meta-oe/recipes-devtools/nodejs/{nodejs-oe-cache-native_22.21.bb => nodejs-oe-cache-native_22.22.bb} (100%)
rename meta-oe/recipes-devtools/nodejs/{nodejs_22.21.1.bb => nodejs_22.22.0.bb} (98%)meta-oe/recipes-devtools/nodejs/nodejs-oe-cache-22.22/oe-npm-cache renamed from meta-oe/recipes-devtools/nodejs/nodejs-oe-cache-22.21/oe-npm-cache +0 -0
meta-oe/recipes-devtools/nodejs/nodejs-oe-cache-native_22.22.bb renamed from meta-oe/recipes-devtools/nodejs/nodejs-oe-cache-native_22.21.bb +0 -0
meta-oe/recipes-devtools/nodejs/nodejs_22.22.0.bb renamed from meta-oe/recipes-devtools/nodejs/nodejs_22.21.1.bb +1 -1
@@ -39,7 +39,7 @@ SRC_URI:append:class-target = " \ SRC_URI:append:toolchain-clang:powerpc64le = " \ file://0001-ppc64-Do-not-use-mminimal-toc-with-clang.patch \ " -SRC_URI[sha256sum] = "487d73fd4db00dc2420d659a8221b181a7937fbc5bc73f31c30b1680ad6ded6a" +SRC_URI[sha256sum] = "4c138012bb5352f49822a8f3e6d1db71e00639d0c36d5b6756f91e4c6f30b683" S = "${UNPACKDIR}/node-v${PV}"
Re: [oe] [meta-oe][whinlatter][PATCH 13/15] nodejs: upgrade 22.21.1 -> 22.22.0
Hi Gyorgy,
Getting following error when building for qemux86 with musl and clang
| /yocto/bitbake-builds/poky-whinlatter/build/tmp/work/core2-32-poky-linux-musl/nodejs/22.22.0/recipe-sysroot-native/usr/bin/i686-poky-linux-musl/i686-poky-linux-musl-ld:
/usr/lib/i686-poky-linux-musl/15.2.0/../../../include/c++/15.2.0/bits/atomic_base.h:1090:(.text._ZN2v88internal12_GLOBAL__N_120ElementsAccessorBaseINS1_21TypedElementsAccessorILNS0_12ElementsKindE37EdEENS1_18ElementsKindTraitsILS4_37EEEE27CopyTypedArrayElementsSliceENS0_6TaggedINS0_12JSTypedArrayEEESB_jj+0xe05):
undefined reference to `__atomic_store'
| /yocto/bitbake-builds/poky-whinlatter/build/tmp/work/core2-32-poky-linux-musl/nodejs/22.22.0/recipe-sysroot-native/usr/bin/i686-poky-linux-musl/i686-poky-linux-musl-ld:
/yocto/bitbake-builds/poky-whinlatter/build/tmp/work/core2-32-poky-linux-musl/nodejs/22.22.0/sources/node-v22.22.0/out/Release/obj.host/v8_base_without_compiler/deps/v8/src/objects/elements.o:
in function `std::remove_volatile<double>::type
std::__atomic_impl::load<double>(double const*, std::memory_order)':
| /usr/lib/i686-poky-linux-musl/15.2.0/../../../include/c++/15.2.0/bits/atomic_base.h:1099:(.text._ZN2v88internal12_GLOBAL__N_121TypedElementsAccessorILNS0_12ElementsKindE37EdE15GetInternalImplEPNS0_7IsolateENS0_6HandleINS0_8JSObjectEEENS0_13InternalIndexE+0x7c):
undefined reference to `__atomic_load'
| /yocto/bitbake-builds/poky-whinlatter/build/tmp/work/core2-32-poky-linux-musl/nodejs/22.22.0/recipe-sysroot-native/usr/bin/i686-poky-linux-musl/i686-poky-linux-musl-ld:
/usr/lib/i686-poky-linux-musl/15.2.0/../../../include/c++/15.2.0/bits/atomic_base.h:1099:(.text._ZN2v88internal12_GLOBAL__N_120ElementsAccessorBaseINS1_21TypedElementsAccessorILNS0_12ElementsKindE38EhEENS1_18ElementsKindTraitsILS4_38EEEE27CopyTypedArrayElementsSliceENS0_6TaggedINS0_12JSTypedArrayEEESB_jj+0x549):
undefined reference to `__atomic_load'
Can you please have a look into it?
cheers
Ankur
Quoted 76 lines · Gyorgy Sarvari via lists.openembedded.org
From: Jason Schonberg <[email protected]>
This is the December 2025 security release that the nodejs team released January 13, 2026.
3 high severity issues.
4 medium severity issues.
1 low severity issue.High priority fixes:
CVE-2025-55131
CVE-2025-55130
CVE-2025-59465Medium priority fixes:
CVE-2025-59466
CVE-2025-59464
CVE-2026-21636 *
CVE-2026-21637Low priority fixes:
CVE-2025-55132* note that this medium priority CVE only effects Nodejs v25.
https://nodejs.org/en/blog/vulnerability/december-2025-security-releases
Changelog: https://github.com/nodejs/node/releases/tag/v22.22.0
Signed-off-by Jason Schonberg <[email protected]>Signed-off-by Khem Raj <[email protected]>(cherry picked from commit 0bb156371e433cf3e9fdc4291da2319d63a83575)Signed-off-by Gyorgy Sarvari <[email protected]>--- .../oe-npm-cache | 0 ...oe-cache-native_22.21.bb => nodejs-oe-cache-native_22.22.bb} | 0 .../nodejs/{nodejs_22.21.1.bb => nodejs_22.22.0.bb} | 2 +- 3 files changed, 1 insertion(+), 1 deletion(-) rename meta-oe/recipes-devtools/nodejs/{nodejs-oe-cache-22.21 => nodejs-oe-cache-22.22}/oe-npm-cache (100%) rename meta-oe/recipes-devtools/nodejs/{nodejs-oe-cache-native_22.21.bb => nodejs-oe-cache-native_22.22.bb} (100%) rename meta-oe/recipes-devtools/nodejs/{nodejs_22.21.1.bb => nodejs_22.22.0.bb} (98%)meta-oe/recipes-devtools/nodejs/nodejs-oe-cache-22.22/oe-npm-cache renamed from meta-oe/recipes-devtools/nodejs/nodejs-oe-cache-22.21/oe-npm-cache +0
-0meta-oe/recipes-devtools/nodejs/nodejs-oe-cache-native_22.22.bb renamed from meta-oe/recipes-devtools/nodejs/nodejs-oe-cache-native_22.21.bb +0
-0meta-oe/recipes-devtools/nodejs/nodejs_22.22.0.bb renamed from meta-oe/recipes-devtools/nodejs/nodejs_22.21.1.bb +1
-2@@ -39,7 +39,7 @@ SRC_URI:append:class-target = " \ SRC_URI:append:toolchain-clang:powerpc64le = " \ file://0001-ppc64-Do-not-use-mminimal-toc-with-clang.patch \ " -SRC_URI[sha256sum] = "487d73fd4db00dc2420d659a8221b181a7937fbc5bc73f31c30b1680ad6ded6a" +SRC_URI[sha256sum] = "4c138012bb5352f49822a8f3e6d1db71e00639d0c36d5b6756f91e4c6f30b683" S = "${UNPACKDIR}/node-v${PV}" -=-=-=-=-=-=-=-=-=-=-=-Links: You receive all messages sent to this group.
View/Reply Online (#124086): https://lists.openembedded.org/g/openembedded-devel/message/124086
Mute This Topic: https://lists.openembedded.org/mt/117604901/3619737
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-
Re: [oe] [meta-oe][whinlatter][PATCH 13/15] nodejs: upgrade 22.21.1 -> 22.22.0
Quoted 17 lines · Ankur Tyagi
Hi Gyorgy,
Getting following error when building for qemux86 with musl and clang
| /yocto/bitbake-builds/poky-whinlatter/build/tmp/work/core2-32-poky-linux-musl/nodejs/22.22.0/recipe-sysroot-native/usr/bin/i686-poky-linux-musl/i686-poky-linux-musl-ld:
/usr/lib/i686-poky-linux-musl/15.2.0/../../../include/c++/15.2.0/bits/atomic_base.h:1090:(.text._ZN2v88internal12_GLOBAL__N_120ElementsAccessorBaseINS1_21TypedElementsAccessorILNS0_12ElementsKindE37EdEENS1_18ElementsKindTraitsILS4_37EEEE27CopyTypedArrayElementsSliceENS0_6TaggedINS0_12JSTypedArrayEEESB_jj+0xe05):
undefined reference to `__atomic_store'
| /yocto/bitbake-builds/poky-whinlatter/build/tmp/work/core2-32-poky-linux-musl/nodejs/22.22.0/recipe-sysroot-native/usr/bin/i686-poky-linux-musl/i686-poky-linux-musl-ld:
/yocto/bitbake-builds/poky-whinlatter/build/tmp/work/core2-32-poky-linux-musl/nodejs/22.22.0/sources/node-v22.22.0/out/Release/obj.host/v8_base_without_compiler/deps/v8/src/objects/elements.o:
in function `std::remove_volatile<double>::type
std::__atomic_impl::load<double>(double const*,std::memory_order)':
| /usr/lib/i686-poky-linux-musl/15.2.0/../../../include/c++/15.2.0/bits/atomic_base.h:1099:(.text._ZN2v88internal12_GLOBAL__N_121TypedElementsAccessorILNS0_12ElementsKindE37EdE15GetInternalImplEPNS0_7IsolateENS0_6HandleINS0_8JSObjectEEENS0_13InternalIndexE+0x7c):
undefined reference to `__atomic_load'
| /yocto/bitbake-builds/poky-whinlatter/build/tmp/work/core2-32-poky-linux-musl/nodejs/22.22.0/recipe-sysroot-native/usr/bin/i686-poky-linux-musl/i686-poky-linux-musl-ld:
/usr/lib/i686-poky-linux-musl/15.2.0/../../../include/c++/15.2.0/bits/atomic_base.h:1099:(.text._ZN2v88internal12_GLOBAL__N_120ElementsAccessorBaseINS1_21TypedElementsAccessorILNS0_12ElementsKindE38EhEENS1_18ElementsKindTraitsILS4_38EEEE27CopyTypedArrayElementsSliceENS0_6TaggedINS0_12JSTypedArrayEEESB_jj+0x549):
undefined reference to `__atomic_load'
Quoted 1 line
Can you please have a look into it?
I don't think that I can unfortunately. It seems to be something with the -latomic LDFLAG. I *think* that the problem is the library order in the linker invocation. libatomic appears very early in the command, before any other resource, and I think it should appear at the end. But I'm not familiar with gyp, and nodejs takes 30 minutes to show that my try about reordering the flags was unsuccessful.
As a sidenote, it is not a regression from this patch, it has the same issue with the current version also - but if it's a stopper for Whinlatter, feel free to drop this. I might take another shot at it in the future.
Quoted 83 lines
cheers
AnkurQuoted 75 lines · Gyorgy Sarvari via lists.openembedded.org
From: Jason Schonberg <[email protected]>
This is the December 2025 security release that the nodejs team released January 13, 2026.
3 high severity issues.
4 medium severity issues.
1 low severity issue.High priority fixes:
CVE-2025-55131
CVE-2025-55130
CVE-2025-59465Medium priority fixes:
CVE-2025-59466
CVE-2025-59464
CVE-2026-21636 *
CVE-2026-21637Low priority fixes:
CVE-2025-55132* note that this medium priority CVE only effects Nodejs v25.
https://nodejs.org/en/blog/vulnerability/december-2025-security-releases
Changelog: https://github.com/nodejs/node/releases/tag/v22.22.0
Signed-off-by Jason Schonberg <[email protected]>Signed-off-by Khem Raj <[email protected]>(cherry picked from commit 0bb156371e433cf3e9fdc4291da2319d63a83575)Signed-off-by Gyorgy Sarvari <[email protected]>--- .../oe-npm-cache | 0 ...oe-cache-native_22.21.bb => nodejs-oe-cache-native_22.22.bb} | 0 .../nodejs/{nodejs_22.21.1.bb => nodejs_22.22.0.bb} | 2 +- 3 files changed, 1 insertion(+), 1 deletion(-) rename meta-oe/recipes-devtools/nodejs/{nodejs-oe-cache-22.21 => nodejs-oe-cache-22.22}/oe-npm-cache (100%) rename meta-oe/recipes-devtools/nodejs/{nodejs-oe-cache-native_22.21.bb => nodejs-oe-cache-native_22.22.bb} (100%) rename meta-oe/recipes-devtools/nodejs/{nodejs_22.21.1.bb => nodejs_22.22.0.bb} (98%)meta-oe/recipes-devtools/nodejs/nodejs-oe-cache-22.22/oe-npm-cache renamed from meta-oe/recipes-devtools/nodejs/nodejs-oe-cache-22.21/oe-npm-cache +0
-0meta-oe/recipes-devtools/nodejs/nodejs-oe-cache-native_22.22.bb renamed from meta-oe/recipes-devtools/nodejs/nodejs-oe-cache-native_22.21.bb +0
-0meta-oe/recipes-devtools/nodejs/nodejs_22.22.0.bb renamed from meta-oe/recipes-devtools/nodejs/nodejs_22.21.1.bb +1
-2@@ -39,7 +39,7 @@ SRC_URI:append:class-target = " \ SRC_URI:append:toolchain-clang:powerpc64le = " \ file://0001-ppc64-Do-not-use-mminimal-toc-with-clang.patch \ " -SRC_URI[sha256sum] = "487d73fd4db00dc2420d659a8221b181a7937fbc5bc73f31c30b1680ad6ded6a" +SRC_URI[sha256sum] = "4c138012bb5352f49822a8f3e6d1db71e00639d0c36d5b6756f91e4c6f30b683" S = "${UNPACKDIR}/node-v${PV}" -=-=-=-=-=-=-=-=-=-=-=-Links: You receive all messages sent to this group.
View/Reply Online (#124086): https://lists.openembedded.org/g/openembedded-devel/message/124086
Mute This Topic: https://lists.openembedded.org/mt/117604901/3619737
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-
Re: [oe] [meta-oe][whinlatter][PATCH 13/15] nodejs: upgrade 22.21.1 -> 22.22.0
Quoted 27 lines · Gyorgy Sarvari
Quoted 17 lines · Ankur Tyagi
Hi Gyorgy,
Getting following error when building for qemux86 with musl and clang
| /yocto/bitbake-builds/poky-whinlatter/build/tmp/work/core2-32-poky-linux-musl/nodejs/22.22.0/recipe-sysroot-native/usr/bin/i686-poky-linux-musl/i686-poky-linux-musl-ld:
/usr/lib/i686-poky-linux-musl/15.2.0/../../../include/c++/15.2.0/bits/atomic_base.h:1090:(.text._ZN2v88internal12_GLOBAL__N_120ElementsAccessorBaseINS1_21TypedElementsAccessorILNS0_12ElementsKindE37EdEENS1_18ElementsKindTraitsILS4_37EEEE27CopyTypedArrayElementsSliceENS0_6TaggedINS0_12JSTypedArrayEEESB_jj+0xe05):
undefined reference to `__atomic_store'
| /yocto/bitbake-builds/poky-whinlatter/build/tmp/work/core2-32-poky-linux-musl/nodejs/22.22.0/recipe-sysroot-native/usr/bin/i686-poky-linux-musl/i686-poky-linux-musl-ld:
/yocto/bitbake-builds/poky-whinlatter/build/tmp/work/core2-32-poky-linux-musl/nodejs/22.22.0/sources/node-v22.22.0/out/Release/obj.host/v8_base_without_compiler/deps/v8/src/objects/elements.o:
in function `std::remove_volatile<double>::type
std::__atomic_impl::load<double>(double const*,std::memory_order)':
| /usr/lib/i686-poky-linux-musl/15.2.0/../../../include/c++/15.2.0/bits/atomic_base.h:1099:(.text._ZN2v88internal12_GLOBAL__N_121TypedElementsAccessorILNS0_12ElementsKindE37EdE15GetInternalImplEPNS0_7IsolateENS0_6HandleINS0_8JSObjectEEENS0_13InternalIndexE+0x7c):
undefined reference to `__atomic_load'
| /yocto/bitbake-builds/poky-whinlatter/build/tmp/work/core2-32-poky-linux-musl/nodejs/22.22.0/recipe-sysroot-native/usr/bin/i686-poky-linux-musl/i686-poky-linux-musl-ld:
/usr/lib/i686-poky-linux-musl/15.2.0/../../../include/c++/15.2.0/bits/atomic_base.h:1099:(.text._ZN2v88internal12_GLOBAL__N_120ElementsAccessorBaseINS1_21TypedElementsAccessorILNS0_12ElementsKindE38EhEENS1_18ElementsKindTraitsILS4_38EEEE27CopyTypedArrayElementsSliceENS0_6TaggedINS0_12JSTypedArrayEEESB_jj+0x549):
undefined reference to `__atomic_load'Quoted 1 line
Can you please have a look into it?
I don't think that I can unfortunately. It seems to be something with the -latomic LDFLAG. I *think* that the problem is the library order in the linker invocation. libatomic appears very early in the command, before any other resource, and I think it should appear at the end. But I'm not familiar with gyp, and nodejs takes 30 minutes to show that my try about reordering the flags was unsuccessful.
Quoted 5 lines
As a sidenote, it is not a regression from this patch, it has the same issue with the current version also - but if it's a stopper for Whinlatter, feel free to drop this. I might take another shot at it in the future.
I had a sleep since, and it frequently helps with annoying problems.
I have a potential fix[1], but first I want to run it thru master to see if anyone has a better idea. It can be cherry-picked if it makes its way to master successfully (which has the this problem also).
Meanwhile feel free to test it if you want to, the patch should apply clean on Whinlatter.
[1]: https://lists.openembedded.org/g/openembedded-devel/message/124121
Quoted 82 lines
Quoted 82 lines
cheers
AnkurQuoted 75 lines · Gyorgy Sarvari via lists.openembedded.org
From: Jason Schonberg <[email protected]>
This is the December 2025 security release that the nodejs team released January 13, 2026.
3 high severity issues.
4 medium severity issues.
1 low severity issue.High priority fixes:
CVE-2025-55131
CVE-2025-55130
CVE-2025-59465Medium priority fixes:
CVE-2025-59466
CVE-2025-59464
CVE-2026-21636 *
CVE-2026-21637Low priority fixes:
CVE-2025-55132* note that this medium priority CVE only effects Nodejs v25.
https://nodejs.org/en/blog/vulnerability/december-2025-security-releases
Changelog: https://github.com/nodejs/node/releases/tag/v22.22.0
Signed-off-by Jason Schonberg <[email protected]>Signed-off-by Khem Raj <[email protected]>(cherry picked from commit 0bb156371e433cf3e9fdc4291da2319d63a83575)Signed-off-by Gyorgy Sarvari <[email protected]>--- .../oe-npm-cache | 0 ...oe-cache-native_22.21.bb => nodejs-oe-cache-native_22.22.bb} | 0 .../nodejs/{nodejs_22.21.1.bb => nodejs_22.22.0.bb} | 2 +- 3 files changed, 1 insertion(+), 1 deletion(-) rename meta-oe/recipes-devtools/nodejs/{nodejs-oe-cache-22.21 => nodejs-oe-cache-22.22}/oe-npm-cache (100%) rename meta-oe/recipes-devtools/nodejs/{nodejs-oe-cache-native_22.21.bb => nodejs-oe-cache-native_22.22.bb} (100%) rename meta-oe/recipes-devtools/nodejs/{nodejs_22.21.1.bb => nodejs_22.22.0.bb} (98%)meta-oe/recipes-devtools/nodejs/nodejs-oe-cache-22.22/oe-npm-cache renamed from meta-oe/recipes-devtools/nodejs/nodejs-oe-cache-22.21/oe-npm-cache +0
-0meta-oe/recipes-devtools/nodejs/nodejs-oe-cache-native_22.22.bb renamed from meta-oe/recipes-devtools/nodejs/nodejs-oe-cache-native_22.21.bb +0
-0meta-oe/recipes-devtools/nodejs/nodejs_22.22.0.bb renamed from meta-oe/recipes-devtools/nodejs/nodejs_22.21.1.bb +1
-2@@ -39,7 +39,7 @@ SRC_URI:append:class-target = " \ SRC_URI:append:toolchain-clang:powerpc64le = " \ file://0001-ppc64-Do-not-use-mminimal-toc-with-clang.patch \ " -SRC_URI[sha256sum] = "487d73fd4db00dc2420d659a8221b181a7937fbc5bc73f31c30b1680ad6ded6a" +SRC_URI[sha256sum] = "4c138012bb5352f49822a8f3e6d1db71e00639d0c36d5b6756f91e4c6f30b683" S = "${UNPACKDIR}/node-v${PV}" -=-=-=-=-=-=-=-=-=-=-=-Links: You receive all messages sent to this group.
View/Reply Online (#124086): https://lists.openembedded.org/g/openembedded-devel/message/124086
Mute This Topic: https://lists.openembedded.org/mt/117604901/3619737
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-
Re: [oe] [meta-oe][whinlatter][PATCH 13/15] nodejs: upgrade 22.21.1 -> 22.22.0
Quoted 37 lines · Gyorgy Sarvari
Quoted 27 lines · Gyorgy Sarvari
Quoted 17 lines · Ankur Tyagi
Hi Gyorgy,
Getting following error when building for qemux86 with musl and clang
| /yocto/bitbake-builds/poky-whinlatter/build/tmp/work/core2-32-poky-linux-musl/nodejs/22.22.0/recipe-sysroot-native/usr/bin/i686-poky-linux-musl/i686-poky-linux-musl-ld:
/usr/lib/i686-poky-linux-musl/15.2.0/../../../include/c++/15.2.0/bits/atomic_base.h:1090:(.text._ZN2v88internal12_GLOBAL__N_120ElementsAccessorBaseINS1_21TypedElementsAccessorILNS0_12ElementsKindE37EdEENS1_18ElementsKindTraitsILS4_37EEEE27CopyTypedArrayElementsSliceENS0_6TaggedINS0_12JSTypedArrayEEESB_jj+0xe05):
undefined reference to `__atomic_store'
| /yocto/bitbake-builds/poky-whinlatter/build/tmp/work/core2-32-poky-linux-musl/nodejs/22.22.0/recipe-sysroot-native/usr/bin/i686-poky-linux-musl/i686-poky-linux-musl-ld:
/yocto/bitbake-builds/poky-whinlatter/build/tmp/work/core2-32-poky-linux-musl/nodejs/22.22.0/sources/node-v22.22.0/out/Release/obj.host/v8_base_without_compiler/deps/v8/src/objects/elements.o:
in function `std::remove_volatile<double>::type
std::__atomic_impl::load<double>(double const*,std::memory_order)':
| /usr/lib/i686-poky-linux-musl/15.2.0/../../../include/c++/15.2.0/bits/atomic_base.h:1099:(.text._ZN2v88internal12_GLOBAL__N_121TypedElementsAccessorILNS0_12ElementsKindE37EdE15GetInternalImplEPNS0_7IsolateENS0_6HandleINS0_8JSObjectEEENS0_13InternalIndexE+0x7c):
undefined reference to `__atomic_load'
| /yocto/bitbake-builds/poky-whinlatter/build/tmp/work/core2-32-poky-linux-musl/nodejs/22.22.0/recipe-sysroot-native/usr/bin/i686-poky-linux-musl/i686-poky-linux-musl-ld:
/usr/lib/i686-poky-linux-musl/15.2.0/../../../include/c++/15.2.0/bits/atomic_base.h:1099:(.text._ZN2v88internal12_GLOBAL__N_120ElementsAccessorBaseINS1_21TypedElementsAccessorILNS0_12ElementsKindE38EhEENS1_18ElementsKindTraitsILS4_38EEEE27CopyTypedArrayElementsSliceENS0_6TaggedINS0_12JSTypedArrayEEESB_jj+0x549):
undefined reference to `__atomic_load'Quoted 1 line
Can you please have a look into it?
I don't think that I can unfortunately. It seems to be something with the -latomic LDFLAG. I *think* that the problem is the library order in the linker invocation. libatomic appears very early in the command, before any other resource, and I think it should appear at the end. But I'm not familiar with gyp, and nodejs takes 30 minutes to show that my try about reordering the flags was unsuccessful.
Quoted 5 lines
As a sidenote, it is not a regression from this patch, it has the same issue with the current version also - but if it's a stopper for Whinlatter, feel free to drop this. I might take another shot at it in the future.
I had a sleep since, and it frequently helps with annoying problems.
Quoted 9 lines
I have a potential fix[1], but first I want to run it thru master to see if anyone has a better idea. It can be cherry-picked if it makes its way to master successfully (which has the this problem also).
Meanwhile feel free to test it if you want to, the patch should apply clean on Whinlatter.
[1]: https://lists.openembedded.org/g/openembedded-devel/message/124121
That's great, thanks !
Will give it a try tomorrow.
Quoted 83 lines
Quoted 82 lines
Quoted 82 lines
cheers
AnkurQuoted 75 lines · Gyorgy Sarvari via lists.openembedded.org
From: Jason Schonberg <[email protected]>
This is the December 2025 security release that the nodejs team released January 13, 2026.
3 high severity issues.
4 medium severity issues.
1 low severity issue.High priority fixes:
CVE-2025-55131
CVE-2025-55130
CVE-2025-59465Medium priority fixes:
CVE-2025-59466
CVE-2025-59464
CVE-2026-21636 *
CVE-2026-21637Low priority fixes:
CVE-2025-55132* note that this medium priority CVE only effects Nodejs v25.
https://nodejs.org/en/blog/vulnerability/december-2025-security-releases
Changelog: https://github.com/nodejs/node/releases/tag/v22.22.0
Signed-off-by Jason Schonberg <[email protected]>Signed-off-by Khem Raj <[email protected]>(cherry picked from commit 0bb156371e433cf3e9fdc4291da2319d63a83575)Signed-off-by Gyorgy Sarvari <[email protected]>--- .../oe-npm-cache | 0 ...oe-cache-native_22.21.bb => nodejs-oe-cache-native_22.22.bb} | 0 .../nodejs/{nodejs_22.21.1.bb => nodejs_22.22.0.bb} | 2 +- 3 files changed, 1 insertion(+), 1 deletion(-) rename meta-oe/recipes-devtools/nodejs/{nodejs-oe-cache-22.21 => nodejs-oe-cache-22.22}/oe-npm-cache (100%) rename meta-oe/recipes-devtools/nodejs/{nodejs-oe-cache-native_22.21.bb => nodejs-oe-cache-native_22.22.bb} (100%) rename meta-oe/recipes-devtools/nodejs/{nodejs_22.21.1.bb => nodejs_22.22.0.bb} (98%)meta-oe/recipes-devtools/nodejs/nodejs-oe-cache-22.22/oe-npm-cache renamed from meta-oe/recipes-devtools/nodejs/nodejs-oe-cache-22.21/oe-npm-cache +0
-0meta-oe/recipes-devtools/nodejs/nodejs-oe-cache-native_22.22.bb renamed from meta-oe/recipes-devtools/nodejs/nodejs-oe-cache-native_22.21.bb +0
-0meta-oe/recipes-devtools/nodejs/nodejs_22.22.0.bb renamed from meta-oe/recipes-devtools/nodejs/nodejs_22.21.1.bb +1
-2@@ -39,7 +39,7 @@ SRC_URI:append:class-target = " \ SRC_URI:append:toolchain-clang:powerpc64le = " \ file://0001-ppc64-Do-not-use-mminimal-toc-with-clang.patch \ " -SRC_URI[sha256sum] = "487d73fd4db00dc2420d659a8221b181a7937fbc5bc73f31c30b1680ad6ded6a" +SRC_URI[sha256sum] = "4c138012bb5352f49822a8f3e6d1db71e00639d0c36d5b6756f91e4c6f30b683" S = "${UNPACKDIR}/node-v${PV}" -=-=-=-=-=-=-=-=-=-=-=-Links: You receive all messages sent to this group.
View/Reply Online (#124086): https://lists.openembedded.org/g/openembedded-devel/message/124086
Mute This Topic: https://lists.openembedded.org/mt/117604901/3619737
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-
Re: [oe] [meta-oe][whinlatter][PATCH 13/15] nodejs: upgrade 22.21.1 -> 22.22.0
Quoted 43 lines · Ankur Tyagi
Quoted 41 lines · Gyorgy Sarvari
Quoted 27 lines · Gyorgy Sarvari
Quoted 17 lines · Ankur Tyagi
Hi Gyorgy,
Getting following error when building for qemux86 with musl and clang
| /yocto/bitbake-builds/poky-whinlatter/build/tmp/work/core2-32-poky-linux-musl/nodejs/22.22.0/recipe-sysroot-native/usr/bin/i686-poky-linux-musl/i686-poky-linux-musl-ld:
/usr/lib/i686-poky-linux-musl/15.2.0/../../../include/c++/15.2.0/bits/atomic_base.h:1090:(.text._ZN2v88internal12_GLOBAL__N_120ElementsAccessorBaseINS1_21TypedElementsAccessorILNS0_12ElementsKindE37EdEENS1_18ElementsKindTraitsILS4_37EEEE27CopyTypedArrayElementsSliceENS0_6TaggedINS0_12JSTypedArrayEEESB_jj+0xe05):
undefined reference to `__atomic_store'
| /yocto/bitbake-builds/poky-whinlatter/build/tmp/work/core2-32-poky-linux-musl/nodejs/22.22.0/recipe-sysroot-native/usr/bin/i686-poky-linux-musl/i686-poky-linux-musl-ld:
/yocto/bitbake-builds/poky-whinlatter/build/tmp/work/core2-32-poky-linux-musl/nodejs/22.22.0/sources/node-v22.22.0/out/Release/obj.host/v8_base_without_compiler/deps/v8/src/objects/elements.o:
in function `std::remove_volatile<double>::type
std::__atomic_impl::load<double>(double const*,std::memory_order)':
| /usr/lib/i686-poky-linux-musl/15.2.0/../../../include/c++/15.2.0/bits/atomic_base.h:1099:(.text._ZN2v88internal12_GLOBAL__N_121TypedElementsAccessorILNS0_12ElementsKindE37EdE15GetInternalImplEPNS0_7IsolateENS0_6HandleINS0_8JSObjectEEENS0_13InternalIndexE+0x7c):
undefined reference to `__atomic_load'
| /yocto/bitbake-builds/poky-whinlatter/build/tmp/work/core2-32-poky-linux-musl/nodejs/22.22.0/recipe-sysroot-native/usr/bin/i686-poky-linux-musl/i686-poky-linux-musl-ld:
/usr/lib/i686-poky-linux-musl/15.2.0/../../../include/c++/15.2.0/bits/atomic_base.h:1099:(.text._ZN2v88internal12_GLOBAL__N_120ElementsAccessorBaseINS1_21TypedElementsAccessorILNS0_12ElementsKindE38EhEENS1_18ElementsKindTraitsILS4_38EEEE27CopyTypedArrayElementsSliceENS0_6TaggedINS0_12JSTypedArrayEEESB_jj+0x549):
undefined reference to `__atomic_load'Quoted 1 line
Can you please have a look into it?
I don't think that I can unfortunately. It seems to be something with the -latomic LDFLAG. I *think* that the problem is the library order in the linker invocation. libatomic appears very early in the command, before any other resource, and I think it should appear at the end. But I'm not familiar with gyp, and nodejs takes 30 minutes to show that my try about reordering the flags was unsuccessful.
Quoted 5 lines
As a sidenote, it is not a regression from this patch, it has the same issue with the current version also - but if it's a stopper for Whinlatter, feel free to drop this. I might take another shot at it in the future.
I had a sleep since, and it frequently helps with annoying problems.
I have a potential fix[1], but first I want to run it thru master to see if anyone has a better idea. It can be cherry-picked if it makes its way to master successfully (which has the this problem also).
Quoted 9 lines
Quoted 5 lines
Meanwhile feel free to test it if you want to, the patch should apply clean on Whinlatter.
[1]: https://lists.openembedded.org/g/openembedded-devel/message/124121
That's great, thanks !
Will give it a try tomorrow.
It fixes the error, nice work !
Quoted 83 lines
Quoted 83 lines
Quoted 82 lines
Quoted 82 lines
cheers
AnkurQuoted 75 lines · Gyorgy Sarvari via lists.openembedded.org
From: Jason Schonberg <[email protected]>
This is the December 2025 security release that the nodejs team released January 13, 2026.
3 high severity issues.
4 medium severity issues.
1 low severity issue.High priority fixes:
CVE-2025-55131
CVE-2025-55130
CVE-2025-59465Medium priority fixes:
CVE-2025-59466
CVE-2025-59464
CVE-2026-21636 *
CVE-2026-21637Low priority fixes:
CVE-2025-55132* note that this medium priority CVE only effects Nodejs v25.
https://nodejs.org/en/blog/vulnerability/december-2025-security-releases
Changelog: https://github.com/nodejs/node/releases/tag/v22.22.0
Signed-off-by Jason Schonberg <[email protected]>Signed-off-by Khem Raj <[email protected]>(cherry picked from commit 0bb156371e433cf3e9fdc4291da2319d63a83575)Signed-off-by Gyorgy Sarvari <[email protected]>--- .../oe-npm-cache | 0 ...oe-cache-native_22.21.bb => nodejs-oe-cache-native_22.22.bb} | 0 .../nodejs/{nodejs_22.21.1.bb => nodejs_22.22.0.bb} | 2 +- 3 files changed, 1 insertion(+), 1 deletion(-) rename meta-oe/recipes-devtools/nodejs/{nodejs-oe-cache-22.21 => nodejs-oe-cache-22.22}/oe-npm-cache (100%) rename meta-oe/recipes-devtools/nodejs/{nodejs-oe-cache-native_22.21.bb => nodejs-oe-cache-native_22.22.bb} (100%) rename meta-oe/recipes-devtools/nodejs/{nodejs_22.21.1.bb => nodejs_22.22.0.bb} (98%)meta-oe/recipes-devtools/nodejs/nodejs-oe-cache-22.22/oe-npm-cache renamed from meta-oe/recipes-devtools/nodejs/nodejs-oe-cache-22.21/oe-npm-cache +0
-0meta-oe/recipes-devtools/nodejs/nodejs-oe-cache-native_22.22.bb renamed from meta-oe/recipes-devtools/nodejs/nodejs-oe-cache-native_22.21.bb +0
-0meta-oe/recipes-devtools/nodejs/nodejs_22.22.0.bb renamed from meta-oe/recipes-devtools/nodejs/nodejs_22.21.1.bb +1
-2@@ -39,7 +39,7 @@ SRC_URI:append:class-target = " \ SRC_URI:append:toolchain-clang:powerpc64le = " \ file://0001-ppc64-Do-not-use-mminimal-toc-with-clang.patch \ " -SRC_URI[sha256sum] = "487d73fd4db00dc2420d659a8221b181a7937fbc5bc73f31c30b1680ad6ded6a" +SRC_URI[sha256sum] = "4c138012bb5352f49822a8f3e6d1db71e00639d0c36d5b6756f91e4c6f30b683" S = "${UNPACKDIR}/node-v${PV}" -=-=-=-=-=-=-=-=-=-=-=-Links: You receive all messages sent to this group.
View/Reply Online (#124086): https://lists.openembedded.org/g/openembedded-devel/message/124086
Mute This Topic: https://lists.openembedded.org/mt/117604901/3619737
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-
PATCH 14/15 ez-ipupdate: patch CVE-2003-0887
In reply to Gyorgy SarvariDetails: https://nvd.nist.gov/vuln/detail/CVE-2003-0887
The vulnerability is about the default (example) configurations, which place cache files into the /tmp folder, that is world-writeable. The recommendation would be to place them to a more secure folder.
The recipe however does not install these example configurations, and as such it is not vulnerable either.
Just to make sure, patch these folders to a non-tmp folder (and also install that folder, empty).
Some more discussion about the vulnerability:
https://bugzilla.suse.com/show_bug.cgi?id=48161
--- .../ez-ipupdate/ez-ipupdate_3.0.11b7.bb | 7 + .../ez-ipupdate/files/CVE-2003-0887.patch | 158 ++++++++++++++++++ 2 files changed, 165 insertions(+) create mode 100644 meta-networking/recipes-connectivity/ez-ipupdate/files/CVE-2003-0887.patch
meta-networking/recipes-connectivity/ez-ipupdate/ez-ipupdate_3.0.11b7.bb +7 -0
@@ -10,8 +10,15 @@ SRC_URI = "http://sourceforge.net/projects/ez-ipupdate/files/${BPN}/${PV}/${BPN} file://conf_file.c.patch \ file://wformat.patch \ file://0001-ez-ipupdate-Include-time.h-for-time-API-prototype.patch \ + file://CVE-2003-0887.patch \ " SRC_URI[md5sum] = "525be4550b4461fdf105aed8e753b020" SRC_URI[sha256sum] = "a15ec0dc0b78ec7578360987c68e43a67bc8d3591cbf528a323588830ae22c20" inherit autotools pkgconfig + +do_install:append(){ + install -m 0744 -d ${D}${localstatedir}/lib/ez-ipupdate +} + +FILES:${PN} += "${localstatedir}/lib/ez-ipupdate"
meta-networking/recipes-connectivity/ez-ipupdate/files/CVE-2003-0887.patch new file +158 -0
158 lines not on this page · raw message
PATCH 15/15 proftpd: ignore CVE-2021-47865
In reply to Gyorgy SarvariDetails: https://nvd.nist.gov/vuln/detail/CVE-2021-47865
This CVE was opened based on a 5 years old Github issue[1], and has been made public recently. The CVE wasn't officially disputed (yet?), but based on the description and the given PoC the application is working as expected.
The vulnerability description and the PoC basically configures proftpd to accept maximum x connections, and then when the user tries to open x + 1 concurrent connections, it refuses new connections over the configured limit.
See also discussion in the Github issue.
It seems that it won't be fixed, because there is nothing to fix.
[1]: https://github.com/proftpd/proftpd/issues/1298
--- meta-networking/recipes-daemons/proftpd/proftpd_1.3.9.bb | 1 + 1 file changed, 1 insertion(+)
meta-networking/recipes-daemons/proftpd/proftpd_1.3.9.bb +1 -0
@@ -25,6 +25,7 @@ UPSTREAM_CHECK_GITTAGREGEX = "(?P<pver>(\d+(\.\d+)+\w?))" CVE_VERSION_SUFFIX = "alphabetical" CVE_STATUS[CVE-2001-0027] = "fixed-version: version 1.2.0rc3 removed affected module" +CVE_STATUS[CVE-2021-47865] = "upstream-wontfix: it is not a vulnerability but inproper configuration" EXTRA_OECONF += "--enable-largefile INSTALL=install"