PT-2026-60848 · Red Hat · Red Hat Enterprise Linux 10+3

CVE-2026-16118

·

Published

2026-07-17

·

Updated

2026-07-17

CVSS v3.1

7.1

High

VectorAV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:H
A flaw was found in xdgmime. A heap-based buffer overflow can be triggered in xdg mime magic parse magic line() in the xdgmimemagic.c file on little-endian systems when an attacker-controlled MIME magic file in a user-writable XDG data location (e.g., in the $XDG DATA HOME/mime/magic path) is parsed by an application performing MIME type detection (e.g., via g content type guess()). When performing byte-swap, incorrect pointer arithmetic on the write side causes an out-of-bounds write of 2 bytes, resulting in an application crash or memory corruption.

Fix

Heap Based Buffer Overflow

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

CVE-2026-16118

Affected Products

Red Hat Enterprise Linux 10
Red Hat Enterprise Linux 7
Red Hat Enterprise Linux 8
Red Hat Enterprise Linux 9