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.
CVE-2026-16118
Score 7.1 from GitHub Security Advisory (severity: HIGH) published 2026-07-17. a secondary CVSS source baseline 7.1; sources differ by 0.0.
- High severity, but no confirmed exploitation yet
A fix is available — apply it.
- CVSS v3
- 7.1
- EG Score
- 7.1(medium)
- EG Risk
- 48(Track)EG Risk 48/100SSVC: Track
EG Risk is EchelonGraph's 0–100 priority score: it fuses intrinsic severity with real-world exploitation and automatability so you can rank equal-severity CVEs and fix the most dangerous first. Higher = act sooner. Distinct from the 0–10 EG Score (severity).
How it’s computedSeverity71% × 45%Exploitation40% × 40%Automatability0% × 15%Action: Routine — remediate on your standard cadence. - EPSS PROB
- 0%
- EPSS %ILE
- 16%
- KEV
- Not listed
Published
July 17, 2026
Last Modified
September 11, 2026
Advisory Details (3)
Auto-updated Jul 17, 2026(#YWH-PGM9867-233) Heap Overflow on GLib through _xdg_mime_magic_parse_magic_line() in gio/xdgmime/xdgmimemagic.c via Incorrect Byte-Swap Pointer Arithmetic on MIME magic content in user-writable XDG data location (#41) · Issues · xdg / xdgmime · GitLab
https://gitlab.freedesktop.org/xdg/xdgmime/-/work_items/412501732 – (CVE-2026-16118) CVE-2026-16118 xdgmime: heap-based buffer overflow in _xdg_mime_magic_parse_magic_line() in xdgmimemagic.c
https://bugzilla.redhat.com/show_bug.cgi?id=2501732Vendor Advisories for CVE-2026-16118(3)
These vendors published their own advisory mentioning this CVE — often with vendor-specific remediation steps + affected product lists not in NVD.
- RHSA-2026:64800Red Hat Product SecurityMedium
Red Hat Security Advisory: glib2 security update
- RHSA-2026:64799Red Hat Product SecurityMedium
Red Hat Security Advisory: glib2 security update
- GHSA-cp7g-r78m-cc2gGitHub Security AdvisoriesHigh
A flaw was found in xdgmime. A heap-based buffer overflow can be triggered in...
Patch Availability(2)
| Vendor / Ecosystem | Fixed in / Patch | Released | Source |
|---|---|---|---|
| redhat | glib2-0:2.80.4-12.el10_2.22 | 2026-09-08 | redhat |
| redhat | glib2-0:2.68.4-19.el9_8.10 | 2026-09-08 | redhat |
Patches are aggregated from vendor advisories (Red Hat, Microsoft, Cisco, GitHub) and package ecosystems (OSV, GHSA). Multiple rows for the same upstream release have been deduplicated.
Affected Packages
(4 across 4 ecosystems)
Debian:11(1)
| Package | Vulnerable range | Fixed in | Dependents |
|---|---|---|---|
| glib2.0 | 2.66.8-1 ... 2.89.3-2 (186 versions) | — | — |
Debian:12(1)
| Package | Vulnerable range | Fixed in | Dependents |
|---|---|---|---|
| glib2.0 | 2.74.6-2 ... 2.89.4-2 (146 versions) | — | — |
Debian:13(1)
| Package | Vulnerable range | Fixed in | Dependents |
|---|---|---|---|
| glib2.0 | 2.84.3-1 ... 2.89.4-2 (49 versions) | — | — |
Debian:14(1)
| Package | Vulnerable range | Fixed in | Dependents |
|---|---|---|---|
| glib2.0 | 2.84.3-1 ... 2.88.3-2 (41 versions) | 2.88.3-3 | — |
Weakness Classification(1)
MITRE Common Weakness Enumeration — the root-cause categories this CVE belongs to.
Data Freshness Timeline
(refreshed 25× in last 7d / 93× in last 30d)
Each row is a source pipeline that fetched or updated this CVE on that date, with what changed. For example, "NVD update" means NVD published or revised its analysis for this CVE; "MITRE cvelistV5" means we ingested or refreshed it from the CNA feed. Most recent first.
Showing the most recent 100 of 180 total refreshes for this CVE.
- 2026-09-11 14:52 UTCEPSS rescore
- 2026-09-11 10:24 UTCEG score recompute
- 2026-09-11 10:24 UTCVendor advisory
- 2026-09-11 10:24 UTCGHSA enrichment
- 2026-09-11 09:36 UTCEPSS rescore
- 2026-09-11 09:35 UTCEG score recompute
- 2026-09-11 09:35 UTCVendor advisory
- 2026-09-11 09:35 UTCGHSA enrichment
- 2026-09-10 09:34 UTCEPSS rescore
- 2026-09-08 22:00 UTCEPSS rescore
- 2026-09-08 16:13 UTCEG score recompute
- 2026-09-08 16:13 UTCGHSA enrichment
- 2026-09-08 12:47 UTCEG score recompute
- 2026-09-08 12:47 UTCGHSA enrichment
- 2026-09-08 08:35 UTCEG score recompute
- 2026-09-08 08:35 UTCGHSA enrichment
- 2026-09-08 07:54 UTCEG score recompute
- 2026-09-08 07:54 UTCGHSA enrichment
- 2026-09-07 23:59 UTCEG score recompute
- 2026-09-07 23:59 UTCGHSA enrichment
- 2026-09-07 16:01 UTCEPSS rescore
- 2026-09-06 13:47 UTCEPSS rescore
- 2026-09-06 13:21 UTCGHSA enrichment
- 2026-09-05 20:26 UTCEG score recompute
- 2026-09-05 20:26 UTCGHSA enrichment
Show 75 moreShow fewer
- 2026-09-03 13:19 UTCEG score recompute
- 2026-09-03 13:19 UTCGHSA enrichment
- 2026-09-03 08:35 UTCEG score recompute
- 2026-09-03 08:35 UTCGHSA enrichment
- 2026-09-02 14:11 UTCEPSS rescore
- 2026-09-01 13:53 UTCEPSS rescore
- 2026-09-01 04:39 UTCEPSS rescore
- 2026-08-31 04:46 UTCEG score recompute
- 2026-08-31 04:46 UTCGHSA enrichment
- 2026-08-30 19:17 UTCEPSS rescore
- 2026-08-30 16:00 UTCGHSA enrichment
- 2026-08-30 03:14 UTCEG score recompute
- 2026-08-30 03:14 UTCGHSA enrichment
- 2026-08-30 01:22 UTCEPSS rescore
- 2026-08-28 21:41 UTCEPSS rescore
- 2026-08-28 02:27 UTCEG score recompute
- 2026-08-28 02:27 UTCGHSA enrichment
- 2026-08-27 14:25 UTCEPSS rescore
- 2026-08-27 13:27 UTCGHSA enrichment
- 2026-08-27 00:41 UTCEG score recompute
- 2026-08-27 00:41 UTCGHSA enrichment
- 2026-08-26 14:46 UTCEPSS rescore
- 2026-08-26 11:55 UTCGHSA enrichment
- 2026-08-25 22:47 UTCEG score recompute
- 2026-08-25 22:47 UTCGHSA enrichment
- 2026-08-25 13:48 UTCEPSS rescore
- 2026-08-25 08:43 UTCGHSA enrichment
- 2026-08-24 19:14 UTCEG score recompute
- 2026-08-24 19:14 UTCGHSA enrichment
- 2026-08-24 06:23 UTCGHSA enrichment
- 2026-08-23 17:27 UTCGHSA enrichment
- 2026-08-23 04:42 UTCGHSA enrichment
- 2026-08-22 15:56 UTCGHSA enrichment
- 2026-08-22 02:52 UTCEG score recompute
- 2026-08-22 02:52 UTCGHSA enrichment
- 2026-08-21 23:49 UTCEPSS rescore
- 2026-08-21 14:02 UTCGHSA enrichment
- 2026-08-21 01:01 UTCEG score recompute
- 2026-08-21 01:00 UTCGHSA enrichment
- 2026-08-20 22:55 UTCEPSS rescore
- 2026-08-20 12:15 UTCGHSA enrichment
- 2026-08-19 23:25 UTCEG score recompute
- 2026-08-19 23:25 UTCGHSA enrichment
- 2026-08-19 17:03 UTCEPSS rescore
- 2026-08-19 08:38 UTCGHSA enrichment
- 2026-08-18 19:53 UTCEG score recompute
- 2026-08-18 19:53 UTCGHSA enrichment
- 2026-08-18 13:48 UTCEPSS rescore
- 2026-08-17 23:11 UTCEG score recompute
- 2026-08-17 23:11 UTCGHSA enrichment
- 2026-08-17 13:47 UTCEPSS rescore
- 2026-08-17 10:23 UTCGHSA enrichment
- 2026-08-16 21:38 UTCEG score recompute
- 2026-08-16 21:38 UTCGHSA enrichment
- 2026-08-16 14:56 UTCEPSS rescore
- 2026-08-16 08:52 UTCEG score recompute
- 2026-08-16 08:52 UTCGHSA enrichment
- 2026-08-16 02:14 UTCEPSS rescore
- 2026-08-15 20:06 UTCGHSA enrichment
- 2026-08-15 07:20 UTCEG score recompute
- 2026-08-15 07:20 UTCGHSA enrichment
- 2026-08-15 01:30 UTCEPSS rescore
- 2026-08-14 17:24 UTCGHSA enrichment
- 2026-08-14 04:25 UTCEG score recompute
- 2026-08-14 04:25 UTCGHSA enrichment
- 2026-08-13 22:00 UTCEPSS rescore
- 2026-08-13 15:39 UTCGHSA enrichment
- 2026-08-13 02:50 UTCGHSA enrichment
- 2026-08-12 14:04 UTCEG score recompute
- 2026-08-12 14:04 UTCGHSA enrichment
- 2026-08-12 13:50 UTCEPSS rescore
- 2026-08-12 01:18 UTCEG score recompute
- 2026-08-12 01:18 UTCGHSA enrichment
- 2026-08-11 13:42 UTCEPSS rescore
- 2026-08-11 12:32 UTCEG score recompute
Related CVEs(same vendor + same CWE)
Same vendor
10 shownredhat
- CVE-2001-0825EG 10.0HIGH
- CVE-2001-1009EG 10.0EPSS p93HIGH
- CVE-2001-0554EG 10.0EPSS p98HIGH
- CVE-2001-1162EG 10.0EPSS p96HIGH
- CVE-2001-0414EG 10.0EPSS p100HIGH
- CVE-2001-0191EG 10.0EPSS p92HIGH
- CVE-2001-0301EG 10.0EPSS p91HIGH
- CVE-2001-0197EG 10.0EPSS p96HIGH
- CVE-2001-0233EG 10.0EPSS p96HIGH
- CVE-2001-0010EG 10.0EPSS p98HIGH
Same CWE
10 shownCWE-122
- CVE-2016-9603NVD 5.5EG 9.9EPSS p91CRITICAL
- CVE-2017-20241EG 9.8CRITICAL
- CVE-2006-10003EG 9.8CRITICAL
- CVE-2006-10002NVD 7.5EG 9.8CRITICAL
- CVE-2019-18296EG 9.8EPSS p92CRITICAL
- CVE-2019-18295EG 9.8EPSS p92CRITICAL
- CVE-2019-18293EG 9.8EPSS p92CRITICAL
- CVE-2019-18289EG 9.8EPSS p92CRITICAL
- CVE-2019-14901EG 9.8EPSS p97CRITICAL
- CVE-2019-14895EG 9.8EPSS p94CRITICAL
Frequently asked(5)
What is CVE-2026-16118?
When was CVE-2026-16118 disclosed?
Is CVE-2026-16118 actively exploited?
What is the CVSS score of CVE-2026-16118?
How do I remediate CVE-2026-16118?
Dependency Blast Radius
See which npm, PyPI, Go, and Maven packages are affected by CVE-2026-16118
Is Your Infrastructure Affected by CVE-2026-16118?
EchelonGraph automatically scans your cloud infrastructure and maps CVE exposure using blast radius analysis.