CVE Catalog

CVE-2026-16118

HighCVSS 7.1
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Low risk
0.13%

3th percentile - higher than 3% of all known CVEs

Summary

Vulnerability in the xdgmime library causes a heap-based buffer overflow when parsing MIME magic files on little-endian systems. An attacker can supply a malicious MIME magic file in the XDG_DATA_HOME location, leading to out-of-bounds write and potential application crash.

Risk Assessment

This could lead to application crashes or memory corruption, threatening system stability and potentially enabling further attacks.

Recommendation

It is recommended to update the xdgmime library to a version containing the fix.

Related vulnerabilities

Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS