CVE-2026-16118
Last modified
CVE-2026-16118 is a high-severity vulnerability rated 7.1/10 on the CVSS scale. 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()). EPSS estimates a 0.13% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:H
Weakness Enumeration
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| xdg | xdgmime | All versions |
| Red Hat | Red Hat Enterprise Linux 10 | All versions |
| Red Hat | Red Hat Enterprise Linux 7 | All versions |
| Red Hat | Red Hat Enterprise Linux 8 | All versions |
| Red Hat | Red Hat Enterprise Linux 9 | All versions |
References
Timeline
- Published
- Last Modified
- Status
- Awaiting Analysis
Frequently Asked Questions
What is CVE-2026-16118?
How severe is CVE-2026-16118?
How do I fix CVE-2026-16118?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-16105A flaw was found in the RoleContainerResource component of K…4.9
- CVE-2026-16106A flaw was found in the admin REST API of Keycloak, a soluti…4.9
- CVE-2026-16107IBM TS4500 CLI tool Versions: 0.1.31 through 1.12.0.0 does …5.9
- CVE-2026-16108A flaw was found in the default-groups REST endpoint and rea…4.3
- CVE-2026-1611The Wikiloops Track Player plugin for WordPress is vulnerabl…6.4
- CVE-2026-16117Impact: @fastify/http-proxy versions up to and including 11.…10
- CVE-2026-16119A vulnerability was found in nextlevelbuilder GoClaw up to 3…6.3
- CVE-2026-1612AL-KO Robolinho Update Software has hard-coded AWS Access an…6.9
- CVE-2026-16120A vulnerability was determined in nextlevelbuilder GoClaw up…6.3
- CVE-2026-16121A vulnerability was identified in nextlevelbuilder GoClaw up…6.3
- CVE-2026-16122A security flaw has been discovered in nextlevelbuilder GoCl…4.3
- CVE-2026-16123A weakness has been identified in nextlevelbuilder GoClaw up…6.3
Are you affected by CVE-2026-16118?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
