CVE-2026-16118
7.1high
Xdgmime: heap-based buffer overflow in _xdg_mime_magic_parse_magic_line() in xdgmimemagic.c
- Severity
- 7.1high CVSS:3.1 by redhat
- Exploit likelihood
- 0.28% (higher than 21% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- redhat
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| xdgmime | Not specified | CVE List |
| glib2 | Not specified Not affected: from 0:2.80.4-12.el10_2.22 before *, from 0:2.80.4-22.el10_3.23 before *, from 0:2.80.4-4.el10_0.18 before *, from 0:2.56.1-13.el7_9.2 before *, from 0:2.56.4-178.el8_10 before *, from 0:2.56.4-10.el8_4.8 before * | CVE List |
| cert-manager/jetstack-cert-manager-acmesolver-rhel9 | Not specified Not affected: from 1791371080 before *, from 1791459707 before *, from 1790589998 before * | CVE List |
| cert-manager/jetstack-cert-manager-rhel9 | Not specified Not affected: from 1791371069 before *, from 1791459711 before *, from 1790223279 before *, from 1790589912 before * | CVE List |
| cert-manager/cert-manager-operator-rhel9 | Not specified Not affected: from 1791788287 before *, from 1789029076 before *, from 1790272426 before *, from 1790589855 before * | CVE List |
| cert-manager/cert-manager-istio-csr-rhel9 | Not specified Not affected: from 1791378395 before *, from 1791459759 before *, from 1790223719 before *, from 1790589914 before * | CVE List |
| cert-manager/cert-manager-operator-bundle | Not specified Not affected: from 1791970484 before *, from 1791966259 before * | CVE List |
| cert-manager/cert-manager-trust-manager-rhel9 | Not specified Not affected: from 1790598593 before * | CVE List |
| rhaiis/model-opt-cuda-rhel9 | Not specified Not affected: from 1790621714 before * | CVE List |
| rhaiis/vllm-cuda-rhel9 | Not specified Not affected: from 1790621718 before * | CVE List |
| rhaiis/vllm-rocm-rhel9 | Not specified Not affected: from 1790621713 before * | CVE List |
| rhaii/vllm-rocm-rhel9 | Not specified Not affected: from 1791425869 before * | CVE List |
| rhaii/vllm-gaudi-rhel9 | Not specified Not affected: from 1791427182 before * | CVE List |
| rhaii/model-opt-cuda-rhel9 | Not specified Not affected: from 1791803821 before * | CVE List |
| rhaii/vllm-cuda-rhel9 | Not specified Not affected: from 1791473631 before * | CVE List |
| rhaii/vllm-spyre-rhel9 | Not specified Not affected: from 1791818357 before * | CVE List |
| rhaii/vllm-cpu-rhel9 | Not specified Not affected: from 1791473614 before * | CVE List |
| costmanagement/costmanagement-ui-rhel10 | Not specified Not affected: from 1791460851 before * | CVE List |
| discovery/discovery-server-rhel9 | Not specified Not affected: from 1795537005 before * | CVE List |
| discovery/discovery-ui-rhel9 | Not specified Not affected: from 1795539844 before * | CVE List |
| rhelai3/disk-image-cuda-rhel9 | Not specified Not affected: from 1793206758 before * | CVE List |
| rhelai3/bootc-aws-cuda-rhel9 | Not specified Not affected: from 1793194817 before * | CVE List |
| rhelai3/bootc-azure-cuda-rhel9 | Not specified Not affected: from 1793194815 before * | CVE List |
| rhelai3/bootc-azure-rocm-rhel9 | Not specified Not affected: from 1793194834 before * | CVE List |
| rhelai3/bootc-cuda-rhel9 | Not specified Not affected: from 1793135861 before * | CVE List |
| rhelai3/bootc-gcp-cuda-rhel9 | Not specified Not affected: from 1793194815 before * | CVE List |
| rhelai3/bootc-rocm-rhel9 | Not specified Not affected: from 1793135863 before * | CVE List |
| rhai/base-image-rocm-rhel9 | Not specified Not affected: from 1790276886 before *, from 1790703506 before *, from 1790703494 before * | CVE List |
| rhai/base-image-tpu-rhel9 | Not specified Not affected: from 1790276884 before *, from 1790703497 before *, from 1790703516 before *, from 1790703539 before *, from 1790703554 before * | CVE List |
| rhai/base-image-cpu-rhel9 | Not specified Not affected: from 1790277045 before *, from 1790703590 before *, from 1790703615 before *, from 1790703631 before *, from 1790703656 before * | CVE List |
| rhai/base-image-spyre-rhel9 | Not specified Not affected: from 1790276889 before *, from 1790703568 before *, from 1790703579 before *, from 1790703597 before *, from 1790703630 before * | CVE List |
| rhai/base-image-cuda-rhel9 | Not specified Not affected: from 1790276974 before *, from 1790703586 before * | CVE List |
| rhai/base-image-rocm-6.4-rhel9 | Not specified Not affected: from 1790703524 before *, from 1790703545 before * | CVE List |
| rhai/base-image-cuda-13.0-rhel9 | Not specified Not affected: from 1790703601 before *, from 1791231820 before *, from 1790703641 before *, from 1790703645 before * | CVE List |
| rhai/base-image-rocm-7.0-rhel9 | Not specified Not affected: from 1790703516 before * | CVE List |
| rhai/base-image-cuda-12.9-rhel9 | Not specified Not affected: from 1790703608 before *, from 1791232257 before *, from 1790703630 before *, from 1790703706 before * | CVE List |
| rhai/base-image-neuron-rhel9 | Not specified Not affected: from 1790703516 before *, from 1790703542 before *, from 1790703557 before * | CVE List |
| rhai/base-image-gaudi-rhel9 | Not specified Not affected: from 1790703553 before *, from 1790703552 before * | CVE List |
| rhai/base-image-rocm-7.1-rhel9 | Not specified Not affected: from 1790703541 before * | CVE List |
| rhai/base-image-rubin-rhel9 | Not specified Not affected: from 1790703707 before * | CVE List |
| rhai/base-image-rocm-7.14-rhel9 | Not specified Not affected: from 1790703554 before * | CVE List |
| rhui5/cds-kubernetes-rhel9 | Not specified Not affected: from 1789479916 before * | CVE List |
| rhui5/cds-rhel9 | Not specified Not affected: from 1789479900 before * | CVE List |
| rhui5/haproxy-rhel9 | Not specified Not affected: from 1789479891 before * | CVE List |
| rhui5/installer-rhel9 | Not specified Not affected: from 1789482961 before * | CVE List |
| rhui5/rhua-rhel9 | Not specified Not affected: from 1789478095 before * | CVE List |
| webkitgtk4 | Not specified | CVE List |
| webkit2gtk3 | Not specified | CVE List |
| rhoai/odh-llama-stack-k8s-operator-rhel9 | Not specified | CVE List |
Classification
SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-16118 changed 2026-12-01 | CVE Terms of Use |
| NVD | CVE-2026-16118 changed 2026-12-01 | Public domain |