Bug 2496640 (CVE-2026-56001)

Summary: CVE-2026-56001 libXfont2: BitmapScaleBitmaps Integer Overflow Heap Buffer Overflow
Product: [Other] Security Response Reporter: OSIDB Bzimport <bzimport>
Component: vulnerabilityAssignee: Product Security <prodsec-ir-bot>
Status: NEW --- QA Contact:
Severity: high Docs Contact:
Priority: high    
Version: unspecifiedCC: gtanzill, jbuscemi, rhel-process-autobot, security-response-team, watson-tool-maintainers
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: ---
Doc Text:
A flaw was found in libXfont2. In the BitmapScaleBitmaps() function, an integer overflow can occur when calculating the memory needed for font glyphs. This overflow leads to a heap buffer overflow, where a smaller-than-required memory buffer is allocated. A local attacker can exploit this by loading a specially crafted PCF font, potentially leading to arbitrary code execution or a denial of service.
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:
Deadline: 2026-07-08   

Description OSIDB Bzimport 2026-07-02 18:31:34 UTC
In libXfont2's BitmapScaleBitmaps() function, a 32-bit variable keeps the number of bytes to allocate. If the value overflows due to excessive per-glyph byte counts, the resulting calloc() allocates a buffer too small for the subsequent operations. An attacker can trigger this by loading a crafted PCF font via SetFontPath + OpenFont at a scale factor that inflates per-glyph byte counts.

Comment 6 errata-xmlrpc 2026-07-28 13:52:40 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 10

Via RHSA-2026:47079 https://access.redhat.com/errata/RHSA-2026:47079

Comment 7 errata-xmlrpc 2026-07-28 21:14:49 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8

Via RHSA-2026:47103 https://access.redhat.com/errata/RHSA-2026:47103

Comment 8 errata-xmlrpc 2026-07-29 00:27:24 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 9

Via RHSA-2026:47084 https://access.redhat.com/errata/RHSA-2026:47084

Comment 26 errata-xmlrpc 2026-08-06 11:54:04 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 10.0 Extended Update Support

Via RHSA-2026:51061 https://access.redhat.com/errata/RHSA-2026:51061

Comment 27 errata-xmlrpc 2026-08-06 12:04:52 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-2026:51060 https://access.redhat.com/errata/RHSA-2026:51060

Comment 28 errata-xmlrpc 2026-08-06 12:08:37 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 9.2 Update Services for SAP Solutions

Via RHSA-2026:51062 https://access.redhat.com/errata/RHSA-2026:51062

Comment 29 errata-xmlrpc 2026-08-06 12:27:06 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 9.4 Update Services for SAP Solutions

Via RHSA-2026:51058 https://access.redhat.com/errata/RHSA-2026:51058

Comment 30 errata-xmlrpc 2026-08-06 12:33:38 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-2026:51067 https://access.redhat.com/errata/RHSA-2026:51067

Comment 31 errata-xmlrpc 2026-08-06 12:34:09 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 7 Extended Lifecycle Support

Via RHSA-2026:51063 https://access.redhat.com/errata/RHSA-2026:51063

Comment 32 errata-xmlrpc 2026-08-06 12:43:16 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 9.6 Extended Update Support

Via RHSA-2026:51059 https://access.redhat.com/errata/RHSA-2026:51059

Comment 33 errata-xmlrpc 2026-08-06 12:46:35 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 Extended Update Support Long-Life Add-On

Via RHSA-2026:51066 https://access.redhat.com/errata/RHSA-2026:51066