7.1

CVE-2026-16118: Xdgmime: heap-based buffer overflow in _xdg_mime_magic_parse_magic_line() in xdgmimemagic.c

Awaiting analysis
AliasesRHSA-2026:64799RHSA-2026:64800RHSA-2026:66451
Published 17-07-2026Last modified 02-12-2026

Vulnerability summary

CVE-2026-16118 is a high (CVSS 7.1) Heap-based Buffer Overflow vulnerability in glib2.0. EPSS estimates a 0.28% chance of exploitation in the next 30 days, higher than 21.5% of scored vulnerabilities.

Priority
Routine

Not severe (CVSS 7.1, local access); no exploitation reported by the 5 checked sources

Source freshness unavailable

How is this decided?
CVSS score
7.1/10
010
High · v3.1 (CVE.org)
EPSS score
0.28%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits0No public exploits recorded

Advisory lineage

Upstream 0 · Downstream 1 · Related 1

Timeline

  1. 17-07-2026
    PublishedVulnerability first disclosed.
  2. 02-12-2026
    Last modifiedVulnerability information updated.

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.

CVSS metrics

5 scores · 5 sources · 1 version

EPSS trend

Probability

0.28%

Chance of exploitation in the next 30 days

Percentile

22%

Versus all other CVEs

30-day change

No change 0.00 pp

From 0.28% on 04-11-2026

04-11-202604-12-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: local access, no authentication, user interaction (CVSS vector). Other conditions: not stated in public data.

Redhat11 products
  • glib2< 0:2.56.4-10.el8_4.8 | < 0:2.56.4-165.el8_8.3 | < 0:2.56.1-13.el7_9.2 | < 0:2.80.4-12.el10_2.22 | < 0:2.68.4-19.el9_8.10 | < 0:2.56.4-178.el8_10 | < 0:2.68.4-14.el9_4.9 | < 0:2.68.4-16.el9_6.8 | < 0:2.80.4-4.el10_0.18 | < 0:2.68.4-7.el9_2.8 | < 0:2.68.4-29.el9_9.1 | < 0:2.80.4-22.el10_3.23 | < 0:2.56.4-158.el8_6.8
  • glib2-debuginfo< 0:2.56.4-10.el8_4.8 | < 0:2.56.4-165.el8_8.3 | < 0:2.56.1-13.el7_9.2 | < 0:2.80.4-12.el10_2.22 | < 0:2.68.4-19.el9_8.10 | < 0:2.56.4-178.el8_10 | < 0:2.68.4-14.el9_4.9 | < 0:2.68.4-16.el9_6.8 | < 0:2.80.4-4.el10_0.18 | < 0:2.68.4-7.el9_2.8 | < 0:2.68.4-29.el9_9.1 | < 0:2.80.4-22.el10_3.23 | < 0:2.56.4-158.el8_6.8
  • glib2-debugsource< 0:2.56.4-10.el8_4.8 | < 0:2.56.4-165.el8_8.3 | < 0:2.80.4-12.el10_2.22 | < 0:2.68.4-19.el9_8.10 | < 0:2.56.4-178.el8_10 | < 0:2.68.4-14.el9_4.9 | < 0:2.68.4-16.el9_6.8 | < 0:2.80.4-4.el10_0.18 | < 0:2.68.4-7.el9_2.8 | < 0:2.68.4-29.el9_9.1 | < 0:2.80.4-22.el10_3.23 | < 0:2.56.4-158.el8_6.8
  • glib2-devel< 0:2.56.4-10.el8_4.8 | < 0:2.56.4-165.el8_8.3 | < 0:2.56.1-13.el7_9.2 | < 0:2.80.4-12.el10_2.22 | < 0:2.68.4-19.el9_8.10 | < 0:2.56.4-178.el8_10 | < 0:2.68.4-14.el9_4.9 | < 0:2.68.4-16.el9_6.8 | < 0:2.80.4-4.el10_0.18 | < 0:2.68.4-7.el9_2.8 | < 0:2.68.4-29.el9_9.1 | < 0:2.80.4-22.el10_3.23 | < 0:2.56.4-158.el8_6.8
  • glib2-devel-debuginfo< 0:2.56.4-10.el8_4.8 | < 0:2.56.4-165.el8_8.3 | < 0:2.80.4-12.el10_2.22 | < 0:2.68.4-19.el9_8.10 | < 0:2.56.4-178.el8_10 | < 0:2.68.4-14.el9_4.9 | < 0:2.68.4-16.el9_6.8 | < 0:2.80.4-4.el10_0.18 | < 0:2.68.4-7.el9_2.8 | < 0:2.68.4-29.el9_9.1 | < 0:2.80.4-22.el10_3.23 | < 0:2.56.4-158.el8_6.8
Debian1 product
  • glib2.0All versions (No fix recorded) | < 2.84.4-3~deb13u5 | < 2.88.3-3
Ubuntu1 product
  • glib2.0< 2.40.2-0ubuntu1.1+esm8 | < 2.48.2-0ubuntu4.8+esm6 | < 2.56.4-0ubuntu0.18.04.9+esm6 | < 2.64.6-1~ubuntu20.04.9+esm2 | < 2.72.4-0ubuntu2.10 | < 2.80.0-6ubuntu3.9 | < 2.88.0-1ubuntu0.1

3 vendors · 13 products

References

104 links
Show all 100 references

Showing 100 of 104.