Bug 2377063 (CVE-2025-7345)

Summary: CVE-2025-7345 gdk‑pixbuf: Heap‑buffer‑overflow in gdk‑pixbuf
Product: [Other] Security Response Reporter: OSIDB Bzimport <bzimport>
Component: vulnerabilityAssignee: Product Security DevOps Team <prodsec-dev>
Status: NEW --- QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: manisandro
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: ---
Doc Text:
A flaw exists in gdk‑pixbuf within the gdk_pixbuf__jpeg_image_load_increment function (io-jpeg.c) and in glib’s g_base64_encode_step (glib/gbase64.c). When processing maliciously crafted JPEG images, a heap buffer overflow can occur during Base64 encoding, allowing out-of-bounds reads from heap memory, potentially causing application crashes or arbitrary code execution.
Story Points: ---
Clone Of: Environment:
Last Closed: 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: 2377156, 2377157, 2377158, 2377159    
Bug Blocks:    

Description OSIDB Bzimport 2025-07-08 06:13:11 UTC
Heap‑buffer‑overflow vulnerability in the JPEG and Base64 decoding paths of gdk‑pixbuf. The flaw occurs in gdk_pixbuf__jpeg_image_load_increment() (io‑jpeg.c:1193:26) when a specially crafted JPEG triggers a flow that leads to g_base64_encode_step() in glib (gbase64.c:141:16), reading beyond heap buffer bounds. Exploitation requires no authentication and could lead to application crash or arbitrary code execution via crafted images.

Comment 2 errata-xmlrpc 2025-08-05 03:10:35 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 10

Via RHSA-2025:12862 https://access.redhat.com/errata/RHSA-2025:12862

Comment 3 errata-xmlrpc 2025-08-05 04:23:05 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 9

Via RHSA-2025:12841 https://access.redhat.com/errata/RHSA-2025:12841

Comment 4 errata-xmlrpc 2025-08-07 06:19:18 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8

Via RHSA-2025:13315 https://access.redhat.com/errata/RHSA-2025:13315

Comment 6 errata-xmlrpc 2025-08-26 07:28:34 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 9.0 Update Services for SAP Solutions

Via RHSA-2025:14575 https://access.redhat.com/errata/RHSA-2025:14575

Comment 7 errata-xmlrpc 2025-08-26 07:29:44 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 9.2 Update Services for SAP Solutions

Via RHSA-2025:14576 https://access.redhat.com/errata/RHSA-2025:14576

Comment 8 errata-xmlrpc 2025-08-26 07:32:53 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 9.4 Extended Update Support

Via RHSA-2025:14574 https://access.redhat.com/errata/RHSA-2025:14574

Comment 9 errata-xmlrpc 2025-08-26 09:01:10 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8.8 Update Services for SAP Solutions
  Red Hat Enterprise Linux 8.8 Telecommunications Update Service

Via RHSA-2025:14585 https://access.redhat.com/errata/RHSA-2025:14585

Comment 10 errata-xmlrpc 2025-08-26 12:43:27 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8.2 Advanced Update Support

Via RHSA-2025:14618 https://access.redhat.com/errata/RHSA-2025:14618

Comment 11 errata-xmlrpc 2025-08-26 16:43:16 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Support
  Red Hat Enterprise Linux 8.6 Update Services for SAP Solutions
  Red Hat Enterprise Linux 8.6 Telecommunications Update Service

Via RHSA-2025:14646 https://access.redhat.com/errata/RHSA-2025:14646

Comment 12 errata-xmlrpc 2025-08-26 16:51:57 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Support
  Red Hat Enterprise Linux 8.4 Extended Update Support Long-Life Add-On

Via RHSA-2025:14647 https://access.redhat.com/errata/RHSA-2025:14647

Comment 13 errata-xmlrpc 2025-08-26 20:34:49 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 7 Extended Lifecycle Support

Via RHSA-2025:14683 https://access.redhat.com/errata/RHSA-2025:14683