Upstream information

CVE-2026-16118 at MITRE

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.

SUSE information

Overall state of this security issue: Resolved

This issue is currently rated as having important severity.

CVSS v3 Scores
CVSS detail CNA (Red Hat)
Base Score 7.1
Vector CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:H
Attack Vector Local
Attack Complexity Low
Privileges Required None
User Interaction Required
Scope Unchanged
Confidentiality Impact None
Integrity Impact High
Availability Impact High
CVSSv3 Version 3.1
No SUSE Bugzilla entries cross referenced.

No SUSE Security Announcements cross referenced.

List of released packages

Product(s) Fixed package version(s) References
SUSE Liberty Linux 10
  • glib2 >= 2.80.4-12.el10_2.22
  • glib2-devel >= 2.80.4-12.el10_2.22
  • glib2-tests >= 2.80.4-12.el10_2.22
Patchnames:
RHSA-2026:64799 (x86_64)
SUSE Liberty Linux 9
  • glib2 >= 2.68.4-19.el9_8.10
  • glib2-devel >= 2.68.4-19.el9_8.10
  • glib2-doc >= 2.68.4-19.el9_8.10
  • glib2-static >= 2.68.4-19.el9_8.10
  • glib2-tests >= 2.68.4-19.el9_8.10
Patchnames:
RHSA-2026:64800 (i686,x86_64)


SUSE Timeline for this CVE

CVE page created: Thu Sep 10 20:40:17 2026
CVE page last modified: Thu Sep 10 20:40:17 2026