CVE-2026-16118

EUVD-2026-45266
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.
ProviderTypeBase ScoreAtk. VectorAtk. ComplexityPriv. RequiredVector
NISTPrimary
7.1 HIGH
LOCAL
LOW
NONE
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:H
Awaiting analysis
This vulnerability is currently awaiting analysis.
Base Score
CVSS 3.x
EPSS Score
Percentile: 18.81%
Debian logo
Debian Releases
Debian Product
Codename
glib2.0
bookworm
postponed
bookworm (security)
vulnerable
bullseye
postponed
forky
2.90.0-1
fixed
sid
2.90.1-2
fixed
trixie
2.84.4-3~deb13u5
fixed
Ubuntu logo
Ubuntu Releases
Ubuntu Product
Codename
glib2.0
bionic
Fixed 2.56.4-0ubuntu0.18.04.9+esm6
released
focal
Fixed 2.64.6-1~ubuntu20.04.9+esm2
released
jammy
Fixed 2.72.4-0ubuntu2.10
released
noble
Fixed 2.80.0-6ubuntu3.9
released
resolute
Fixed 2.88.0-1ubuntu0.1
released
trusty
Fixed 2.40.2-0ubuntu1.1+esm8
released
xenial
Fixed 2.48.2-0ubuntu4.8+esm6
released
Red Hat logo
Red Hat Enterprise Linux Releases
Red Hat Product
Release
glib2
RHEL 8
0:2.56.4-178.el8_10
fixed
RHEL 9
0:2.68.4-19.el9_8.10
fixed
glib2-devel
RHEL 8
0:2.56.4-178.el8_10
fixed
RHEL 9
0:2.68.4-19.el9_8.10
fixed
glib2-doc
RHEL 8
0:2.56.4-178.el8_10
fixed
RHEL 9
0:2.68.4-19.el9_8.10
fixed
glib2-fam
RHEL 8
0:2.56.4-178.el8_10
fixed
glib2-static
RHEL 8
0:2.56.4-178.el8_10
fixed
RHEL 9
0:2.68.4-19.el9_8.10
fixed
glib2-tests
RHEL 8
0:2.56.4-178.el8_10
fixed
RHEL 9
0:2.68.4-19.el9_8.10
fixed
Amazon Linux logo
Amazon Linux Releases
Amazon Package
Release
glib2
Amazon Linux 2
0:2.56.1-9.amzn2.0.15
fixed
Amazon Linux 2023
0:2.82.2-771.amzn2023
fixed
glib2-debuginfo
Amazon Linux 2
0:2.56.1-9.amzn2.0.15
fixed
Amazon Linux 2023
0:2.82.2-771.amzn2023
fixed
glib2-debugsource
Amazon Linux 2023
0:2.82.2-771.amzn2023
fixed
glib2-devel
Amazon Linux 2
0:2.56.1-9.amzn2.0.15
fixed
Amazon Linux 2023
0:2.82.2-771.amzn2023
fixed
glib2-devel-debuginfo
Amazon Linux 2023
0:2.82.2-771.amzn2023
fixed
glib2-doc
Amazon Linux 2
0:2.56.1-9.amzn2.0.15
fixed
Amazon Linux 2023
0:2.82.2-771.amzn2023
fixed
glib2-fam
Amazon Linux 2
0:2.56.1-9.amzn2.0.15
fixed
glib2-static
Amazon Linux 2
0:2.56.1-9.amzn2.0.15
fixed
Amazon Linux 2023
0:2.82.2-771.amzn2023
fixed
glib2-tests
Amazon Linux 2
0:2.56.1-9.amzn2.0.15
fixed
Amazon Linux 2023
0:2.82.2-771.amzn2023
fixed
glib2-tests-debuginfo
Amazon Linux 2023
0:2.82.2-771.amzn2023
fixed
webkitgtk4
Amazon Linux 2
0:2.52.5-1.amzn2
fixed
webkitgtk4-devel
Amazon Linux 2
0:2.52.5-1.amzn2
fixed
webkitgtk4-jsc
Amazon Linux 2
0:2.52.5-1.amzn2
fixed
webkitgtk4-jsc-devel
Amazon Linux 2
0:2.52.5-1.amzn2
fixed
References