🛡️ CVE-2026-16118 on Ubuntu — glib2.0

⚪ Unknown ✅ No Known Exploit OSV
N/A
CVSS Score
0 Low4 Medium7 High9 Critical10

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.

Distribution advisory

This page covers CVE-2026-16118 as tracked by Ubuntu, for the package glib2.0. No fixed version has been recorded for this distribution yet.

How this vulnerability can be exploited

This issue can be reached with local access to the system, attack complexity is low, an attacker needs no privileges on the target. A user must be tricked into taking some action. The scope is unchanged, so the impact stays within the vulnerable component. Rated impact: confidentiality none, integrity high, availability high.

Weakness class

UBUNTU-CVE-2026-16118 is classified as CWE-122: Heap-based Buffer Overflow. A write past the end of a heap allocation corrupts allocator metadata or neighbouring objects.

Affected software

UBUNTU-CVE-2026-16118 is recorded against 1 package.

  • glib2.0

Timeline and source

Published on 17 July 2026 and last revised on 29 July 2026. No public exploit is currently recorded for this entry. Record sourced from OSV.

References

ubuntu.com (Report)
www.cve.org (Report)
gitlab.gnome.org (Report)
bugzilla.redhat.com (Report)
gitlab.freedesktop.org (Report)

Details

Severity Unknown
CVSS Score N/A
CVSS Vector CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:H
CWE N/A
Public Exploit ✅ No
Source OSV
Published 2026-07-17
Updated 2026-08-11
Modified 2026-07-29
Fix URL N/A

Affected Packages

Software From version Fixed in
glib2.0

Site Security Check

Is glib2.0 part of your stack?

UBUNTU-CVE-2026-16118 is rated CVSS 7.1 High. BotEraser scans your installation against known CVE records and tells you whether this vulnerability applies to the versions you actually run.

Scan My Site Free →

No credit card required  ·  Results in minutes

ⓘ Data Notice: The information presented above has been compiled from publicly available internet sources. Boteraser aggregates this data solely for informational purposes and does not independently classify, evaluate, or endorse any findings about the vulnerabilities listed. The accuracy and completeness of this information is the sole responsibility of the original publishers. Boteraser and its operators accept no liability for any decisions made based on this data.

Browse related advisories

All advisoriesUbuntuUbuntu 2026