Bug 2554361 - CVE-2026-56003 libXfont2: libXfont2: arbitrary code execution via heap buffer overflow in ComputeScaledProperties [fedora-all]
Summary: CVE-2026-56003 libXfont2: libXfont2: arbitrary code execution via heap buffer...
Keywords:
Status: NEW
Alias: None
Product: Fedora
Classification: Fedora
Component: libXfont2
Version: rawhide
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: ---
Assignee: Adam Jackson
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: {"flaws": ["d2bce55f-71fc-450e-ab88-c...
Depends On:
Blocks: CVE-2026-56003
TreeView+ depends on / blocked
 
Reported: 2026-10-16 18:36 UTC by Marco Benatto
Modified: 2026-10-16 18:36 UTC (History)
3 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Marco Benatto 2026-10-16 18:36:10 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.

In libXfont2's ComputeScaledProperties() function, a fixed-size property buffer of 70 slots (1120 bytes) is allocated. The
source font properties then trigger a write of 1 slot per unscaled match or 2 slots per scaledX/scaledY match, with no bounds check against the buffer capacity. The PCF parser does not deduplicate properties, so a malicious font can include arbitrarily many properties with the same name atom (e.g. 40 duplicate MIN_SPACE entries), exceeding the property buffer.


Note You need to log in before you can comment on or make changes to this bug.