Skip to main content
VulnerabilityPublished Updated

CVE-2026-16118: Glib2.0 · A flaw was found in xdgmime

Affects glib2.0Source GCVE Database

0
Compare
Authoritative record:CVE-2026-16118· High 7.1

Not known to be exploited · CVSS 7.1 High · fixed in 2.40.2-0ubuntu1.1+esm8 : patch glib2.0 soon.

Data as of 24 Nov 2026, 20:12 UTC

CVSS 3.1 base score
7.1High
How severe the flaw is on the 0–10 CVSS scale.

Thin evidence

One scorer or none
CVSS scores by source
CNA (redhat)CVSS 3.17.1
Patch
Available – fixed in 2.40.2-0ubuntu1.1+esm8, 2.48.2-0ubuntu4.8+esm6, 2.56.4-0ubuntu0.18.04.9+esm6 +4
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:H

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 17 Jul 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 23 Nov 2026.

What to do

Upgrade to a fixed release listed under Affected software.

Affected software

ProductAffectedFixed in
Ubuntu 26.04 LTSglib2.0pkg:deb/ubuntu/glib2.0?arch=source&distro=resoluteOther threatsAffected
  • <2.88.0-1ubuntu0.1
Fixed in
  • 2.88.0-1ubuntu0.1
Ubuntu 24.04 LTSglib2.0pkg:deb/ubuntu/glib2.0?arch=source&distro=nobleOther threatsAffected
  • <2.80.0-6ubuntu3.9
Fixed in
  • 2.80.0-6ubuntu3.9
Ubuntu 22.04 LTSglib2.0pkg:deb/ubuntu/glib2.0?arch=source&distro=jammyOther threatsAffected
  • <2.72.4-0ubuntu2.10
Fixed in
  • 2.72.4-0ubuntu2.10
Ubuntu Pro 20.04 LTSglib2.0pkg:deb/ubuntu/glib2.0?arch=source&distro=esm-infra/focalOther threatsAffected
  • <2.64.6-1~ubuntu20.04.9+esm2
Fixed in
  • 2.64.6-1~ubuntu20.04.9+esm2
Ubuntu Pro 18.04 LTSglib2.0pkg:deb/ubuntu/glib2.0?arch=source&distro=esm-infra/bionicOther threatsAffected
  • <2.56.4-0ubuntu0.18.04.9+esm6
Fixed in
  • 2.56.4-0ubuntu0.18.04.9+esm6
Ubuntu Pro 16.04 LTSglib2.0pkg:deb/ubuntu/glib2.0?arch=source&distro=esm-infra-legacy/xenialOther threatsAffected
  • <2.48.2-0ubuntu4.8+esm6
Fixed in
  • 2.48.2-0ubuntu4.8+esm6

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

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.

References

Community reviews

Loading reviews…