cups-filters: patch CVE-2025-64503
PATCH 1/7 cups-filters: patch CVE-2025-64503
Details: https://nvd.nist.gov/vuln/detail/CVE-2025-64503
Pick the patch that is referenced by the NVD advisory.
--- .../recipes-printing/cups/cups-filters.inc | 1 + .../cups/cups-filters/CVE-2025-64503.patch | 43 +++++++++++++++++++ 2 files changed, 44 insertions(+) create mode 100644 meta-oe/recipes-printing/cups/cups-filters/CVE-2025-64503.patch
meta-oe/recipes-printing/cups/cups-filters.inc +1 -0
@@ -13,6 +13,7 @@ SRC_URI = "http://openprinting.org/download/cups-filters/cups-filters-${PV}.tar. file://CVE-2025-57812.patch \ file://CVE-2025-64524.patch \ file://CVE-2023-24805.patch \ + file://CVE-2025-64503.patch \ " inherit autotools-brokensep gettext pkgconfig
meta-oe/recipes-printing/cups/cups-filters/CVE-2025-64503.patch new file +43 -0
43 lines not on this page · raw message
PATCH 2/7 dante: patch CVE-2024-54662
Details: https://nvd.nist.gov/vuln/detail/CVE-2024-54662
This backported patch was taken from upstream's website[1], where they identify it as the solution for this vulnerability
[1]: https://www.inet.no/dante/ (bottom, "advisories" section)
--- .../dante/dante/CVE-2024-54662.patch | 71 +++++++++++++++++++ .../recipes-protocols/dante/dante_1.4.1.bb | 3 +- 2 files changed, 73 insertions(+), 1 deletion(-) create mode 100644 meta-networking/recipes-protocols/dante/dante/CVE-2024-54662.patch
meta-networking/recipes-protocols/dante/dante/CVE-2024-54662.patch new file +71 -0
@@ -0,0 +1,71 @@ +From afedc6d8e518e4675be55557322710136a9e17a4 Mon Sep 17 00:00:00 2001 +From: Gyorgy Sarvari <[email protected]> +Date: Thu, 26 Feb 2026 14:34:07 +0100 +Subject: [PATCH] fix CVE-2024-54662 + +This patch fixes CVE-2024-54662. + +Description: Dante 1.4.0 through 1.4.3 (fixed in 1.4.4) has incorrect +access control for some sockd.conf configurations involving socksmethod. + +CVE: CVE-2024-54662 +Upstream-Status: Backport [https://www.inet.no/dante/advisory-2024-12-16.patch] +Signed-off-by: Gyorgy Sarvari <[email protected]> +--- + sockd/sockd_protocol.c | 29 +++++++++++++++++++++++++---- + 1 file changed, 25 insertions(+), 4 deletions(-) + +diff --git a/sockd/sockd_protocol.c b/sockd/sockd_protocol.c +index d7b9405..1ea973a 100644 +--- a/sockd/sockd_protocol.c ++++ b/sockd/sockd_protocol.c +@@ -428,6 +428,7 @@ recv_v4req (s, request, state) + request_t *request; + negotiate_state_t *state; + { ++ rule_t *crule; + + /* + * v4 request: +@@ -440,6 +441,26 @@ recv_v4req (s, request, state) + /* + * No methods supported in v4. + */ ++ ++ SASSERTX(state->crule != NULL); ++ ++ crule = (rule_t *)state->crule; ++ ++ if (crule->state.smethodc > 0 ++ && crule->state.smethodv[0] != AUTHMETHOD_NONE) { ++ snprintf(state->emsg, sizeof(state->emsg), ++ "client-rule overrides prefered SOCKS authentication to use for " ++ "matching clients to be %s\"%s\", but connected client " ++ "is using SOCKS v4, which does not support any authentication", ++ crule->state.smethodc == 1 ? "" : "one of ", ++ methods2string(crule->state.smethodc, ++ crule->state.smethodv, ++ NULL, ++ 0)); ++ ++ return NEGOTIATE_ERROR; ++ } ++ + request->auth->method = AUTHMETHOD_NONE; + + /* CD */ +@@ -555,10 +576,10 @@ recv_methods(s, request, state) + default: { + /* + * Socks-methods that can be decided for use before we receive +- * the actual request. Normally only gssapi, but if the +- * rule has singleauth enabled and the client matches the +- * criteria for it, the socks-method will also have been +- * chosen already (should be NONE). ++ * the actual request. Normally only gssapi, but if the rule has ++ * singleauth enabled and the client matches the criteria for it, ++ * the socks-method will also have been chosen already (should be ++ * NONE). + */ + size_t i; +
meta-networking/recipes-protocols/dante/dante_1.4.1.bb +2 -1
@@ -12,7 +12,8 @@ LICENSE = "BSD-3-Clause" LIC_FILES_CHKSUM = "file://LICENSE;md5=221118dda731fe93a85d0ed973467249" SRC_URI = "https://www.inet.no/dante/files/dante-${PV}.tar.gz \ - " + file://CVE-2024-54662.patch \ + " SRC_URI[md5sum] = "68c2ce12119e12cea11a90c7a80efa8f" SRC_URI[sha256sum] = "b6d232bd6fefc87d14bf97e447e4fcdeef4b28b16b048d804b50b48f261c4f53"
PATCH 3/7 protobuf: ignore CVE-2026-0994
In reply to Gyorgy SarvariDetails: https://nvd.nist.gov/vuln/detail/CVE-2026-0994
The vulnerability impacts only the python bindings of protobuf, which is in a separate recipe (python3-protobuf, where it is patched).
Ignore this CVE in this recipe due to this.
--- meta-oe/recipes-devtools/protobuf/protobuf_3.19.6.bb | 3 +++ 1 file changed, 3 insertions(+)
meta-oe/recipes-devtools/protobuf/protobuf_3.19.6.bb +3 -0
@@ -37,6 +37,9 @@ EXTRA_OECONF += "--with-protoc=echo" TEST_SRC_DIR = "examples" LANG_SUPPORT = "cpp ${@bb.utils.contains('PACKAGECONFIG', 'python', 'python', '', d)}" +# the vulnerability is in python3-protobuf recipe, not in this one +CVE_CHECK_IGNORE += "CVE-2026-0994" + do_compile_ptest() { mkdir -p "${B}/${TEST_SRC_DIR}"
PATCH 4/7 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_20190801.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 bcc5fc655ddd0401595c3f012969de95538e402f 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 132f9fa0c..940627a3b 100644 +--- a/fontforge/sfd.c ++++ b/fontforge/sfd.c +@@ -4780,6 +4780,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_20190801.bb +1 -0
@@ -20,6 +20,7 @@ SRC_URI = "git://github.com/${BPN}/${BPN}.git;branch=master;protocol=https \ file://CVE-2020-25690-1.patch \ file://CVE-2020-25690-2.patch \ file://CVE-2024-25081-25082.patch \ + file://CVE-2025-15269.patch \ " S = "${WORKDIR}/git"
PATCH 5/7 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_20190801.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 c36b95c57f85a34ad85ca2be34f62ff1100d52f1 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 940627a3b..99d92b051 100644 +--- a/fontforge/sfd.c ++++ b/fontforge/sfd.c +@@ -8276,6 +8276,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); +@@ -8293,6 +8297,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_20190801.bb +1 -0
@@ -21,6 +21,7 @@ SRC_URI = "git://github.com/${BPN}/${BPN}.git;branch=master;protocol=https \ file://CVE-2020-25690-2.patch \ file://CVE-2024-25081-25082.patch \ file://CVE-2025-15269.patch \ + file://CVE-2025-15270.patch \ " S = "${WORKDIR}/git"
PATCH 6/7 fontforge: patch CVE-2025-15275
In reply to Gyorgy SarvariDetails: 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_20190801.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 dcaa8397934419e3f1fffd8a4bdd68de87484d9d 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 99d92b051..25a81c0b4 100644 +--- a/fontforge/sfd.c ++++ b/fontforge/sfd.c +@@ -3714,6 +3714,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_20190801.bb +1 -0
@@ -22,6 +22,7 @@ SRC_URI = "git://github.com/${BPN}/${BPN}.git;branch=master;protocol=https \ file://CVE-2024-25081-25082.patch \ file://CVE-2025-15269.patch \ file://CVE-2025-15270.patch \ + file://CVE-2025-15275.patch \ " S = "${WORKDIR}/git"
PATCH 7/7 fontforge: patch CVE-2025-15279
In reply to Gyorgy SarvariDetails: 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_20190801.bb | 2 + 3 files changed, 77 insertions(+) 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 a64a45ef6930128226d0d8fdaa4b41847ac507a9 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 e56477fc8..3ec5abbff 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 3ea803a0205aa1d9134a0440ccd55546e3aec019 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 3ec5abbff..4bf255ee1 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_20190801.bb +2 -0
@@ -23,6 +23,8 @@ SRC_URI = "git://github.com/${BPN}/${BPN}.git;branch=master;protocol=https \ file://CVE-2025-15269.patch \ file://CVE-2025-15270.patch \ file://CVE-2025-15275.patch \ + file://CVE-2025-15279-1.patch \ + file://CVE-2025-15279-2.patch \ " S = "${WORKDIR}/git"