CVE-2026-16118

Severity: Moderate
Published: 2026-07-07

Fix Status by Distribution

Fixed in 17 of 27 tracked Linux releases

Fix evidence last checked: 2026-11-28 06:33 UTC

Get alerted when your releases are fixed
Fixed in:
No fix evidence found:
Debian 11 (Bullseye)
Debian 12 (Bookworm)
SUSE Linux Enterprise Server 12 SP5
SUSE Linux Enterprise Server 15 SP5
SUSE Linux Enterprise Server 15 SP6
SUSE Linux Enterprise Server 15 SP7
SUSE Linux Enterprise Server 16
Ubuntu 25.04 (Plucky Puffin)
Ubuntu 25.10 (Questing Quokka)
Ubuntu 26.10 (Stonking Stingray)
Interested in being alerted when these distributions have fixes? Set up an alert.

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.

Exploit evidence

Public proof of concept reported

Last checked: 2026-11-25 15:21 UTC

  • Proof of concept · CISA Coordinator (Assessed 2026-07-22 18:18 UTC)

NVD evidence for CVE-2026-16118 is reported, not independently verified by Package Alert. It does not establish exploit reliability or applicability to a particular package or environment.