CVE Professor
›
Back
CVE-2026-16118

CVE-2026-16118 — CWE-122

HIGH CVSS 7.1 NVD

CVE-2026-16118 is a HIGH severity Memory Corruption / Buffer Overflow vulnerability (CWE-122) (CVSS 7.1/10) affecting affected software system. Technical vector analysis shows that an attacker can exploit this flaw via local access (AV:L) without authentication (PR:N) requiring user interaction, causing high-impact service disruption (A:H).

📄 Official NVD / MITRE Original Record Text

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.

Published 17.07.2026
ISO Date 2026-07-17
CVSS Version v3.1
Source NVD
CVSS v3.1 Vector Metrics
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:H
Attack Vector Local AV:L
Attack Complexity Low AC:L
Privileges Req. None PR:N
User Interaction Required UI:R
Scope Unchanged S:U
Confidentiality None C:N
Integrity High I:H
Availability High A:H
AI Security Analysis & Remediation
🤖 Generating Deep AI Security Analysis…
Analyzing CVSS vector & CWE weakness structure…

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
CVE-2026-16118
CVSS 7.1/10 · HIGH · 17.07.2026
CWE: CWE-122
Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:H
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

🎯 WHAT IS THIS VULNERABILITY?
Buffer Overflow / Memory Corruption
Summary: 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 perfo…

⚡ ATTACK CHAIN
1. Fuzz with Boofuzz/AFL++ to find crash.
2. Find offset: pattern_create→crash→pattern_offset EIP
3. Control EIP/RIP, bypass NX with ROP chains.
4. ASLR bypass via info leak or brute force.
5. Metasploit: search CVE-XXXX; use exploit/...; run

🔧 Tools: GDB+PEDA/pwndbg, ROPgadget, pwntools, Metasploit, AFL++
🗺️ MITRE ATT&CK: T1203 (Exploitation for Client Execution), T1068

🌍 REAL WORLD IMPACT
Data can be modified or deleted; service can be completely taken down.

🛡️ REMEDIATION
→ Apply the vendor-released patch immediately.
→ Verify ASLR/NX/Stack Canary are active.
→ Add WAF rule, create IDS alert for anomalous traffic.

⚠️ URGENCY
⚠️ Planned maintenance (2 weeks).

────────────────────────────────────────
[Kural Tabanlı Otomatik Güvenlik Analizi]

Target Reconnaissance Queries (FOFA & Shodan)
CVSS Score
7.1 / 10 · CVSS HIGH
Weakness Types (CWE)
CWE-122
Related CVEs
5.5
CVE-2026-130442
Multiple protocol dissector crashes in 4.6.0 to 4.6.9 and 4.4.0 to 4.4.19 allows denial of service
5.5
CVE-2026-130454
IEEE 1905 protocol dissector crash in 4.6.0 to 4.6.9 and 4.4.0 to 4.4.19 allows denial of service
5.5
CVE-2026-130468
NBAP protocol dissector crash in 4.6.0 to 4.6.9 and 4.4.0 to 4.4.19 allows denial of service
8.8
CVE-2026-62257
HTSlib is a library for reading and writing bioinformatics file formats. Prior to 1.21.2, 1.22.3, 1.23.2, and
8.8
CVE-2026-63390
HTSlib is a library for reading and writing bioinformatics file formats. Prior to 1.21.2, 1.22.3, 1.23.2, and
7.4
CVE-2026-132825
Ruby before 3.3.14, 3.4.13, and 4.0.10 has a heap-based buffer overflow during case conversion. One byte can b