From patchwork Mon Jan 12 05:34:35 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ankur Tyagi X-Patchwork-Id: 78475 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id DFF53D25030 for ; Mon, 12 Jan 2026 05:34:50 +0000 (UTC) Received: from mail-ot1-f51.google.com (mail-ot1-f51.google.com [209.85.210.51]) by mx.groups.io with SMTP id smtpd.msgproc02-g2.27297.1768196089746684806 for ; Sun, 11 Jan 2026 21:34:49 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20230601 header.b=O6XMM4cd; spf=pass (domain: gmail.com, ip: 209.85.210.51, mailfrom: ankur.tyagi85@gmail.com) Received: by mail-ot1-f51.google.com with SMTP id 46e09a7af769-7ce2b17a2e4so3959419a34.3 for ; Sun, 11 Jan 2026 21:34:49 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1768196089; x=1768800889; darn=lists.openembedded.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=2JgSFqSU6VV+UZNTerRyTkIft1B0GUIetSE2g/YDzxE=; b=O6XMM4cdGOd9BSDW5JcHLDNzJMdKFspiAtC+Q+RIhg4hzOljGsWn1JCZHsi695f4xZ fiDPsfnPnnEujkIt8CIZG+oZ8X7ysBemDjXkfsxyBdGBQI2TSR+exQfvQEVakoqGh8m7 8cqbSbWrcBNKQKeocqClDl/cBafJQiR+NRBma5pcm1FZlnPd541KWDnC3maoWVryj9WZ a2pPUpBuvwMek1yliIFvhYJ3HWda8WZ1cJhyDoSn5F4Nu/4XhO1N9EynTzbVfrXIe5QK 4VURsrDAMtChz/aEvhPKNZOSWQ0GlegFYAiiixm/QEEuA2W+gjwc+UjyyIpcQ0S8g4Ru VpYg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1768196089; x=1768800889; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-gg:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=2JgSFqSU6VV+UZNTerRyTkIft1B0GUIetSE2g/YDzxE=; b=llqdZU5XlbrkZZhOg7aNLkl6JqrphTiF+OXVd0wWGn0cXlz7e85zLc4BoJ7xty7qfj 72NHwKY4JVYzOOhvZ2rGXPhNbLITcqS8QFCUcrbnVEGZOKUKewsG0829fdZQxCrpF92L xVMrPZo93WmAREqosFvlF5j6vqJff8mgULlCQ/lZJZEW4ieLirKaVJfZN25ceIiFXK1/ wTwNg3ULU/5F62wSTwP2YuqeD83SxsIWMMVhN7zUuX8EavtAVc9m6O+WB6C1wdebYnGw PSsFkfoZFdQ9rB2U7BqbsSRC+fFRjwigiL1U5fN7pxx/4OZP4DOiKyrJV+cF6n/L1jHf qVkg== X-Gm-Message-State: AOJu0Yz9wQooooJJKWXV+23qt++37mBKaCkO1IY3j/t0KkMJK5FBfvRW OVccY3I63c7oo6h/6kLENkAW3PuEvwn+eDq6rhk7zP/wr/wrX+zWdzq1v7aw4g== X-Gm-Gg: AY/fxX7P/VbgfylQalt+cD1ddBox30s/gW4BwBMTL8w+qFn/xcBbgy/ik3ReqRk+csW EtiocjyT1BQPDmyVJbLQUX21Mrf7vFrkoj+UAPh/Gh85JpTksgon5WqTxftwtikWrdTOEqHxnUh QhoEQrxeG67q14eB7rP7NQjXEdc+q/+oN+dPEM1vlIh9pD02rv/hiJp2eDKbLkIAGQzsYftO3LU 2QNgseYDWyWqvvKsv5chCbsWPt5jW31PhPvjG3sIFjd+9rx1K5KiC5rBS158ZOYCptlPnqwKG7r 4VGZ1FVMwn7WluTUzLbPFxNnAa2TQgZ72VclFekl2qSMuVZcakUcQgouHxEOOB3aWf4OkpNMkpu w7CxMVJJILKnFX8sgNuclNk/d8pyjBljPTk9ATFd78haKIMc3pwOBkMfOdlhf1MtJv+CrSopzyQ 2OrxbZ5dl3PMmwyIQY/qWO/YZUPLVk6yFvsA== X-Google-Smtp-Source: AGHT+IFJTIHn2Coxuh3423LZXn3rWDXo2mbNfN54gx/bxhHlhJs66hxCOfV4pnsJ3w0jQ1phwxELRQ== X-Received: by 2002:a05:6830:2547:b0:7c7:c71:849b with SMTP id 46e09a7af769-7ce5091e25cmr12002147a34.14.1768196088852; Sun, 11 Jan 2026 21:34:48 -0800 (PST) Received: from NVAPF55DW0D-IPD.. ([147.161.217.35]) by smtp.gmail.com with ESMTPSA id 46e09a7af769-7ce478d9f54sm13038512a34.23.2026.01.11.21.34.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 11 Jan 2026 21:34:48 -0800 (PST) From: ankur.tyagi85@gmail.com To: openembedded-devel@lists.openembedded.org Cc: Ankur Tyagi Subject: [oe][meta-gnome][scarthgap][PATCH 1/6] gimp: upgrade 2.10.36 -> 2.10.38 Date: Mon, 12 Jan 2026 18:34:35 +1300 Message-ID: <20260112053440.3694238-1-ankur.tyagi85@gmail.com> X-Mailer: git-send-email 2.43.0 MIME-Version: 1.0 List-Id: X-Webhook-Received: from 45-33-107-173.ip.linodeusercontent.com [45.33.107.173] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Mon, 12 Jan 2026 05:34:50 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/123350 From: Ankur Tyagi Feature backport for Windows otherwise it is mostly a bug-fix release https://gitlab.gnome.org/GNOME/gimp/-/blob/GIMP_2_10_38/NEWS Signed-off-by: Ankur Tyagi --- .../recipes-gimp/gimp/{gimp_2.10.36.bb => gimp_2.10.38.bb} | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) rename meta-gnome/recipes-gimp/gimp/{gimp_2.10.36.bb => gimp_2.10.38.bb} (95%) diff --git a/meta-gnome/recipes-gimp/gimp/gimp_2.10.36.bb b/meta-gnome/recipes-gimp/gimp/gimp_2.10.38.bb similarity index 95% rename from meta-gnome/recipes-gimp/gimp/gimp_2.10.36.bb rename to meta-gnome/recipes-gimp/gimp/gimp_2.10.38.bb index 4526839ad6..34b5b89180 100644 --- a/meta-gnome/recipes-gimp/gimp/gimp_2.10.36.bb +++ b/meta-gnome/recipes-gimp/gimp/gimp_2.10.38.bb @@ -47,7 +47,7 @@ SHPV = "${@gnome_verdir("${PV}")}" SRC_URI = "https://download.gimp.org/pub/${BPN}/v${SHPV}/${BP}.tar.bz2 \ file://0001-configure-Keep-first-line-of-compiler-version-string.patch \ file://0001-libtool-Do-not-add-build-time-library-paths-to-LD_LI.patch" -SRC_URI[sha256sum] = "3d3bc3c69a4bdb3aea9ba2d5385ed98ea03953f3857aafd1d6976011ed7cdbb2" +SRC_URI[sha256sum] = "50a845eec11c8831fe8661707950f5b8446e35f30edfb9acf98f85c1133f856e" EXTRA_OECONF = "--disable-python \ --without-webkit \ From patchwork Mon Jan 12 05:34:36 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ankur Tyagi X-Patchwork-Id: 78476 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id C30A7D25030 for ; Mon, 12 Jan 2026 05:35:00 +0000 (UTC) Received: from mail-ot1-f46.google.com (mail-ot1-f46.google.com [209.85.210.46]) by mx.groups.io with SMTP id smtpd.msgproc01-g2.27572.1768196092385210602 for ; Sun, 11 Jan 2026 21:34:52 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20230601 header.b=fUAPL3Fk; spf=pass (domain: gmail.com, ip: 209.85.210.46, mailfrom: ankur.tyagi85@gmail.com) Received: by mail-ot1-f46.google.com with SMTP id 46e09a7af769-7c6d1ebb0c4so4606145a34.1 for ; Sun, 11 Jan 2026 21:34:52 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1768196091; x=1768800891; darn=lists.openembedded.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=y6gwFes/mGiySPXJZ4Nl0hDP/hn2Y/G+/YMor515+uU=; b=fUAPL3FkSMKvtQKfIgSYzv9iMBbJkDiPXOCc70GGUuCnx0wM3XlCr74oTW1hrWZPBr BX4KpGciNyCkBxszCjFPNWqaV4DhuykalbYC9cKraP1r0GbE+nxhM1/0xsWBkse/S62L W62U1HeBT6D24MK4OS7JrJ/CfY6UcTvgZJODa7nesMTel4gK8Am4VW2njf5pHpSTwcxz Zl7p4L5RsvXdfEdKSGP6oQK07JsI9WNTSHBbZUCNjt8DCzdla2+WEyqG4BcwNb8kdfDi YQItPw0prOIhkLAcsCeoZ6ETCpZ8NDq1nNNuIYIS9wdI6RnLpF32OU4tjOFrUOXakFCF 7Fug== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1768196091; x=1768800891; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=y6gwFes/mGiySPXJZ4Nl0hDP/hn2Y/G+/YMor515+uU=; b=rM84wDmNo4ZqRpWJmQwN2LqpqZAlTzAmY7KbHDUD1ydgGi7ifZIatM8Gy2DQVLSAyz 4dnBmU5TIqZDxDSo7FNUHWjMEJ6tgWNk/6yxz4LQHu6iPLHR64aQb8fg5KaxqQcCSZf9 OHoZO6a1AefLMQt5FYkesz8eW1MAp34ctIWKQg41Ukn4T8gOERoEhz7XK8yQt4wQHSjP dsYYbNP09CSA0T7oEixhTqHIrXXnD9+WLRLduKQZku0M/Hsoj2ZyzUPSS+9622TVyTWW iEGqFR/jVPwru2eBOzE4C7/VY57peMPiOW7GNQgNHsdGFFFgu0Mss7yI5eAzNEqMNsYI TSrw== X-Gm-Message-State: AOJu0Yx3G1JoY/DDr9WdS/hWgNFoHSbmJRkVZ5QfhY249Tn/ALOcFY4E yAdiRA5v8fxooc9EsSRKUURy50GLN+MHxhLi8GWbJIlWv77ohj9Mxa6h6GcZdQ== X-Gm-Gg: AY/fxX4Rf9p6m59Zc/SF1vyuPZiOTCedtAE+Q8wUvWP/YEiSZRh3WPOL4We96IXZDuy dUtYfDDjyBhKgQiXXp9cFBn/JDEIjk7ShFBcu1uFZBT9iPi1sgfkdIo0ztbd5tKxmCPBVH/kQDo 6OiuWmHICie4Dc803wa+Vi52UeJkt+nkmZ+qKakDjd+1v3cp5YExudBTU5qzDZxSMIZYmxILNyA WEH/gzD7x7l7EoBI6By1jxP5s5CcQ+E7vP5vrRVnn86mGCeY033fqg0okWuw8xry4wo7SxNwqax teEk60KXPJMDcOcIZYbMA+AeMufPzSi53BSyxU6BHWGIlUe1x6Zm+O3sZxt2X/WH4Av1fQ5jBdN XPRVwazyw3eNOeZU6GsJZiszRQFNXUUnz8gPWK6zlr7wkKrkmCcf6qaLIvCZNCd6SvL20TnlMjk prvMRf8VQJNe6pW7V87Nj5T38= X-Google-Smtp-Source: AGHT+IFEKX2UBOZkMKaLTPoUGTon9pj2xKvYQL9qyLIBG/3sGo18Vv9h8dN8A22nz8PbSr+NuM2HCQ== X-Received: by 2002:a05:6830:3c1:b0:7c7:4f2:e15d with SMTP id 46e09a7af769-7ce508f9056mr10932835a34.16.1768196091450; Sun, 11 Jan 2026 21:34:51 -0800 (PST) Received: from NVAPF55DW0D-IPD.. ([147.161.217.35]) by smtp.gmail.com with ESMTPSA id 46e09a7af769-7ce478d9f54sm13038512a34.23.2026.01.11.21.34.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 11 Jan 2026 21:34:51 -0800 (PST) From: ankur.tyagi85@gmail.com To: openembedded-devel@lists.openembedded.org Cc: Peter Marko , Khem Raj , Ankur Tyagi Subject: [oe][meta-gnome][scarthgap][PATCH 2/6] gimp: ignore CVE-2007-3741 Date: Mon, 12 Jan 2026 18:34:36 +1300 Message-ID: <20260112053440.3694238-2-ankur.tyagi85@gmail.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20260112053440.3694238-1-ankur.tyagi85@gmail.com> References: <20260112053440.3694238-1-ankur.tyagi85@gmail.com> MIME-Version: 1.0 List-Id: X-Webhook-Received: from 45-33-107-173.ip.linodeusercontent.com [45.33.107.173] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Mon, 12 Jan 2026 05:35:00 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/123351 From: Peter Marko NVD still tracks this CVE as version-less, so explicit ignore is needed. Signed-off-by: Peter Marko Signed-off-by: Khem Raj Signed-off-by: Ankur Tyagi --- meta-gnome/recipes-gimp/gimp/gimp_2.10.38.bb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/meta-gnome/recipes-gimp/gimp/gimp_2.10.38.bb b/meta-gnome/recipes-gimp/gimp/gimp_2.10.38.bb index 34b5b89180..32b51dcdb5 100644 --- a/meta-gnome/recipes-gimp/gimp/gimp_2.10.38.bb +++ b/meta-gnome/recipes-gimp/gimp/gimp_2.10.38.bb @@ -70,3 +70,5 @@ do_compile:prepend() { FILES:${PN} += "${datadir}/metainfo" RDEPENDS:${PN} += "mypaint-brushes-1.0" + +CVE_STATUS[CVE-2007-3741] = "not-applicable-platform: This only applies for Mandriva Linux" From patchwork Mon Jan 12 05:34:37 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ankur Tyagi X-Patchwork-Id: 78479 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id D5573D2503A for ; Mon, 12 Jan 2026 05:35:00 +0000 (UTC) Received: from mail-ot1-f49.google.com (mail-ot1-f49.google.com [209.85.210.49]) by mx.groups.io with SMTP id smtpd.msgproc01-g2.27574.1768196094544089940 for ; Sun, 11 Jan 2026 21:34:54 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20230601 header.b=A6HhSfJi; spf=pass (domain: gmail.com, ip: 209.85.210.49, mailfrom: ankur.tyagi85@gmail.com) Received: by mail-ot1-f49.google.com with SMTP id 46e09a7af769-7c6d3676455so3097211a34.2 for ; Sun, 11 Jan 2026 21:34:54 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1768196093; x=1768800893; darn=lists.openembedded.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=FI3tCj74+mKBrJ0jQjrPPs5Q6VrfWBXlD9VLOuLbuD0=; b=A6HhSfJi1kmA7n5VtC57/UAqeD4kjPC+sI/liYcM7j9EYCWhDP2lr7rhhgECzZOR6A IZJLmB8+ojMqWL77flKVeiXY5R6e+QulORcHZsPLH0es64EoJ8n0eN77Qm6j+G5+Eb2k ltnJJzET7bbWMDdwAVLHuIY39dZLTi5mNuIoz04i89gz5ZSwVKOxjJwlsoxveMvlPKqw dNs/oLXoHuk3Fo2ocl5qavhzISL5kyygor4mJa5STqmk+sbOT4bftq4G//JPbPX4FZyv gPM0BZZgcoh4inBcSTF07JBl7y2RMi4/1M+VEBAMfDPVYnYZxFecBI9QR45BMphX9QsS Jdqw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1768196093; x=1768800893; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=FI3tCj74+mKBrJ0jQjrPPs5Q6VrfWBXlD9VLOuLbuD0=; b=nMn5GudrSbOzchcfhfRAkq2bP5oYXiaYr1zE5SZc/8Ok0n5P2UBo5GzT8voVG+r3D8 PA8KXzLp73dssulAYh2QbtXP0Z87DAxK3ZLOYbIkW1TA4aeZHDh+cr/6ddjlC8WsMODl +BrroWLkRsdlnrQklVBltcSxkSOOXAehS4F2BhzwUXB5pMe8eUkXBxMt9N4bdca/2rPK WImvvP9rM8jDjFeF8Kz6rJZq2GG1gZMlbCP5LtKS4MWkwk4EK9XzkySiNQevWn6tHAaY xwVE7Efd5uLCIrBfYBmUpyYPdxnmzRdkwhgqm5y2qNiLHv9zNFeY1AEha761JobHw40q MAbg== X-Gm-Message-State: AOJu0YwP7hsat8QOS7BEUF4GSrUNUJMECTv1GBSKli5/TsZfJ1aY57Jk t97F9tJxkoE04TrArmCLrsmuU/akdzvmFckLNO7Vdn+v4vKfDOJ1r/P9roNbeg== X-Gm-Gg: AY/fxX6L6O2tLzWJgQZkydcwOYSr1Nww4dfF/oD5Ir+xOo2ac1g8nqH4DxKgGigpjqh dNvFxUGQMR61L1rz7dkoLmsApVUX4byQGZqOnE+79AaW10q6yse4amtHqXFQaY4dbqWEsZTtars l5e+6UdyONZ6EEsvjwiJCOjrbyiF/PYhAnv4jVHJ3uXinsR9/4/Wg/zDmGUN3TfkbA6Mwsm6snz Xx/m/V+GC2uS6tmtHFsscM1b0rYckcXP4i4vnBiVYrFWxwxMCx6ruCPOSUmxVymIaRl5EaZb2Ab v+yk8keKWBjgWn3yWSsVYjKJC6R8Qm4LojtT5+8caMwPMUnaSj6VfC3FwH3pLs6InqKU+AdO++q x8zuxHi8Ml6wA/X9RRLE9FSscytpEN0kKUJ5JjZAA9pjK6TjqKbtSIM8A4JNQeRFkRzMiqD/XQR NBlQYkJ0G//HfeRpGz1hM5nds= X-Google-Smtp-Source: AGHT+IHHSHDAsqj+NtNNYN4Q39HDOb29BXVyypf51koOEJ9v7xB/vq8Cp1qXHxyBgxFg0k85iolDSA== X-Received: by 2002:a05:6830:6515:b0:7c7:5458:75f8 with SMTP id 46e09a7af769-7ce50a89807mr8713349a34.29.1768196093523; Sun, 11 Jan 2026 21:34:53 -0800 (PST) Received: from NVAPF55DW0D-IPD.. ([147.161.217.35]) by smtp.gmail.com with ESMTPSA id 46e09a7af769-7ce478d9f54sm13038512a34.23.2026.01.11.21.34.51 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 11 Jan 2026 21:34:53 -0800 (PST) From: ankur.tyagi85@gmail.com To: openembedded-devel@lists.openembedded.org Cc: Ankur Tyagi Subject: [oe][meta-gnome][scarthgap][PATCH 3/6] gimp: patch CVE-2025-14422 Date: Mon, 12 Jan 2026 18:34:37 +1300 Message-ID: <20260112053440.3694238-3-ankur.tyagi85@gmail.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20260112053440.3694238-1-ankur.tyagi85@gmail.com> References: <20260112053440.3694238-1-ankur.tyagi85@gmail.com> MIME-Version: 1.0 List-Id: X-Webhook-Received: from 45-33-107-173.ip.linodeusercontent.com [45.33.107.173] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Mon, 12 Jan 2026 05:35:00 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/123352 From: Ankur Tyagi Details: https://nvd.nist.gov/vuln/detail/CVE-2025-14422 Signed-off-by: Ankur Tyagi --- .../gimp/gimp/CVE-2025-14422.patch | 64 +++++++++++++++++++ meta-gnome/recipes-gimp/gimp/gimp_2.10.38.bb | 4 +- 2 files changed, 67 insertions(+), 1 deletion(-) create mode 100644 meta-gnome/recipes-gimp/gimp/gimp/CVE-2025-14422.patch diff --git a/meta-gnome/recipes-gimp/gimp/gimp/CVE-2025-14422.patch b/meta-gnome/recipes-gimp/gimp/gimp/CVE-2025-14422.patch new file mode 100644 index 0000000000..acaf5f199b --- /dev/null +++ b/meta-gnome/recipes-gimp/gimp/gimp/CVE-2025-14422.patch @@ -0,0 +1,64 @@ +From bea9e174a3c4c02338f6c64bab05e6a8c667c09f Mon Sep 17 00:00:00 2001 +From: Alx Sa +Date: Sun, 23 Nov 2025 16:43:51 +0000 +Subject: [PATCH] plug-ins: Fix ZDI-CAN-28273 + +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: Ankur Tyagi +--- + 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 2132eeccf4..f514c2b1d7 100644 +--- a/plug-ins/common/file-pnm.c ++++ b/plug-ins/common/file-pnm.c +@@ -554,7 +554,7 @@ load_image (GFile *file, + GError **error) + { + GInputStream *input; +- GeglBuffer *buffer; ++ GeglBuffer *buffer = NULL; + gint32 volatile image_ID = -1; + gint32 layer_ID; + char buf[BUFLEN + 4]; /* buffer for random things like scanning */ +@@ -584,6 +584,9 @@ load_image (GFile *file, + g_object_unref (input); + g_free (pnminfo); + ++ if (buffer) ++ g_object_unref (buffer); ++ + if (image_ID != -1) + gimp_image_delete (image_ID); + +@@ -819,6 +822,7 @@ pnm_load_raw (PNMScanner *scan, + GInputStream *input; + gint bpc; + guchar *data, *d; ++ gsize data_size; + gushort *s; + gint x, y, i; + gint start, end, scanlines; +@@ -829,7 +833,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); + diff --git a/meta-gnome/recipes-gimp/gimp/gimp_2.10.38.bb b/meta-gnome/recipes-gimp/gimp/gimp_2.10.38.bb index 32b51dcdb5..096f40f79d 100644 --- a/meta-gnome/recipes-gimp/gimp/gimp_2.10.38.bb +++ b/meta-gnome/recipes-gimp/gimp/gimp_2.10.38.bb @@ -46,7 +46,9 @@ SHPV = "${@gnome_verdir("${PV}")}" SRC_URI = "https://download.gimp.org/pub/${BPN}/v${SHPV}/${BP}.tar.bz2 \ file://0001-configure-Keep-first-line-of-compiler-version-string.patch \ - file://0001-libtool-Do-not-add-build-time-library-paths-to-LD_LI.patch" + file://0001-libtool-Do-not-add-build-time-library-paths-to-LD_LI.patch \ + file://CVE-2025-14422.patch \ +" SRC_URI[sha256sum] = "50a845eec11c8831fe8661707950f5b8446e35f30edfb9acf98f85c1133f856e" EXTRA_OECONF = "--disable-python \ From patchwork Mon Jan 12 05:34:38 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ankur Tyagi X-Patchwork-Id: 78478 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id CF706D25035 for ; Mon, 12 Jan 2026 05:35:00 +0000 (UTC) Received: from mail-ot1-f41.google.com (mail-ot1-f41.google.com [209.85.210.41]) by mx.groups.io with SMTP id smtpd.msgproc01-g2.27575.1768196096642851976 for ; Sun, 11 Jan 2026 21:34:56 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20230601 header.b=Zep+GA+B; spf=pass (domain: gmail.com, ip: 209.85.210.41, mailfrom: ankur.tyagi85@gmail.com) Received: by mail-ot1-f41.google.com with SMTP id 46e09a7af769-7c75fc222c3so3108553a34.0 for ; Sun, 11 Jan 2026 21:34:56 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1768196096; x=1768800896; darn=lists.openembedded.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=QfVj1qGSO+x6EpTtb7OIEBw+TsfAHAqtmL7SM/8epWY=; b=Zep+GA+BlZSEO2FbY73spwJldwc2uyA1J9kEuKI+dodZ69uTF7mBqsMx7v43Eu57Zn nCPf4rNy4C3v0zbSPCLsiP2DMzasTqzxWGIYG4CJdPIh3gHB0PXmy2IRALRGyDIMng6w 1FkKFsP3EQqjzusWhh5KpK0zgtEp3mFiMcgPBCtHobE9nojMDa2ra5blqo86NWu76zxW dSO+B5Fmd9CjaS6GhGvAILF8qd92uH6+7/h21cnbGXwpKkE/X5tOsA1HBjYrbWCDt0nG +pAbNh/cpJedv4KRAnPe8WvS5gk/Ap3bN2sPOONTnSgZ1NAXcvHcdjUz9+qyHtRWIJGp x+3g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1768196096; x=1768800896; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=QfVj1qGSO+x6EpTtb7OIEBw+TsfAHAqtmL7SM/8epWY=; b=nhUPZwPrZ5S+sl+PHRgwziAUKxCLGd3I7ENv2agd3cr0cqODLGAvixFlkRwSpQ72uc QgO391ngvEbbpKwC3uBUG6+t1rzWQnIDuakkGjtC60ak0x4ejYp5FJxOI89Myzq8uT3z EuEykI2RjPS2LJa3WVCmSQg9YBbhUuJ9exhF6m1y1su/d7clX9duygAmyX36zCZMsf+5 u1bjWOGMpBePgUcFn8FHxe2gTbQCxRFpi3vTQHKHsE0Xesf7skEF5U/p5cCPTJbDlejJ Io74vREC64Gov+keMJK3zE4swUCvRZCM0oYARTWhrld/0GzoiuqXM/zTSxpPaplGTW9D oiNA== X-Gm-Message-State: AOJu0Yw/dn4QXpnIYyyXpl5AItp1E2aKqXUwlR+Pneq4WDm1GEnj+pjU YRA2tyLfbu6DUw8WyCrubZmPuf0WSOp+MJ41DKDL5s66Ipx+zK1S+UiK0iWDQQ== X-Gm-Gg: AY/fxX4ZAHANF+SO8q7+m1L4bIRxRuPGd+NxHp1kkPTBy57cud2KUWu0Dcn/FiQSzAw o1XGSVF4P3e7SFXLZLEEqHQLZFsFbUqxCkdCI/9jERlzD54dAl1QRsUkBwzUWBcmPjRcZJarGS0 hcqPw8Y+KI5ByP4tsCSqaqy60gJf+a30K/NiIDbuStmDC/marSzNqCXU/3zq55VP2EF6YTw34xb ZQhPbdFKyLFZ8iFzlnGAvfUtykimYSO19UYhSrJg5OC4fqUphMkAMZm7PfhvlYWx4oT++yJGfrh 78fIWrQJT2s1l0l5LMV04R/aTmJDgLd3mAMDW4ajDJ56bEN4JzM/rtOmeoszHfNi0jQ5wIIhfD0 3pySP9+dfJn4mq6mI+W30Zhdw8Z0wQmcfjxds+eUF1psZLFNWm0t6ZNiN2ZiDWqX8X8iF+Kw9S9 fLpTEirLhvqsBzcyY6tSqRQMw= X-Google-Smtp-Source: AGHT+IEry/QzpNjUGUaPF+ROO2NSPC2X7EwWnzJz+a9P3xOj9fpUVY7Ly6L1Axf5waHJfV+mmR8vpA== X-Received: by 2002:a05:6830:412a:b0:7c5:3798:fa4e with SMTP id 46e09a7af769-7ce509f9ec6mr9463642a34.17.1768196095649; Sun, 11 Jan 2026 21:34:55 -0800 (PST) Received: from NVAPF55DW0D-IPD.. ([147.161.217.35]) by smtp.gmail.com with ESMTPSA id 46e09a7af769-7ce478d9f54sm13038512a34.23.2026.01.11.21.34.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 11 Jan 2026 21:34:55 -0800 (PST) From: ankur.tyagi85@gmail.com To: openembedded-devel@lists.openembedded.org Cc: Ankur Tyagi Subject: [oe][meta-gnome][scarthgap][PATCH 4/6] gimp: patch CVE-2025-14425 Date: Mon, 12 Jan 2026 18:34:38 +1300 Message-ID: <20260112053440.3694238-4-ankur.tyagi85@gmail.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20260112053440.3694238-1-ankur.tyagi85@gmail.com> References: <20260112053440.3694238-1-ankur.tyagi85@gmail.com> MIME-Version: 1.0 List-Id: X-Webhook-Received: from 45-33-107-173.ip.linodeusercontent.com [45.33.107.173] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Mon, 12 Jan 2026 05:35:00 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/123353 From: Ankur Tyagi Details: https://nvd.nist.gov/vuln/detail/CVE-2025-14425 Patch referenced by the nvd report is for the file "file-jp2.c" which was renamed from "file-jp2-load.c" by commit[1] in the later versions. [1] https://gitlab.gnome.org/GNOME/gimp/-/commit/19c57a9765ac3451c9cde94ccb06bec5ae06fbd8 Signed-off-by: Ankur Tyagi --- .../gimp/gimp/CVE-2025-14425.patch | 70 +++++++++++++++++++ meta-gnome/recipes-gimp/gimp/gimp_2.10.38.bb | 1 + 2 files changed, 71 insertions(+) create mode 100644 meta-gnome/recipes-gimp/gimp/gimp/CVE-2025-14425.patch diff --git a/meta-gnome/recipes-gimp/gimp/gimp/CVE-2025-14425.patch b/meta-gnome/recipes-gimp/gimp/gimp/CVE-2025-14425.patch new file mode 100644 index 0000000000..459516ec9e --- /dev/null +++ b/meta-gnome/recipes-gimp/gimp/gimp/CVE-2025-14425.patch @@ -0,0 +1,70 @@ +From 012406d60ca09239403ce989cf9e793b82e47e74 Mon Sep 17 00:00:00 2001 +From: Alx Sa +Date: Wed, 12 Nov 2025 13:25:44 +0000 +Subject: [PATCH] plug-ins: Mitigate ZDI-CAN-28248 for JP2 images + +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: Ankur Tyagi +--- + plug-ins/common/file-jp2-load.c | 21 +++++++++++++++------ + 1 file changed, 15 insertions(+), 6 deletions(-) + +diff --git a/plug-ins/common/file-jp2-load.c b/plug-ins/common/file-jp2-load.c +index 9ab43b5349..d29278a4d2 100644 +--- a/plug-ins/common/file-jp2-load.c ++++ b/plug-ins/common/file-jp2-load.c +@@ -1055,9 +1055,10 @@ load_image (const gchar *filename, + gint width; + gint height; + gint num_components; +- GeglBuffer *buffer; ++ GeglBuffer *buffer = NULL; + gint i, j, k, it; +- guchar *pixels; ++ guchar *pixels = NULL; ++ gsize pixels_size; + const Babl *file_format; + gint bpp; + GimpPrecision image_precision; +@@ -1298,7 +1299,14 @@ load_image (const gchar *filename, + bpp = babl_format_get_bytes_per_pixel (file_format); + + buffer = gimp_drawable_get_buffer (layer_ID); +- 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 (filename)); ++ goto out; ++ } ++ pixels = g_new0 (guchar, pixels_size); + + for (i = 0; i < height; i++) + { +@@ -1325,12 +1333,13 @@ load_image (const gchar *filename, + 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) diff --git a/meta-gnome/recipes-gimp/gimp/gimp_2.10.38.bb b/meta-gnome/recipes-gimp/gimp/gimp_2.10.38.bb index 096f40f79d..68daac776d 100644 --- a/meta-gnome/recipes-gimp/gimp/gimp_2.10.38.bb +++ b/meta-gnome/recipes-gimp/gimp/gimp_2.10.38.bb @@ -48,6 +48,7 @@ SRC_URI = "https://download.gimp.org/pub/${BPN}/v${SHPV}/${BP}.tar.bz2 \ file://0001-configure-Keep-first-line-of-compiler-version-string.patch \ file://0001-libtool-Do-not-add-build-time-library-paths-to-LD_LI.patch \ file://CVE-2025-14422.patch \ + file://CVE-2025-14425.patch \ " SRC_URI[sha256sum] = "50a845eec11c8831fe8661707950f5b8446e35f30edfb9acf98f85c1133f856e" From patchwork Mon Jan 12 05:34:39 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ankur Tyagi X-Patchwork-Id: 78477 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id C57B8D2502F for ; Mon, 12 Jan 2026 05:35:00 +0000 (UTC) Received: from mail-ot1-f50.google.com (mail-ot1-f50.google.com [209.85.210.50]) by mx.groups.io with SMTP id smtpd.msgproc01-g2.27577.1768196098829549446 for ; Sun, 11 Jan 2026 21:34:58 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20230601 header.b=gt5Bv5C4; spf=pass (domain: gmail.com, ip: 209.85.210.50, mailfrom: ankur.tyagi85@gmail.com) Received: by mail-ot1-f50.google.com with SMTP id 46e09a7af769-7c75a5cb752so4581145a34.2 for ; Sun, 11 Jan 2026 21:34:58 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1768196098; x=1768800898; darn=lists.openembedded.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=0ldtVlXpKt6Qa8MLzxJTD4BdbwZYzgP7CPV/sAcLzdQ=; b=gt5Bv5C4rF02YmToJADEqoaUvID8Ii6CXS2CV/DvVVYdP65ybKkzl7yDSC61VNsgMn UHO/Mii4EuORqzbU0bpl6erh2OHAHgfImT/p4jwEttbEobaEHIFx1duY7D1Sv9f0ybYz wtO4ZeMLe8J2B8QMqqB1VhGgvI0WgpeRtjbIUDghMUqj6e/WTW/HHnZGtOj4ifrA9zQ9 szL4d9/OvwRCIcOpJz+dMCbZGxnjbIUTqEUimlzQZYImLOp79iQUXmvwSdQs77DCUnI7 kIXp7Evmhs6U/5vuW81eKFzupQAsIRjyOHVoY2oGFCaCeuls3Q2PMBVogAJIXnFmRkXD +BVQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1768196098; x=1768800898; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=0ldtVlXpKt6Qa8MLzxJTD4BdbwZYzgP7CPV/sAcLzdQ=; b=TS1VrZRp7BbsU0W6k2IjlgrrLSUGCeGvoGPrw38lk0swrm8IJl58YtpCRNYAI2DSc+ GCgVu5aDKhky/t9x4qBKnlUNzAJ/VamqJb//JUXgysAQLuL7Hkvlu0MXfMvNBKT8ofi2 j7RcniQ8cYimUSg6MSh5PNRflN1VAsSN2+hHN/Ji9PPnWTvTcWzKvYmLzJS0WIpDwPiS DNGfooq5zM2UKnR9PUAO5F8theqIEIaTFcdaQkKij1styd9hT7QQqJ5dYy8YFd9zlP6B chw/kx6SiNVuLYJBj6g4ueb9VTK/0hBxFv1Y8t4MKMAzhWk0M2wSm7LA6gKR+vRtTgf9 A04Q== X-Gm-Message-State: AOJu0Yyjo9VoQleRoIUlNgs0U+dwL/pFbL8U5iA7m2l3rxiY69/dFLI0 vfCyB8c/VHFW1kk3tHOkQLzycpZtwhyNi+y95oO9QD1/rymVRWGZCN34E337fA== X-Gm-Gg: AY/fxX5AtjsnzBTHkUeyCxzSNso1MQyxqcQmGI5b3REuOK+l4GASUgKE9z2mnOngWuZ 06poYZ0RjMI3ePgW+kQlk5XaYKvH2qO+9ZQpieWgobLbwoTA9C/U0tDX1j1rpqp6Bzy0Q8qWp6t hZa5Afro+LDYshYm2lg6QKK9gGefN3HFljKoTuAPR5KNoHlnTuadrswKM5ULKKbstWh3U2Qzk8/ 7t35rFg343rBONDsQ/KexJtkROWO2VHpBka26q/3fsq3dV8Ip4YpE415yBXqEn5sAXRPQp8O8tc A1mi2zf++0huIGDbfWnCHT0rMsdo/lLqS33VPu0CkJ8azhbk9LuHL1YNkp1lrGuQluFHLdWMddx J1MFEwcgm8BV68DFMmngZ4Bwxl5FQ5O0RMJVNty4bq02VZw/9r6SjSVIBJFj648tU21UJkAKbd9 /EhXSapZOGmfSNJyDQ31NjkXI= X-Google-Smtp-Source: AGHT+IEnY/zeYlvF+itanP5D0cKn0PEtRvcE5M1EgE56QuZc3MM/p3CFECNL/UtPsV/jMTCEdPlMkQ== X-Received: by 2002:a05:6830:34a8:b0:7ce:519d:10bd with SMTP id 46e09a7af769-7ce519d1565mr10614389a34.6.1768196097805; Sun, 11 Jan 2026 21:34:57 -0800 (PST) Received: from NVAPF55DW0D-IPD.. ([147.161.217.35]) by smtp.gmail.com with ESMTPSA id 46e09a7af769-7ce478d9f54sm13038512a34.23.2026.01.11.21.34.55 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 11 Jan 2026 21:34:57 -0800 (PST) From: ankur.tyagi85@gmail.com To: openembedded-devel@lists.openembedded.org Cc: Ankur Tyagi Subject: [oe][meta-gnome][scarthgap][PATCH 5/6] gimp: ignore CVE-2025-48796 Date: Mon, 12 Jan 2026 18:34:39 +1300 Message-ID: <20260112053440.3694238-5-ankur.tyagi85@gmail.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20260112053440.3694238-1-ankur.tyagi85@gmail.com> References: <20260112053440.3694238-1-ankur.tyagi85@gmail.com> MIME-Version: 1.0 List-Id: X-Webhook-Received: from 45-33-107-173.ip.linodeusercontent.com [45.33.107.173] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Mon, 12 Jan 2026 05:35:00 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/123354 From: Ankur Tyagi Details: https://nvd.nist.gov/vuln/detail/CVE-2025-48796 The vulnerable function ani_load_image() was added[1] after the current version of GIMP[2], we can ignore the CVE. [1] https://gitlab.gnome.org/GNOME/gimp/-/commit/aa51b9e19ece8a8c54a513fe33b6d65abcb0fbfb [2] https://gitlab.gnome.org/GNOME/gimp/-/commits/GIMP_2_10_38/plug-ins/file-ico/ico-load.c?ref_type=tags Signed-off-by: Ankur Tyagi --- meta-gnome/recipes-gimp/gimp/gimp_2.10.38.bb | 1 + 1 file changed, 1 insertion(+) diff --git a/meta-gnome/recipes-gimp/gimp/gimp_2.10.38.bb b/meta-gnome/recipes-gimp/gimp/gimp_2.10.38.bb index 68daac776d..064a797986 100644 --- a/meta-gnome/recipes-gimp/gimp/gimp_2.10.38.bb +++ b/meta-gnome/recipes-gimp/gimp/gimp_2.10.38.bb @@ -75,3 +75,4 @@ FILES:${PN} += "${datadir}/metainfo" RDEPENDS:${PN} += "mypaint-brushes-1.0" CVE_STATUS[CVE-2007-3741] = "not-applicable-platform: This only applies for Mandriva Linux" +CVE_STATUS[CVE-2025-48796] = "cpe-incorrect: The current version (2.10.38) is not affected." \ No newline at end of file From patchwork Mon Jan 12 05:34:40 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ankur Tyagi X-Patchwork-Id: 78480 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id D216BD25030 for ; Mon, 12 Jan 2026 05:35:10 +0000 (UTC) Received: from mail-oi1-f177.google.com (mail-oi1-f177.google.com [209.85.167.177]) by mx.groups.io with SMTP id smtpd.msgproc01-g2.27578.1768196100784696387 for ; Sun, 11 Jan 2026 21:35:00 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20230601 header.b=V0HvkS5b; spf=pass (domain: gmail.com, ip: 209.85.167.177, mailfrom: ankur.tyagi85@gmail.com) Received: by mail-oi1-f177.google.com with SMTP id 5614622812f47-455a461ab6eso2371122b6e.2 for ; Sun, 11 Jan 2026 21:35:00 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1768196100; x=1768800900; darn=lists.openembedded.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=X94MDyUeUtA57wY9uEp9kujGWeD1carql6kKG33uglw=; b=V0HvkS5bF548JingP/DOpxqugf+/X45PeYc5r01iHqlRHLKxwKykUWaPQuS0RqY3Yt hUOAB9EHYTuz2FsMrHUB6bWBBdQQxuhvXQ9gfXHRbCI5F6rPAUyr/j4RAOrMFDh4WBHF M6bAsLuqM7xMJiHYN0GjWJFSoSNZ5WuCSXNqCN1J6At3sQ70jVEH9HM9q0qwJwlFuvwl Hwc7FpeiUG94UzHwQFPrDoVIyBOjtBFF9hMCHfnJzqKU5Dg12CPPLkdQDwvS3vf/MV0J ffHEzIZ8qei3bWg3w61mvKiVussHMFQnxf+5aK/VRgdG5AbSUDFZEUcGsZ4HTc+yqvVi 1u/g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1768196100; x=1768800900; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=X94MDyUeUtA57wY9uEp9kujGWeD1carql6kKG33uglw=; b=bPKPzd68DsFTl43SylKz54Ek/ApaiyZH0cNNdV9TWRcgzx8mDtvvpXPmEiy+ynatGq QYMsOvckA9zeXBnaa5hahzTQjQ9GIULtNVxEQrNqsfWCiyVsqFGUF9w0RBk0oK1D1qTa tHSmat4/J9geBwuLbD/qkuu8uU/Yij0pBHZrP6FTsL6+PrbFLClL9mx/19f+yv4wFvrl O9MSK5/SWC36Mqo1LkVm8gcgwrKZ/KKrgbKZuqQh4PfaG/JFzQsNrwapfWYa64Rt5P6P U9mhEhW8NZCGifm3/1Gr/jfhGEu8kcMpof61w4gDwpnygm8DbdGTkLHwYyn6O6R7EoG3 Ummw== X-Gm-Message-State: AOJu0YxkhCS8v1E0wg2N1z6KTb+m6hkzDse8N+gAlUeh356d0wvPdsT9 Xjjxk9ZMer+Fp5FvoL+eV4UHpXfDxYeROtbigWBoz9IiJskrSO6Qrl5o0mAoRw== X-Gm-Gg: AY/fxX6RXM1XAFAuBo2hfl2aw1kOY7hqgoA5kYcO1/cEQmZ98QtXWVxWuVmadWVTYrv NomItcrqCOHqjEeRE19XTuG+RI3pUCC8C8echtpH/66gCuD/vu8eU0PXyoSSZkg1jg9B6PJDSPQ eNM53e5yULEotVwHUBYvfy2TfNrGAuf/k+NRdA+j+NZ9+mDkWP3dX8zqYosTNuqfruNS5JP/yvI KDZX8draGFaKtQhuSLwG7dQ779/RzlJH/7Xa2sdApsV3dWrCKSj2zKDCaHBsxE25aHI8zCmCE1U nB6rR9rctir8VtNHXseJ1KXRZ+YLV4ENcvBFY6Z+cMx6PTQq+v5OXXT2OANSkXMxDj2dxBNBDOH EfOHUZKMyuUfm86i8FFCBWHULPaDaKiRZP6oSnol8qgM6onOm9dAMMzEzvPWGMovSrlMn/x+t8u UhRSURXW1B2Fiv2t8qJab9W2fXAHjISAE/fg== X-Google-Smtp-Source: AGHT+IHy+3C54O5JbcDvNedXCnDCZXMsRRpluKOynDRoqX3kttoIFKmMUbN4EDJnf62pO10HRXTj4Q== X-Received: by 2002:a05:6808:c1b2:b0:450:907:b523 with SMTP id 5614622812f47-45a6bd54369mr7777140b6e.6.1768196099742; Sun, 11 Jan 2026 21:34:59 -0800 (PST) Received: from NVAPF55DW0D-IPD.. ([147.161.217.35]) by smtp.gmail.com with ESMTPSA id 46e09a7af769-7ce478d9f54sm13038512a34.23.2026.01.11.21.34.58 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 11 Jan 2026 21:34:59 -0800 (PST) From: ankur.tyagi85@gmail.com To: openembedded-devel@lists.openembedded.org Cc: Ankur Tyagi Subject: [oe][meta-gnome][scarthgap][PATCH 6/6] gimp: patch CVE-2025-5473 Date: Mon, 12 Jan 2026 18:34:40 +1300 Message-ID: <20260112053440.3694238-6-ankur.tyagi85@gmail.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20260112053440.3694238-1-ankur.tyagi85@gmail.com> References: <20260112053440.3694238-1-ankur.tyagi85@gmail.com> MIME-Version: 1.0 List-Id: X-Webhook-Received: from 45-33-107-173.ip.linodeusercontent.com [45.33.107.173] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Mon, 12 Jan 2026 05:35:10 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/123355 From: Ankur Tyagi Detail: https://nvd.nist.gov/vuln/detail/CVE-2025-5473 Backport commit associated with the resolution of issue[1]. [1] https://gitlab.gnome.org/GNOME/gimp/-/issues/13910 Signed-off-by: Ankur Tyagi --- .../gimp/gimp/CVE-2025-5473.patch | 38 +++++++++++++++++++ meta-gnome/recipes-gimp/gimp/gimp_2.10.38.bb | 1 + 2 files changed, 39 insertions(+) create mode 100644 meta-gnome/recipes-gimp/gimp/gimp/CVE-2025-5473.patch diff --git a/meta-gnome/recipes-gimp/gimp/gimp/CVE-2025-5473.patch b/meta-gnome/recipes-gimp/gimp/gimp/CVE-2025-5473.patch new file mode 100644 index 0000000000..ef2eb48d61 --- /dev/null +++ b/meta-gnome/recipes-gimp/gimp/gimp/CVE-2025-5473.patch @@ -0,0 +1,38 @@ +From 9e4ebb38ba85661ee62361f218d6c35ace502395 Mon Sep 17 00:00:00 2001 +From: Alx Sa +Date: Sat, 3 May 2025 14:13:46 +0000 +Subject: [PATCH] plug-ins: ZDI-CAN-26752 mitigation + +Resolves #13910 +Since ICO can store PNGs, it's possible to create an +icon that's much larger than the stated image size and +cause a buffer overflow. +This patch adds a check to make sure the width * height * 4 +calculation does not overflow in addition to making sure it +doesn't exceed the maximum allowed size for that icon. + +CVE: CVE-2025-5473 +Upstream-Status: Backport [https://gitlab.gnome.org/GNOME/gimp/-/commit/c855d1df60ebaf5ef8d02807d448eb088f147a2b] +(cherry picked from commit c855d1df60ebaf5ef8d02807d448eb088f147a2b) +Signed-off-by: Ankur Tyagi +--- + plug-ins/file-ico/ico-load.c | 6 +++++- + 1 file changed, 5 insertions(+), 1 deletion(-) + +diff --git a/plug-ins/file-ico/ico-load.c b/plug-ins/file-ico/ico-load.c +index f44b805905..c144b6e2cd 100644 +--- a/plug-ins/file-ico/ico-load.c ++++ b/plug-ins/file-ico/ico-load.c +@@ -295,7 +295,11 @@ ico_read_png (FILE *fp, + png_read_info (png_ptr, info); + png_get_IHDR (png_ptr, info, &w, &h, &bit_depth, &color_type, + NULL, NULL, NULL); +- if (w*h*4 > maxsize) ++ /* Check for overflow */ ++ if ((w * h * 4) < w || ++ (w * h * 4) < h || ++ (w * h * 4) < (w * h) || ++ (w * h * 4) > maxsize) + { + png_destroy_read_struct (&png_ptr, &info, NULL); + return FALSE; diff --git a/meta-gnome/recipes-gimp/gimp/gimp_2.10.38.bb b/meta-gnome/recipes-gimp/gimp/gimp_2.10.38.bb index 064a797986..36b0712976 100644 --- a/meta-gnome/recipes-gimp/gimp/gimp_2.10.38.bb +++ b/meta-gnome/recipes-gimp/gimp/gimp_2.10.38.bb @@ -49,6 +49,7 @@ SRC_URI = "https://download.gimp.org/pub/${BPN}/v${SHPV}/${BP}.tar.bz2 \ file://0001-libtool-Do-not-add-build-time-library-paths-to-LD_LI.patch \ file://CVE-2025-14422.patch \ file://CVE-2025-14425.patch \ + file://CVE-2025-5473.patch \ " SRC_URI[sha256sum] = "50a845eec11c8831fe8661707950f5b8446e35f30edfb9acf98f85c1133f856e"