CVE-2026-16118

HIGHPre-NVD 7.17.1
EchelonGraph scoreMEDIUM confidence

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.

Triggered by: GitHub Security Advisory CVSS
Sources: epss, ghsa, secondary
Trending — Patch released this weekElevated
7.1EG
EchelonGraph verdictPlan a fixSerious severity, but no confirmed exploitation yet.
  • High severity, but no confirmed exploitation yet
CISA-KEV: Not listedEPSS PROB: 0%CVSS: 7.1Exploit: Elevated riskExposed: 0

A fix is available — apply it.

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.

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 computed
Severity71% × 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
🔬 Proof of concept available. Patch available. Sources: redhat.
generic🟡 PoC Available

(#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/41
redhat

2501732 – (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=2501732
redhat Patch Available

cve-details

https://access.redhat.com/security/cve/CVE-2026-16118

Patch Availability(2)

Vendor / EcosystemFixed in / PatchReleasedSource
redhatglib2-0:2.80.4-12.el10_2.222026-09-08redhat
redhatglib2-0:2.68.4-19.el9_8.102026-09-08redhat

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)
PackageVulnerable rangeFixed inDependents
glib2.02.66.8-1 ... 2.89.3-2 (186 versions)
Debian:12(1)
PackageVulnerable rangeFixed inDependents
glib2.02.74.6-2 ... 2.89.4-2 (146 versions)
Debian:13(1)
PackageVulnerable rangeFixed inDependents
glib2.02.84.3-1 ... 2.89.4-2 (49 versions)
Debian:14(1)
PackageVulnerable rangeFixed inDependents
glib2.02.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.

  1. 2026-09-11 14:52 UTCEPSS rescore
  2. 2026-09-11 10:24 UTCEG score recompute
  3. 2026-09-11 10:24 UTCVendor advisory
  4. 2026-09-11 10:24 UTCGHSA enrichment
  5. 2026-09-11 09:36 UTCEPSS rescore
  6. 2026-09-11 09:35 UTCEG score recompute
  7. 2026-09-11 09:35 UTCVendor advisory
  8. 2026-09-11 09:35 UTCGHSA enrichment
  9. 2026-09-10 09:34 UTCEPSS rescore
  10. 2026-09-08 22:00 UTCEPSS rescore
  11. 2026-09-08 16:13 UTCEG score recompute
  12. 2026-09-08 16:13 UTCGHSA enrichment
  13. 2026-09-08 12:47 UTCEG score recompute
  14. 2026-09-08 12:47 UTCGHSA enrichment
  15. 2026-09-08 08:35 UTCEG score recompute
  16. 2026-09-08 08:35 UTCGHSA enrichment
  17. 2026-09-08 07:54 UTCEG score recompute
  18. 2026-09-08 07:54 UTCGHSA enrichment
  19. 2026-09-07 23:59 UTCEG score recompute
  20. 2026-09-07 23:59 UTCGHSA enrichment
  21. 2026-09-07 16:01 UTCEPSS rescore
  22. 2026-09-06 13:47 UTCEPSS rescore
  23. 2026-09-06 13:21 UTCGHSA enrichment
  24. 2026-09-05 20:26 UTCEG score recompute
  25. 2026-09-05 20:26 UTCGHSA enrichment
Show 75 more
  1. 2026-09-03 13:19 UTCEG score recompute
  2. 2026-09-03 13:19 UTCGHSA enrichment
  3. 2026-09-03 08:35 UTCEG score recompute
  4. 2026-09-03 08:35 UTCGHSA enrichment
  5. 2026-09-02 14:11 UTCEPSS rescore
  6. 2026-09-01 13:53 UTCEPSS rescore
  7. 2026-09-01 04:39 UTCEPSS rescore
  8. 2026-08-31 04:46 UTCEG score recompute
  9. 2026-08-31 04:46 UTCGHSA enrichment
  10. 2026-08-30 19:17 UTCEPSS rescore
  11. 2026-08-30 16:00 UTCGHSA enrichment
  12. 2026-08-30 03:14 UTCEG score recompute
  13. 2026-08-30 03:14 UTCGHSA enrichment
  14. 2026-08-30 01:22 UTCEPSS rescore
  15. 2026-08-28 21:41 UTCEPSS rescore
  16. 2026-08-28 02:27 UTCEG score recompute
  17. 2026-08-28 02:27 UTCGHSA enrichment
  18. 2026-08-27 14:25 UTCEPSS rescore
  19. 2026-08-27 13:27 UTCGHSA enrichment
  20. 2026-08-27 00:41 UTCEG score recompute
  21. 2026-08-27 00:41 UTCGHSA enrichment
  22. 2026-08-26 14:46 UTCEPSS rescore
  23. 2026-08-26 11:55 UTCGHSA enrichment
  24. 2026-08-25 22:47 UTCEG score recompute
  25. 2026-08-25 22:47 UTCGHSA enrichment
  26. 2026-08-25 13:48 UTCEPSS rescore
  27. 2026-08-25 08:43 UTCGHSA enrichment
  28. 2026-08-24 19:14 UTCEG score recompute
  29. 2026-08-24 19:14 UTCGHSA enrichment
  30. 2026-08-24 06:23 UTCGHSA enrichment
  31. 2026-08-23 17:27 UTCGHSA enrichment
  32. 2026-08-23 04:42 UTCGHSA enrichment
  33. 2026-08-22 15:56 UTCGHSA enrichment
  34. 2026-08-22 02:52 UTCEG score recompute
  35. 2026-08-22 02:52 UTCGHSA enrichment
  36. 2026-08-21 23:49 UTCEPSS rescore
  37. 2026-08-21 14:02 UTCGHSA enrichment
  38. 2026-08-21 01:01 UTCEG score recompute
  39. 2026-08-21 01:00 UTCGHSA enrichment
  40. 2026-08-20 22:55 UTCEPSS rescore
  41. 2026-08-20 12:15 UTCGHSA enrichment
  42. 2026-08-19 23:25 UTCEG score recompute
  43. 2026-08-19 23:25 UTCGHSA enrichment
  44. 2026-08-19 17:03 UTCEPSS rescore
  45. 2026-08-19 08:38 UTCGHSA enrichment
  46. 2026-08-18 19:53 UTCEG score recompute
  47. 2026-08-18 19:53 UTCGHSA enrichment
  48. 2026-08-18 13:48 UTCEPSS rescore
  49. 2026-08-17 23:11 UTCEG score recompute
  50. 2026-08-17 23:11 UTCGHSA enrichment
  51. 2026-08-17 13:47 UTCEPSS rescore
  52. 2026-08-17 10:23 UTCGHSA enrichment
  53. 2026-08-16 21:38 UTCEG score recompute
  54. 2026-08-16 21:38 UTCGHSA enrichment
  55. 2026-08-16 14:56 UTCEPSS rescore
  56. 2026-08-16 08:52 UTCEG score recompute
  57. 2026-08-16 08:52 UTCGHSA enrichment
  58. 2026-08-16 02:14 UTCEPSS rescore
  59. 2026-08-15 20:06 UTCGHSA enrichment
  60. 2026-08-15 07:20 UTCEG score recompute
  61. 2026-08-15 07:20 UTCGHSA enrichment
  62. 2026-08-15 01:30 UTCEPSS rescore
  63. 2026-08-14 17:24 UTCGHSA enrichment
  64. 2026-08-14 04:25 UTCEG score recompute
  65. 2026-08-14 04:25 UTCGHSA enrichment
  66. 2026-08-13 22:00 UTCEPSS rescore
  67. 2026-08-13 15:39 UTCGHSA enrichment
  68. 2026-08-13 02:50 UTCGHSA enrichment
  69. 2026-08-12 14:04 UTCEG score recompute
  70. 2026-08-12 14:04 UTCGHSA enrichment
  71. 2026-08-12 13:50 UTCEPSS rescore
  72. 2026-08-12 01:18 UTCEG score recompute
  73. 2026-08-12 01:18 UTCGHSA enrichment
  74. 2026-08-11 13:42 UTCEPSS rescore
  75. 2026-08-11 12:32 UTCEG score recompute

Frequently asked(5)

What is CVE-2026-16118?
CVE-2026-16118 is a high vulnerability published on July 17, 2026. A flaw was found in xdgmime. A heap-based buffer overflow can be triggered in xdgmimemagicparsemagicline() 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 $XDGDATAHOME/mime/magic path) is parsed by an…
When was CVE-2026-16118 disclosed?
CVE-2026-16118 was first published in the National Vulnerability Database on July 17, 2026, with the most recent update on September 11, 2026. EchelonGraph re-ingests CVE updates from NVD on a 2-hour cycle, so this page reflects the latest published state.
Is CVE-2026-16118 actively exploited?
CVE-2026-16118 is not currently on CISA's Known Exploited Vulnerabilities catalog. FIRST EPSS estimates a 0% probability of exploitation in the next 30 days, which ranks it in the top 84.3% of all scored CVEs.
What is the CVSS score of CVE-2026-16118?
CVE-2026-16118 has a CVSS v3 base score of 7.1 (NVD).
How do I remediate CVE-2026-16118?
Patch to the fixed version published by the affected vendor. Where vendor advisories exist for CVE-2026-16118, EchelonGraph cross-links them in the Vendor Advisories panel below — those typically contain the canonical remediation steps, fixed version numbers, and any vendor-specific mitigations.

Dependency Blast Radius

See which npm, PyPI, Go, and Maven packages are affected by CVE-2026-16118

Explore →

Is Your Infrastructure Affected by CVE-2026-16118?

EchelonGraph automatically scans your cloud infrastructure and maps CVE exposure using blast radius analysis.