public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Adrian Vovk <avovk@redhat.com>
To: git-commits@fedoraproject.org
Subject: [rpms/gdk-pixbuf2] f43: Fix CVE-2026-81893
Date: Mon, 31 Aug 2026 21:27:50 GMT [thread overview]
Message-ID: <178821167019.1.18058756460431747483.rpms-gdk-pixbuf2-d780ca93add1@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/gdk-pixbuf2
Branch : f43
Commit : d780ca93add16a4f9f9b3f1c3343e9d89b92b7b9
Author : Adrian Vovk <avovk@redhat.com>
Date : 2026-08-31T17:27:40-04:00
Stats : +34/-0 in 2 file(s)
URL : https://src.fedoraproject.org/rpms/gdk-pixbuf2/c/d780ca93add16a4f9f9b3f1c3343e9d89b92b7b9?branch=f43
Log:
Fix CVE-2026-81893
---
diff --git a/CVE-2026-81893.patch b/CVE-2026-81893.patch
new file mode 100644
index 0000000..26994a3
--- /dev/null
+++ b/CVE-2026-81893.patch
@@ -0,0 +1,33 @@
+From efe658674bd103d1c9bf50809d5767a3f6dd5a01 Mon Sep 17 00:00:00 2001
+From: Benjamin Otte <otte@redhat.com>
+Date: Wed, 5 Aug 2026 18:19:01 +0200
+Subject: [PATCH] jpeg: When freeing memory, unset the size
+
+Fixes potential invalid write if a specifically crafted JPEG file
+would use markers to:
+
+1. cause memory to be allocated
+2. cause it to be freed due to an error
+3. cause memory to be allocated again
+
+I did not attempt to craft such a file.
+---
+ gdk-pixbuf/io-jpeg.c | 2 ++
+ 1 file changed, 2 insertions(+)
+
+diff --git a/gdk-pixbuf/io-jpeg.c b/gdk-pixbuf/io-jpeg.c
+index a225998b1..8434fd00d 100644
+--- a/gdk-pixbuf/io-jpeg.c
++++ b/gdk-pixbuf/io-jpeg.c
+@@ -389,6 +389,8 @@ out:
+ if (!ret) {
+ g_free (context->icc_profile);
+ context->icc_profile = NULL;
++ context->icc_profile_size = 0;
++ context->icc_profile_size_allocated = 0;
+ }
+ return ret;
+ }
+--
+GitLab
+
diff --git a/gdk-pixbuf2.spec b/gdk-pixbuf2.spec
index c783ec0..4f03d79 100644
--- a/gdk-pixbuf2.spec
+++ b/gdk-pixbuf2.spec
@@ -18,6 +18,7 @@ URL: https://gitlab.gnome.org/GNOME/gdk-pixbuf
Source0: https://download.gnome.org/sources/gdk-pixbuf/2.44/gdk-pixbuf-%{real_version}.tar.xz
Patch0: CVE-2026-16768.patch
+Patch1: CVE-2026-81893.patch
BuildRequires: docbook-style-xsl
BuildRequires: gettext
reply other threads:[~2026-08-31 21:27 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=178821167019.1.18058756460431747483.rpms-gdk-pixbuf2-d780ca93add1@fedoraproject.org \
--to=avovk@redhat.com \
--cc=git-commits@fedoraproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox