{"vuln_id":"CVE-2026-16118","aliases":[],"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.","published_at":"2026-07-17T20:17:16.167000Z","modified_at":"2026-11-24T11:17:13.890000Z","first_seen_at":"2026-11-21T19:15:46.347234Z","severity":"high","severity_source":"nvd","cvss_score":7.1,"cvss_vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:H","cwe":["CWE-122"],"vendor":null,"product":null,"kev":{"is_kev":false,"date_added":null,"due_date":null,"ransomware":false},"epss":0.00277,"epss_percentile":0.20417,"nvd_status":"Awaiting Analysis","enriched_at":null,"links":{"nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-16118"},"matched_alias":null,"items":[{"id":15832,"source":{"id":"osv","name":"OSV.dev"},"title":"DEBIAN-CVE-2026-16118: 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 sy…","summary":"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.\n\nAffected: Debian:12:glib2.0, Debian:13:glib2.0, Debian:14:glib2.0\n\nFixed in: 2.84.4-3~deb13u5, 2.88.3-3\n\nReferences:\nhttps://security-tracker.debian.org/tracker/CVE-2026-16118","url":"https://osv.dev/vulnerability/DEBIAN-CVE-2026-16118","published_at":"2026-07-17T20:17:16.167000Z","updated_at":"2026-11-23T09:47:38.835796Z","fetched_at":"2026-11-23T15:06:13.496566Z","severity":"high","cvss_score":7.1,"epss":0.00277,"is_kev":false,"has_exploit":false,"kev_due_date":null,"vendor":"debian","product":"12:glib2.0","vuln_id":"CVE-2026-16118","vuln_ids":["CVE-2026-16118","DEBIAN-CVE-2026-16118"],"tags":["osv","debian","fix-available"],"cluster_id":3340,"links":{"self":"https://vulnwatch.ve1ve2.com/api/v1/items/15832","html":"https://vulnwatch.ve1ve2.com/item/15832"}},{"id":3258,"source":{"id":"nvd","name":"NVD CVE API 2.0"},"title":"CVE-2026-16118: 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 sy…","summary":"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.\n\nReferences:\nhttps://access.redhat.com/errata/RHSA-2026:100504\nhttps://access.redhat.com/errata/RHSA-2026:102189\nhttps://access.redhat.com/errata/RHSA-2026:64799\nhttps://access.redhat.com/errata/RHSA-2026:64800\nhttps://access.redhat.com/errata/RHSA-2026:66451\nhttps://access.redhat.com/errata/RHSA-2026:67956\nhttps://access.redhat.com/errata/RHSA-2026:70636\nhttps://access.redhat.com/errata/RHSA-2026:71403\nhttps://access.redhat.com/errata/RHSA-2026:71404\nhttps://access.redhat.com/errata/RHSA-2026:71405","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-16118","published_at":"2026-07-17T20:17:16.167000Z","updated_at":"2026-11-24T11:17:13.890000Z","fetched_at":"2026-11-21T19:15:31.478849Z","severity":"high","cvss_score":7.1,"epss":0.00277,"is_kev":false,"has_exploit":false,"kev_due_date":null,"vendor":null,"product":null,"vuln_id":"CVE-2026-16118","vuln_ids":["CVE-2026-16118","RHSA-2026:100504","RHSA-2026:102189","RHSA-2026:64799","RHSA-2026:64800","RHSA-2026:66451","RHSA-2026:67956","RHSA-2026:70636","RHSA-2026:71403","RHSA-2026:71404","RHSA-2026:71405"],"tags":["CWE-122"],"cluster_id":3340,"links":{"self":"https://vulnwatch.ve1ve2.com/api/v1/items/3258","html":"https://vulnwatch.ve1ve2.com/item/3258"}}]}