gimp: mark CVE-2025-15059 patched
PATCH 1/9 gimp: mark CVE-2025-15059 patched
Details: 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 2/9 hiawatha: upgrade 11.7 -> 11.8
Drop patches that are included in this release.
Changes:
* mbed TLS updated to 3.6.4.
* Small bugfixes.
---
..._-nonstring-to-remove-unterminated-s.patch | 43 -------------------
...ute__-nonstring-with-macro-MBEDTLS_A.patch | 42 ------------------
...BEDTLS_ATTRIBUTE_UNTERMINATED_STRING.patch | 33 --------------
.../{hiawatha_11.7.bb => hiawatha_11.8.bb} | 5 +--
4 files changed, 1 insertion(+), 122 deletions(-)
delete mode 100644 meta-webserver/recipes-httpd/hiawatha/files/0001-Add-__attribute__-nonstring-to-remove-unterminated-s.patch
delete mode 100644 meta-webserver/recipes-httpd/hiawatha/files/0002-Replace-__attribute__-nonstring-with-macro-MBEDTLS_A.patch
delete mode 100644 meta-webserver/recipes-httpd/hiawatha/files/define-MBEDTLS_ATTRIBUTE_UNTERMINATED_STRING.patch
rename meta-webserver/recipes-httpd/hiawatha/{hiawatha_11.7.bb => hiawatha_11.8.bb} (89%)meta-webserver/recipes-httpd/hiawatha/files/0001-Add-__attribute__-nonstring-to-remove-unterminated-s.patch deleted +0 -43
@@ -1,43 +0,0 @@ -From 56b26ede007453a4ee9832076597e82d2a903700 Mon Sep 17 00:00:00 2001 -From: Felix Conway <[email protected]> -Date: Wed, 11 Jun 2025 16:04:06 +0100 -Subject: [PATCH 1/2] Add __attribute__ ((nonstring)) to remove - unterminated-string-initialization warning - -Upstream-Status: Backport [https://github.com/Mbed-TLS/mbedtls/pull/10216] -Signed-off-by: Felix Conway <[email protected]> -Signed-off-by: Khem Raj <[email protected]> ---- - library/ssl_tls13_keys.c | 3 ++- - library/ssl_tls13_keys.h | 3 ++- - 2 files changed, 4 insertions(+), 2 deletions(-) - -diff --git a/library/ssl_tls13_keys.c b/library/ssl_tls13_keys.c -index 739414e..375814c 100644 ---- a/library/ssl_tls13_keys.c -+++ b/library/ssl_tls13_keys.c -@@ -81,7 +81,8 @@ struct mbedtls_ssl_tls13_labels_struct const mbedtls_ssl_tls13_labels = - * the HkdfLabel structure on success. - */ - --static const char tls13_label_prefix[6] = "tls13 "; -+/* We need to tell the compiler that we meant to leave out the null character. */ -+static const char tls13_label_prefix[6] __attribute__ ((nonstring)) = "tls13 "; - - #define SSL_TLS1_3_KEY_SCHEDULE_HKDF_LABEL_LEN(label_len, context_len) \ - (2 /* expansion length */ \ -diff --git a/library/ssl_tls13_keys.h b/library/ssl_tls13_keys.h -index d3a4c6c..95cde7a 100644 ---- a/library/ssl_tls13_keys.h -+++ b/library/ssl_tls13_keys.h -@@ -40,8 +40,9 @@ - - #if defined(MBEDTLS_SSL_PROTO_TLS1_3) - -+/* We need to tell the compiler that we meant to leave out the null character. */ - #define MBEDTLS_SSL_TLS1_3_LABEL(name, string) \ -- const unsigned char name [sizeof(string) - 1]; -+ const unsigned char name [sizeof(string) - 1] __attribute__ ((nonstring)); - - union mbedtls_ssl_tls13_labels_union { - MBEDTLS_SSL_TLS1_3_LABEL_LIST
meta-webserver/recipes-httpd/hiawatha/files/0002-Replace-__attribute__-nonstring-with-macro-MBEDTLS_A.patch deleted +0 -42
42 lines not on this page · raw message
meta-webserver/recipes-httpd/hiawatha/files/define-MBEDTLS_ATTRIBUTE_UNTERMINATED_STRING.patch deleted +0 -33
@@ -1,33 +0,0 @@ -Replace __attribute__((nonstring)) with macro MBEDTLS_ATTRIBUTE_UNTERMINATED_STRING -This macro applies __attribute__((nonstring)) when using a compiler that supports it - -Upstream-Status: Backport [https://github.com/Mbed-TLS/TF-PSA-Crypto/commit/996f4fa3a2fbe8792ed3efd1bcb3657001f35ae1] - -Signed-off-by: Felix Conway <[email protected]> -Signed-off-by: Khem Raj <[email protected]> - ---- a/library/ssl_tls13_keys.h -+++ b/library/ssl_tls13_keys.h -@@ -7,6 +7,22 @@ - #if !defined(MBEDTLS_SSL_TLS1_3_KEYS_H) - #define MBEDTLS_SSL_TLS1_3_KEYS_H - -+/* GCC >= 15 has a warning 'unterminated-string-initialization' which complains if you initialize -+ * a string into an array without space for a terminating NULL character. In some places in the -+ * codebase this behaviour is intended, so we add the macro MBEDTLS_ATTRIBUTE_UNTERMINATED_STRING -+ * to suppress the warning in these places. -+ */ -+#if defined(__has_attribute) -+#if __has_attribute(nonstring) -+#define MBEDTLS_HAS_ATTRIBUTE_NONSTRING -+#endif /* __has_attribute(nonstring) */ -+#endif /* __has_attribute */ -+#if defined(MBEDTLS_HAS_ATTRIBUTE_NONSTRING) -+#define MBEDTLS_ATTRIBUTE_UNTERMINATED_STRING __attribute__((nonstring)) -+#else -+#define MBEDTLS_ATTRIBUTE_UNTERMINATED_STRING -+#endif /* MBEDTLS_HAS_ATTRIBUTE_NONSTRING */ -+ - /* This requires MBEDTLS_SSL_TLS1_3_LABEL( idx, name, string ) to be defined at - * the point of use. See e.g. the definition of mbedtls_ssl_tls13_labels_union - * below. */
meta-webserver/recipes-httpd/hiawatha/hiawatha_11.8.bb renamed from meta-webserver/recipes-httpd/hiawatha/hiawatha_11.7.bb +1 -4
@@ -7,14 +7,11 @@ DEPENDS = "libxml2 libxslt virtual/crypt" SECTION = "net" SRC_URI = "https://hiawatha.leisink.net/files/hiawatha-${PV}.tar.gz \ - file://0001-Add-__attribute__-nonstring-to-remove-unterminated-s.patch;patchdir=mbedtls \ - file://0002-Replace-__attribute__-nonstring-with-macro-MBEDTLS_A.patch;patchdir=mbedtls \ - file://define-MBEDTLS_ATTRIBUTE_UNTERMINATED_STRING.patch;patchdir=mbedtls \ file://hiawatha-init \ file://hiawatha.service \ " -SRC_URI[sha256sum] = "8bc180ae3b986d02466f081efeefdb1595d96783f581fded2a9b198752ab7ae1" +SRC_URI[sha256sum] = "1376763750fb9a88a780bac6aba8707bc2a78f8ee089c62d433e50216a5183bd" INITSCRIPT_NAME = "hiawatha" INITSCRIPT_PARAMS = "defaults 70"
PATCH 3/9 libcdio: upgrade 2.2.0 -> 2.3.0
In reply to Gyorgy SarvariIncludes fix for CVE-2024-36600
Changelog: https://github.com/libcdio/libcdio/releases/tag/2.3.0
---
.../libcdio/{libcdio_2.2.0.bb => libcdio_2.3.0.bb} | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
rename meta-oe/recipes-multimedia/libcdio/{libcdio_2.2.0.bb => libcdio_2.3.0.bb} (92%)meta-oe/recipes-multimedia/libcdio/libcdio_2.3.0.bb renamed from meta-oe/recipes-multimedia/libcdio/libcdio_2.2.0.bb +1 -1
@@ -6,7 +6,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504" SRC_URI = "${GITHUB_BASE_URI}/download/${PV}/${BP}.tar.bz2" -SRC_URI[sha256sum] = "6f8fbdf4d189cf63f2a7a1549c516cd720c7b222c7aaadbc924a26e745a48539" +SRC_URI[sha256sum] = "53e83d284667535a767fd2d31edad1a6701591960459df373a10f1f21e80a7ed" inherit autotools pkgconfig github-releases
PATCH 4/9 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 5/9 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 for now, until the recipe is upgraded.
--- meta-networking/recipes-support/ntopng/ndpi_4.2.bb | 3 +++ 1 file changed, 3 insertions(+)
meta-networking/recipes-support/ntopng/ndpi_4.2.bb +3 -0
@@ -25,3 +25,6 @@ do_configure:prepend() { EXTRA_OEMAKE = " \ libdir=${libdir} \ " + +# remove this CVE_STATUS, when the recipe is updated to 4.12 or newer +CVE_STATUS[CVE-2025-25066] = "cpe-incorrect: Version 4.2 is not vulnerable yet"
PATCH 6/9 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"
PATCH 7/9 python3-pyjwt: ignore CVE-2025-45768
In reply to Gyorgy SarvariDetails: https://nvd.nist.gov/vuln/detail/CVE-2025-45768
The CVE is disputed: though the vulnerability is there, but it comes from incorrect configuration of the library by the main application.
Due to this, ignore this CVE.
--- meta-python/recipes-devtools/python/python3-pyjwt_2.10.1.bb | 2 ++ 1 file changed, 2 insertions(+)
meta-python/recipes-devtools/python/python3-pyjwt_2.10.1.bb +2 -0
@@ -9,6 +9,8 @@ SRC_URI[sha256sum] = "3cc5772eb20009233caf06e9d8a0577824723b44e6648ee0a2aedb6cf9 PYPI_PACKAGE = "pyjwt" CVE_PRODUCT = "pyjwt" +CVE_STATUS[CVE-2025-45768] = "disputed: vulnerability can be avoided if the library is used correctly" + inherit pypi python_setuptools_build_meta RDEPENDS:${PN} = "\
PATCH 8/9 python3-pyjwt: upgrade 2.10.1 -> 2.11.0
In reply to Gyorgy SarvariChangelog: https://github.com/jpadilla/pyjwt/releases/tag/2.11.0
- Fixed type error in comment
- Make note of use of leeway with nbf
- Validate key against allowed types for Algorithm family
- Add iterator for PyJWKSet
- Add iss, issuer type checks
- Improve typing/logic for options in decode, decode_complete; Improve docs
- Map algorithm=None to "none"
- Correct PyJWKClient.get_signing_key_from_jwt annotation
- Fixed doc string typo in _validate_jti() function
- Update SECURITY.md
- Typing fix: use float instead of int for lifespan and timeout
- Fix TYP header documentation
- doc: Document claims sub and jti
- Resolve package build warnings
- Support Python 3.14, and test against PyPy 3.10+
- Fix a SyntaxWarning caused by invalid escape sequences
- Standardize CHANGELOG links to PRs
- Migrate from pep517, which is deprecated, to build
- Fix incorrectly-named test suite function
- Fix Read the Docs builds
- Escalate test suite warnings to errors
- Add pyupgrade as a pre-commit hook
- Simplify the test suite decorators
- Improve coverage config and eliminate unused test suite code
- Build a shared wheel once in the test suite
- Thoroughly test type annotations, and resolve errors
- Fix leeway value in usage documentation
---
.../python/{python3-pyjwt_2.10.1.bb => python3-pyjwt_2.11.0.bb} | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
rename meta-python/recipes-devtools/python/{python3-pyjwt_2.10.1.bb => python3-pyjwt_2.11.0.bb} (87%)meta-python/recipes-devtools/python/python3-pyjwt_2.11.0.bb renamed from meta-python/recipes-devtools/python/python3-pyjwt_2.10.1.bb +1 -1
@@ -5,7 +5,7 @@ HOMEPAGE = "https://github.com/jpadilla/pyjwt" LICENSE = "MIT" LIC_FILES_CHKSUM = "file://LICENSE;md5=e4b56d2c9973d8cf54655555be06e551" -SRC_URI[sha256sum] = "3cc5772eb20009233caf06e9d8a0577824723b44e6648ee0a2aedb6cf9381953" +SRC_URI[sha256sum] = "35f95c1f0fbe5d5ba6e43f00271c275f7a1a4db1dab27bf708073b75318ea623" PYPI_PACKAGE = "pyjwt" CVE_PRODUCT = "pyjwt"
PATCH 9/9 xrdp: upgrade 0.10.4.1 -> 0.10.5
In reply to Gyorgy SarvariContains fix for CVE-2025-68670.
Drop patch that is included in this release.
Changelog:
Security fixes:
- CVE-2025-68670
New features:
- It is now possible to start the xrdp daemon entirely unprivileged from the service manager. If you do this certain restrictions will apply. See
https://github.com/neutrinolabs/xrdp/wiki/Running-the-xrdp-process-as-non-root for details.
- TLS pre-master secrets can now be recorded for packet captures
- Add a FuseRootReportMaxFree to work around 'no free space' issues with some file managers
- Alternate shell names can now be passed to startwm.sh in an environment variable for more system management control
- Updated Xorg paths in sesman.ini to include more recent distros
- Add Slovenian keyboard
- xrdpapi: Add a way to monitor connect/disconnect events
Bug fixes:
- Allow an empty X11 UTF8_STRING to be pasted to the clipboard
- Fix a regression introduced in v0.10.x, where it became impossible to connect to a VNC server which did not support the ExtendedDesktopSize encoding
- Fix a regression introduced in v0.10.x related to PAM groups handling
- Inconsistencies with [MS-RDPBCGR] have been addressed
- A reference to uninitialised data within the verify_user_pam_userpass.c module has been fixed
- Prevent some possible crashes when the RFX encoder is resized
- Fixes a regression introduced by GFX development which prevented the JPEG encoder from working correctly
- Fixes a regression introduced by #2974 which resulted in the xrdp PID file being deleted unexpectedly
- Do not overwrite a VNC port set by the user when not using sesman
- Fix regression from 0.9.x when freerdp client uses /workarea
- Fixes a crash where a resize is attempted with drdynvc disabled
- getgrouplist() now compiles on MacOS
- Various Coverity warnings have been addressed
- Documentation improvements
Internal changes:
- An unnecessary include of sys/signal.h causing a compile warning on MUSL-C has been removed
---
.../xrdp/xrdp/fix-compiling-with-musl.patch | 27 -------------------
.../xrdp/{xrdp_0.10.4.1.bb => xrdp_0.10.5.bb} | 4 +--
2 files changed, 1 insertion(+), 30 deletions(-)
delete mode 100644 meta-oe/recipes-support/xrdp/xrdp/fix-compiling-with-musl.patch
rename meta-oe/recipes-support/xrdp/{xrdp_0.10.4.1.bb => xrdp_0.10.5.bb} (96%)meta-oe/recipes-support/xrdp/xrdp/fix-compiling-with-musl.patch deleted +0 -27
@@ -1,27 +0,0 @@ - -sys/signal.h does almost the same in both glibc and musl: it includes "signal.h" - -However with musl there is also a warning macro about this, which is interpreted as -an error during building. - -Fixes error: - -| In file included from ../../sources/xrdp-0.10.4.1/waitforx/waitforx.c:5: -| <...>/usr/include/sys/signal.h:1:2: error: #warning redirecting incorrect #include <sys/signal.h> to <signal.h> [-Werror=cpp] -| 1 | #warning redirecting incorrect #include <sys/signal.h> to <signal.h> -| | ^~~~~~~ -| cc1: all warnings being treated as errors - -Upstream-Status: Submitted [https://github.com/neutrinolabs/xrdp/pull/3678] -Signed-off-by: Gyorgy Sarvari <[email protected]> - ---- ./waitforx/waitforx.c.orig 2025-11-25 14:38:46.464337398 +0100 -+++ ./waitforx/waitforx.c 2025-11-25 14:38:52.007441093 +0100 -@@ -2,7 +2,6 @@ - #include <signal.h> - #include <stdio.h> - #include <stdlib.h> --#include <sys/signal.h> - #include <unistd.h> - - #include "config_ac.h"
meta-oe/recipes-support/xrdp/xrdp_0.10.5.bb renamed from meta-oe/recipes-support/xrdp/xrdp_0.10.4.1.bb +1 -3
@@ -17,9 +17,7 @@ SRC_URI = "https://github.com/neutrinolabs/${BPN}/releases/download/v${PV}/${BPN file://0001-arch-Define-NO_NEED_ALIGN-on-ppc64.patch \ file://0001-mark-count-with-unused-attribute.patch \ " -SRC_URI:append:libc-musl = " file://fix-compiling-with-musl.patch" - -SRC_URI[sha256sum] = "52eadf3e86c57be0de0b9d5c184b52a7946a070746d3eb04b5089dd6d42f8f5f" +SRC_URI[sha256sum] = "9abc96d164de4b1c40e2f3f537d0593d052a640cf3388978c133715ea69fb123" UPSTREAM_CHECK_URI = "https://github.com/neutrinolabs/xrdp/releases" UPSTREAM_CHECK_REGEX = "releases/tag/v(?P<pver>\d+(\.\d+)+)"