Bug 2525141

Summary: CVE-2026-81893 mingw-gdk-pixbuf: gdk-pixbuf: invalid write in JPEG ICC profile parser on error recovery [fedora-all]
Product: [Fedora] Fedora Reporter: Ganesh <gnaik>
Component: mingw-gdk-pixbufAssignee: Kalev Lember <kalevlember>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: medium    
Version: rawhideCC: fedora, kalevlember, manisandro, rjones
Target Milestone: ---Keywords: Security, SecurityTracking
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: {"flaws": ["e225d413-be5e-40eb-a4ce-497704798fd8"]}
Fixed In Version: mingw-gdk-pixbuf-2.44.8-2.fc45 mingw-gdk-pixbuf-2.44.8-2.fc43 mingw-gdk-pixbuf-2.44.8-2.fc44 Doc Type: ---
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2026-09-25 00:17:23 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 2524834    

Description Ganesh 2026-08-27 18:13:36 UTC
Disclaimer: Community trackers are created by Red Hat Product Security team on a best effort basis. Package maintainers are required to ascertain if the flaw indeed affects their package, before starting the update process.

A flaw was found in gdk-pixbuf's JPEG loader (io-jpeg.c). When parsing chunked ICC profile data from JPEG APP2 markers, the error cleanup path in jpeg_parse_exif_app2_segment() frees the ICC profile buffer but previously failed to reset icc_profile_size and icc_profile_size_allocated. A specially crafted JPEG can trigger allocation, an error that frees the buffer while leaving stale size metadata, and a subsequent re-allocation that leads to an out-of-bounds write during ICC profile assembly.

The issue was introduced when error cleanup was added for chunked ICC profile handling in gdk-pixbuf 2.43.4/2.44.0 (commit 4af78023). It is fixed upstream in commit efe658674bd103d1c9bf50809d5767a3f6dd5a01 ("jpeg: When freeing memory, unset the size"), merged via https://gitlab.gnome.org/GNOME/gdk-pixbuf/-/merge_requests/278 on 2026-08-24. No fixed upstream release tag exists yet.

Red Hat tracking: PSIRTSUPT-22558.

Comment 1 Fedora Update System 2026-09-16 07:20:31 UTC
FEDORA-2026-4e6575b35f (mingw-gdk-pixbuf-2.44.8-2.fc43) has been submitted as an update to Fedora 43.
https://bodhi.fedoraproject.org/updates/FEDORA-2026-4e6575b35f

Comment 2 Fedora Update System 2026-09-16 07:20:33 UTC
FEDORA-2026-26573b6029 (mingw-gdk-pixbuf-2.44.8-2.fc45) has been submitted as an update to Fedora 45.
https://bodhi.fedoraproject.org/updates/FEDORA-2026-26573b6029

Comment 3 Fedora Update System 2026-09-16 07:20:36 UTC
FEDORA-2026-16f1152378 (mingw-gdk-pixbuf-2.44.8-2.fc44) has been submitted as an update to Fedora 44.
https://bodhi.fedoraproject.org/updates/FEDORA-2026-16f1152378

Comment 4 Fedora Update System 2026-09-17 01:34:02 UTC
FEDORA-2026-26573b6029 has been pushed to the Fedora 45 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2026-26573b6029`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2026-26573b6029

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 5 Fedora Update System 2026-09-17 18:14:18 UTC
FEDORA-2026-16f1152378 has been pushed to the Fedora 44 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2026-16f1152378`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2026-16f1152378

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 6 Fedora Update System 2026-09-17 18:38:38 UTC
FEDORA-2026-4e6575b35f has been pushed to the Fedora 43 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2026-4e6575b35f`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2026-4e6575b35f

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 7 Fedora Update System 2026-09-25 00:17:23 UTC
FEDORA-2026-26573b6029 (mingw-gdk-pixbuf-2.44.8-2.fc45) has been pushed to the Fedora 45 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 8 Fedora Update System 2026-09-25 00:55:48 UTC
FEDORA-2026-4e6575b35f (mingw-gdk-pixbuf-2.44.8-2.fc43) has been pushed to the Fedora 43 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 9 Fedora Update System 2026-09-25 01:12:52 UTC
FEDORA-2026-16f1152378 (mingw-gdk-pixbuf-2.44.8-2.fc44) has been pushed to the Fedora 44 stable repository.
If problem still persists, please make note of it in this bug report.