A flaw was found in xdgmime.
CVE-2026-16118 · GHSA-cp7g-r78m-cc2g · EUVD-2026-45266 · published 17 Jul 2026
How serious is it
- Severity: high, CVSS score 7.1 out of 10.
- No exploit prediction (EPSS) score yet.
- Not on the CISA list of exploited vulnerabilities.
- No public exploit in Exploit-DB.
Is your app affected by CVE-2026-16118?
Paste this prompt into Claude Code, Cursor or any AI coding tool: it runs a free Shippable scan of your project and fixes what it finds. Built with Lovable, Bolt or v0? Scan your live app. Or upload your package file.
Who is affected
- Red Hat Red Hat Enterprise Linux 10.0 Extended Update Support: patch: 0:2.80.4-4.el10_0.18
- Red Hat Red Hat Update Infrastructure 5: patch: 1789482961
- Red Hat Red Hat Enterprise Linux 9.4 Update Services for SAP Solutions: patch: 0:2.68.4-14.el9_4.9
- Red Hat Cert Manager support for Red Hat OpenShift release 1.18: patch: 1789029076
- Red Hat Red Hat OpenShift AI 3.5: patch: 1790703552
- Red Hat Red Hat Enterprise Linux AI 3.5: patch: 1793194834
- Red Hat Red Hat OpenShift AI 3.0: patch: 1790276884
- Red Hat Red Hat OpenShift AI 3.3: patch: 1790703615
- Red Hat Cert Manager support for Red Hat OpenShift release 1.20: patch: 1790223719
- Red Hat Red Hat Enterprise Linux AI 3.5: patch: 1793194817
How to check
- Find out whether you run the affected product and which version, then compare it with the versions above.
How to fix
Copies a prompt for Claude Code, Cursor or Codex that asks it to check whether you run this product.
- Apply the vendor's update or mitigation from the references below. If there is none yet, limit exposure of the affected service until there is.
- If a vulnerable version was live, check your logs and rotate the secrets that server could read.
The advisory
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.
Check your whole app
Dependencies are only half of it. Free and read-only: before you push, run npx shippable-dev scan localhost:3000 in your project folder, no account needed. For your live app, you prove it's yours with a one-line tag first.
References
- access.redhat.com/errata/RHSA-2026:64799
- access.redhat.com/errata/RHSA-2026:64800
- access.redhat.com/errata/RHSA-2026:66451
- access.redhat.com/errata/RHSA-2026:67956
- access.redhat.com/errata/RHSA-2026:70636
- access.redhat.com/errata/RHSA-2026:71403
- access.redhat.com/errata/RHSA-2026:71404
- access.redhat.com/errata/RHSA-2026:71405
- access.redhat.com/errata/RHSA-2026:72394
- access.redhat.com/errata/RHSA-2026:72395
- access.redhat.com/errata/RHSA-2026:72399
- access.redhat.com/errata/RHSA-2026:72470
- access.redhat.com/errata/RHSA-2026:72475
- access.redhat.com/errata/RHSA-2026:72476
- access.redhat.com/errata/RHSA-2026:72502
Merged from ENISA EUVD. Last updated 30 Oct 2026. All vulnerabilities · RSS · JSON