CVE-2026-16118 Details
Description
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.
A heap-based buffer overflow vulnerability has been identified in the xdgmime library, specifically within the function _xdg_mime_magic_parse_magic_line() in the xdgmimemagic.c file. This vulnerability affects little-endian systems and can be triggered when an attacker-controlled MIME magic file is placed in a user-writable XDG data location, such as $XDG_DATA_HOME/mime/magic. When an application performs MIME type detection, the parser incorrectly handles byte-swapping, leading to out-of-bounds writes of 2 bytes. This flaw can cause application crashes or memory corruption.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Jul 22, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-122 | Heap-based Buffer Overflow | [email protected] |
Affected Products
No affected product data is available for this CVE.
Change History
38 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Nov 20, 2026 | CVE Modified | [email protected] |
| Nov 12, 2026 | CVE Modified | [email protected] |
| Nov 11, 2026 | CVE Modified | [email protected] |
| Nov 6, 2026 | CVE Modified | [email protected] |
| Nov 5, 2026 | CVE Modified | [email protected] |
| Oct 29, 2026 | CVE Modified | [email protected] |
| Oct 14, 2026 | CVE Modified | [email protected] |
| Oct 14, 2026 | CVE Modified | [email protected] |
| Oct 13, 2026 | CVE Modified | [email protected] |
| Oct 12, 2026 | CVE Modified | [email protected] |
| Oct 9, 2026 | CVE Modified | [email protected] |
| Oct 6, 2026 | CVE Modified | [email protected] |
| Oct 5, 2026 | CVE Modified | [email protected] |
| Oct 5, 2026 | CVE Modified | [email protected] |
| Oct 2, 2026 | CVE Modified | [email protected] |
| Oct 1, 2026 | CVE Modified | [email protected] |
| Oct 1, 2026 | CVE Modified | [email protected] |
| Oct 1, 2026 | CVE Modified | [email protected] |
| Sep 30, 2026 | CVE Modified | [email protected] |
| Sep 30, 2026 | CVE Modified | [email protected] |
| Sep 29, 2026 | CVE Modified | [email protected] |
| Sep 28, 2026 | CVE Modified | [email protected] |
| Sep 28, 2026 | CVE Modified | [email protected] |
| Sep 28, 2026 | CVE Modified | [email protected] |
| Sep 24, 2026 | CVE Modified | [email protected] |
| Sep 24, 2026 | CVE Modified | [email protected] |
| Sep 24, 2026 | CVE Modified | [email protected] |
| Sep 23, 2026 | CVE Modified | [email protected] |
| Sep 21, 2026 | CVE Modified | [email protected] |
| Sep 11, 2026 | CVE Modified | [email protected] |
| Sep 8, 2026 | CVE Modified | [email protected] |
| Sep 8, 2026 | CVE Modified | [email protected] |
| Sep 3, 2026 | CVE Modified | [email protected] |
| Sep 3, 2026 | CVE Modified | CISA-ADP |
| Jul 29, 2026 | CVE Modified | [email protected] |
| Jul 22, 2026 | CVE Modified | CISA-ADP |
| Jul 21, 2026 | CVE Modified | [email protected] |
| Jul 17, 2026 | New CVE Received | [email protected] |