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: 3.23%
Debian logo
Debian Releases
Debian Product
Codename
glib2.0
bookworm
postponed
bookworm (security)
vulnerable
bullseye
postponed
bullseye (security)
vulnerable
forky
vulnerable
sid
2.88.3-3
fixed
trixie
no-dsa
Ubuntu logo
Ubuntu Releases
Ubuntu Product
Codename
glib2.0
bionic
needs-triage
focal
needs-triage
jammy
needs-triage
noble
needs-triage
resolute
needs-triage
trusty
needs-triage
xenial
needs-triage
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