{"answers":{"affected":"","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-16118 exists.","fix":"Apply the vendor's patch.","what":"CVE-2026-16118 is a high-severity memory corruption vulnerability in Cert Manager support for Red Hat OpenShift release 1.17, published on 17 Jul 2026. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2026-16118 and fix it if it is affected.\n\nWhat it is: CVE-2026-16118 is a high-severity memory corruption vulnerability in Cert Manager support for Red Hat OpenShift release 1.17, published on 17 Jul 2026. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-16118 exists.\n\nAffected product: Cert Manager support for Red Hat OpenShift release 1.17. No package-level version data is available, so check the vendor advisory linked from the reference page.\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2026-16118/ (Markdown: https://insights.sbomify.com/CVE-2026-16118/index.md)","id":"CVE-2026-16118","markdown":"https://insights.sbomify.com/CVE-2026-16118/index.md","name":"CVE-2026-16118","record":{"aliases":["ALSA-2026:64799","ALSA-2026:64800","ALSA-2026:66451","CLSA-2026-1789032075","CLSA-2026-1789206553","CLSA-2026-1789392191","CLSA-2026-1789602006","CLSA-2026-1789748257","CLSA-2026-1789985854","CLSA-2026-1791466598","CLSA-2026-1791535751","CLSA-2026-1791558283","DEBIAN-CVE-2026-16118","ECHO-c3e8-fe66-18c2","GHSA-cp7g-r78m-cc2g","OESA-2026-3725","OESA-2026-3728","OESA-2026-3909","RHSA-2026:64799","RHSA-2026:64800","RHSA-2026:66451","RHSA-2026:70636","RHSA-2026:71403","RHSA-2026:71404","RHSA-2026:71405","RLSA-2026:64799","RLSA-2026:64800","RLSA-2026:66451","ROOT-OS-DEBIAN-11-CVE-2026-16118","ROOT-OS-DEBIAN-12-CVE-2026-16118","UBUNTU-CVE-2026-16118"],"analysis":{"component_type":"library","fix_type":"patch","impacts":["denial_of_service","code_execution"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"xdgmime library","requires_auth":"none","summary":"Heap-based buffer overflow in xdgmime allows attackers to cause crashes or execute code via malicious MIME magic files.","user_interaction":"required","vuln_class":"memory_corruption"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"redhat","cpe":[],"cvss":{"score":7.1,"severity":"high","source":"cna","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-122","name":"Heap-based Buffer Overflow"}],"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.","ecosystems":["AlmaLinux:10","AlmaLinux:8","AlmaLinux:9","Red Hat:enterprise_linux:10.2","Red Hat:enterprise_linux:8::baseos","Red Hat:enterprise_linux:8::crb","Red Hat:enterprise_linux:9::appstream","Red Hat:enterprise_linux:9::baseos","Red Hat:enterprise_linux:9::crb","Red Hat:enterprise_linux_eus:10.0","Red Hat:rhel_e4s:9.2::appstream","Red Hat:rhel_e4s:9.2::baseos","Red Hat:rhel_e4s:9.4::appstream","Red Hat:rhel_e4s:9.4::baseos","Red Hat:rhel_eus:9.6::appstream","Red Hat:rhel_eus:9.6::baseos","Red Hat:rhel_eus:9.6::crb","Rocky Linux:10","Rocky Linux:8","Rocky Linux:9"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"weaponised"},"has_fix":true,"headline":"Xdgmime: heap-based buffer overflow in _xdg_mime_magic_parse_magic_line() in xdgmimemagic.c","id":"CVE-2026-16118","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"memory_corruption","year":"2026"},"n_packages":111,"n_references":77,"next":{"headline":"nextlevelbuilder GoClaw WebSocket Approval Endpoint exec_approval.go RequestApproval authorization","id":"CVE-2026-16119"},"packages":[{"ecosystem":"AlmaLinux:10","fixed":["2.80.4-12.el10_2.22"],"introduced":["0"],"last_affected":[],"package":"glib2","purl":"pkg:rpm/almalinux/glib2","source":"ALSA-2026:64799"},{"ecosystem":"AlmaLinux:10","fixed":["2.80.4-12.el10_2.22"],"introduced":["0"],"last_affected":[],"package":"glib2-devel","purl":"pkg:rpm/almalinux/glib2-devel","source":"ALSA-2026:64799"},{"ecosystem":"AlmaLinux:10","fixed":["2.80.4-12.el10_2.22"],"introduced":["0"],"last_affected":[],"package":"glib2-doc","purl":"pkg:rpm/almalinux/glib2-doc","source":"ALSA-2026:64799"},{"ecosystem":"AlmaLinux:10","fixed":["2.80.4-12.el10_2.22"],"introduced":["0"],"last_affected":[],"package":"glib2-static","purl":"pkg:rpm/almalinux/glib2-static","source":"ALSA-2026:64799"},{"ecosystem":"AlmaLinux:10","fixed":["2.80.4-12.el10_2.22"],"introduced":["0"],"last_affected":[],"package":"glib2-tests","purl":"pkg:rpm/almalinux/glib2-tests","source":"ALSA-2026:64799"},{"ecosystem":"AlmaLinux:8","fixed":["2.56.4-178.el8_10"],"introduced":["0"],"last_affected":[],"package":"glib2","purl":"pkg:rpm/almalinux/glib2","source":"ALSA-2026:66451"},{"ecosystem":"AlmaLinux:8","fixed":["2.56.4-178.el8_10"],"introduced":["0"],"last_affected":[],"package":"glib2-devel","purl":"pkg:rpm/almalinux/glib2-devel","source":"ALSA-2026:66451"},{"ecosystem":"AlmaLinux:8","fixed":["2.56.4-178.el8_10"],"introduced":["0"],"last_affected":[],"package":"glib2-doc","purl":"pkg:rpm/almalinux/glib2-doc","source":"ALSA-2026:66451"},{"ecosystem":"AlmaLinux:8","fixed":["2.56.4-178.el8_10"],"introduced":["0"],"last_affected":[],"package":"glib2-fam","purl":"pkg:rpm/almalinux/glib2-fam","source":"ALSA-2026:66451"},{"ecosystem":"AlmaLinux:8","fixed":["2.56.4-178.el8_10"],"introduced":["0"],"last_affected":[],"package":"glib2-static","purl":"pkg:rpm/almalinux/glib2-static","source":"ALSA-2026:66451"},{"ecosystem":"AlmaLinux:8","fixed":["2.56.4-178.el8_10"],"introduced":["0"],"last_affected":[],"package":"glib2-tests","purl":"pkg:rpm/almalinux/glib2-tests","source":"ALSA-2026:66451"},{"ecosystem":"AlmaLinux:9","fixed":["2.68.4-19.el9_8.10"],"introduced":["0"],"last_affected":[],"package":"glib2","purl":"pkg:rpm/almalinux/glib2","source":"ALSA-2026:64800"},{"ecosystem":"AlmaLinux:9","fixed":["2.68.4-19.el9_8.10"],"introduced":["0"],"last_affected":[],"package":"glib2-devel","purl":"pkg:rpm/almalinux/glib2-devel","source":"ALSA-2026:64800"},{"ecosystem":"AlmaLinux:9","fixed":["2.68.4-19.el9_8.10"],"introduced":["0"],"last_affected":[],"package":"glib2-doc","purl":"pkg:rpm/almalinux/glib2-doc","source":"ALSA-2026:64800"},{"ecosystem":"AlmaLinux:9","fixed":["2.68.4-19.el9_8.10"],"introduced":["0"],"last_affected":[],"package":"glib2-static","purl":"pkg:rpm/almalinux/glib2-static","source":"ALSA-2026:64800"},{"ecosystem":"AlmaLinux:9","fixed":["2.68.4-19.el9_8.10"],"introduced":["0"],"last_affected":[],"package":"glib2-tests","purl":"pkg:rpm/almalinux/glib2-tests","source":"ALSA-2026:64800"},{"ecosystem":"Red Hat:enterprise_linux:10.2","fixed":["0:2.80.4-12.el10_2.22"],"introduced":["0"],"last_affected":[],"package":"glib2","purl":"pkg:rpm/redhat/glib2","source":"RHSA-2026:64799"},{"ecosystem":"Red Hat:enterprise_linux:10.2","fixed":["0:2.80.4-12.el10_2.22"],"introduced":["0"],"last_affected":[],"package":"glib2-debuginfo","purl":"pkg:rpm/redhat/glib2-debuginfo","source":"RHSA-2026:64799"},{"ecosystem":"Red Hat:enterprise_linux:10.2","fixed":["0:2.80.4-12.el10_2.22"],"introduced":["0"],"last_affected":[],"package":"glib2-debugsource","purl":"pkg:rpm/redhat/glib2-debugsource","source":"RHSA-2026:64799"},{"ecosystem":"Red Hat:enterprise_linux:10.2","fixed":["0:2.80.4-12.el10_2.22"],"introduced":["0"],"last_affected":[],"package":"glib2-devel","purl":"pkg:rpm/redhat/glib2-devel","source":"RHSA-2026:64799"},{"ecosystem":"Red Hat:enterprise_linux:10.2","fixed":["0:2.80.4-12.el10_2.22"],"introduced":["0"],"last_affected":[],"package":"glib2-devel-debuginfo","purl":"pkg:rpm/redhat/glib2-devel-debuginfo","source":"RHSA-2026:64799"},{"ecosystem":"Red Hat:enterprise_linux:10.2","fixed":["0:2.80.4-12.el10_2.22"],"introduced":["0"],"last_affected":[],"package":"glib2-doc","purl":"pkg:rpm/redhat/glib2-doc","source":"RHSA-2026:64799"},{"ecosystem":"Red Hat:enterprise_linux:10.2","fixed":["0:2.80.4-12.el10_2.22"],"introduced":["0"],"last_affected":[],"package":"glib2-static","purl":"pkg:rpm/redhat/glib2-static","source":"RHSA-2026:64799"},{"ecosystem":"Red Hat:enterprise_linux:10.2","fixed":["0:2.80.4-12.el10_2.22"],"introduced":["0"],"last_affected":[],"package":"glib2-tests","purl":"pkg:rpm/redhat/glib2-tests","source":"RHSA-2026:64799"},{"ecosystem":"Red Hat:enterprise_linux:10.2","fixed":["0:2.80.4-12.el10_2.22"],"introduced":["0"],"last_affected":[],"package":"glib2-tests-debuginfo","purl":"pkg:rpm/redhat/glib2-tests-debuginfo","source":"RHSA-2026:64799"},{"ecosystem":"Red Hat:enterprise_linux:8::baseos","fixed":["0:2.56.4-178.el8_10"],"introduced":["0"],"last_affected":[],"package":"glib2","purl":"pkg:rpm/redhat/glib2","source":"RHSA-2026:66451"},{"ecosystem":"Red Hat:enterprise_linux:8::baseos","fixed":["0:2.56.4-178.el8_10"],"introduced":["0"],"last_affected":[],"package":"glib2-debuginfo","purl":"pkg:rpm/redhat/glib2-debuginfo","source":"RHSA-2026:66451"},{"ecosystem":"Red Hat:enterprise_linux:8::baseos","fixed":["0:2.56.4-178.el8_10"],"introduced":["0"],"last_affected":[],"package":"glib2-debugsource","purl":"pkg:rpm/redhat/glib2-debugsource","source":"RHSA-2026:66451"},{"ecosystem":"Red Hat:enterprise_linux:8::baseos","fixed":["0:2.56.4-178.el8_10"],"introduced":["0"],"last_affected":[],"package":"glib2-devel","purl":"pkg:rpm/redhat/glib2-devel","source":"RHSA-2026:66451"},{"ecosystem":"Red Hat:enterprise_linux:8::baseos","fixed":["0:2.56.4-178.el8_10"],"introduced":["0"],"last_affected":[],"package":"glib2-devel-debuginfo","purl":"pkg:rpm/redhat/glib2-devel-debuginfo","source":"RHSA-2026:66451"},{"ecosystem":"Red Hat:enterprise_linux:8::baseos","fixed":["0:2.56.4-178.el8_10"],"introduced":["0"],"last_affected":[],"package":"glib2-fam","purl":"pkg:rpm/redhat/glib2-fam","source":"RHSA-2026:66451"},{"ecosystem":"Red Hat:enterprise_linux:8::baseos","fixed":["0:2.56.4-178.el8_10"],"introduced":["0"],"last_affected":[],"package":"glib2-fam-debuginfo","purl":"pkg:rpm/redhat/glib2-fam-debuginfo","source":"RHSA-2026:66451"},{"ecosystem":"Red Hat:enterprise_linux:8::baseos","fixed":["0:2.56.4-178.el8_10"],"introduced":["0"],"last_affected":[],"package":"glib2-tests","purl":"pkg:rpm/redhat/glib2-tests","source":"RHSA-2026:66451"},{"ecosystem":"Red Hat:enterprise_linux:8::baseos","fixed":["0:2.56.4-178.el8_10"],"introduced":["0"],"last_affected":[],"package":"glib2-tests-debuginfo","purl":"pkg:rpm/redhat/glib2-tests-debuginfo","source":"RHSA-2026:66451"},{"ecosystem":"Red Hat:enterprise_linux:8::crb","fixed":["0:2.56.4-178.el8_10"],"introduced":["0"],"last_affected":[],"package":"glib2-debuginfo","purl":"pkg:rpm/redhat/glib2-debuginfo","source":"RHSA-2026:66451"},{"ecosystem":"Red Hat:enterprise_linux:8::crb","fixed":["0:2.56.4-178.el8_10"],"introduced":["0"],"last_affected":[],"package":"glib2-debugsource","purl":"pkg:rpm/redhat/glib2-debugsource","source":"RHSA-2026:66451"},{"ecosystem":"Red Hat:enterprise_linux:8::crb","fixed":["0:2.56.4-178.el8_10"],"introduced":["0"],"last_affected":[],"package":"glib2-devel-debuginfo","purl":"pkg:rpm/redhat/glib2-devel-debuginfo","source":"RHSA-2026:66451"},{"ecosystem":"Red Hat:enterprise_linux:8::crb","fixed":["0:2.56.4-178.el8_10"],"introduced":["0"],"last_affected":[],"package":"glib2-doc","purl":"pkg:rpm/redhat/glib2-doc","source":"RHSA-2026:66451"},{"ecosystem":"Red Hat:enterprise_linux:8::crb","fixed":["0:2.56.4-178.el8_10"],"introduced":["0"],"last_affected":[],"package":"glib2-fam-debuginfo","purl":"pkg:rpm/redhat/glib2-fam-debuginfo","source":"RHSA-2026:66451"},{"ecosystem":"Red Hat:enterprise_linux:8::crb","fixed":["0:2.56.4-178.el8_10"],"introduced":["0"],"last_affected":[],"package":"glib2-static","purl":"pkg:rpm/redhat/glib2-static","source":"RHSA-2026:66451"}],"prev":{"headline":"@fastify/http-proxy vulnerable to prefix escape via URL-encoded characters","id":"CVE-2026-16117"},"products":["Cert Manager support for Red Hat OpenShift release 1.17","Cert Manager support for Red Hat OpenShift release 1.18","Cert Manager support for Red Hat OpenShift release 1.20","Red Hat AI Inference Server 3.2","Red Hat AI Inference Server 3.5","Red Hat Cost Management On-Premise 1","Red Hat Enterprise Linux 10","Red Hat Enterprise Linux 10.0 Extended Update Support","Red Hat Enterprise Linux 7","Red Hat Enterprise Linux 8","Red Hat Enterprise Linux 9","Red Hat Enterprise Linux 9.2 Update Services for SAP Solutions","Red Hat Enterprise Linux 9.4 Update Services for SAP Solutions","Red Hat Enterprise Linux 9.6 Extended Update Support","Red Hat Enterprise Linux AI 3.5","Red Hat OpenShift AI 3.0","Red Hat OpenShift AI 3.2","Red Hat OpenShift AI 3.3","Red Hat OpenShift AI 3.4","Red Hat OpenShift AI 3.5","Red Hat Update Infrastructure 5","xdgmime"],"published":"2026-07-17","related":[],"sources":[{"class":"attribution","licence":"MIT","name":"AlmaLinux","prefix":"ALSA"},{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"Red Hat","prefix":"RHSA"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"poc","technical_impact":"partial"},"state":"PUBLISHED","updated":"2026-10-29","vendors":["Red Hat","xdg"]},"summary":"Heap-based buffer overflow in xdgmime allows attackers to cause crashes or execute code via malicious MIME magic files.","url":"https://insights.sbomify.com/CVE-2026-16118/"}