{"id":"CVE-2026-88340","published":"2026-09-22T20:17:10.250","lastModified":"2026-09-25T20:17:47.427","description":"An invalid pointer release vulnerability exists in YARA 4.5.8 during deserialization of compiled .yrc rule files. The vulnerability is caused by insufficient validation of external-variable pointers, which may lead to invalid free in yr_rules_destroy() or wild pointer access in yr_object_create(). An attacker can provide a specially crafted .yrc file that causes memory corruption and application crash.","cvssScore":7.6,"cvssSeverity":"HIGH","cvssVector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:H","cwes":["CWE-763"],"vendors":[],"products":[],"references":[{"url":"https://github.com/VirusTotal/yara/issues/2239","tags":[]},{"url":"https://github.com/VirusTotal/yara/pull/2244","tags":[]},{"url":"https://github.com/VirusTotal/yara/pull/2244/changes/8d7bef643ee5fa2381e235bcedf80170a6b00d3b","tags":[]}],"exploitRefs":[{"url":"https://github.com/VirusTotal/yara/issues/2239","tags":[]},{"url":"https://github.com/VirusTotal/yara/pull/2244","tags":[]},{"url":"https://github.com/VirusTotal/yara/pull/2244/changes/8d7bef643ee5fa2381e235bcedf80170a6b00d3b","tags":[]}],"hasPoc":true,"ai":{"summary":"YARA 4.5.8 contains a memory corruption vulnerability in its compiled rule file deserialization process, where invalid pointer releases can occur during rule destruction or object creation, potentially leading to application crashes or memory corruption when processing specially crafted .yrc files.","exploitability":"Exploitation is moderately difficult as it requires an attacker to craft a malicious .yrc file and convince a target system to process it, typically through a web application or service that uses YARA for scanning with elevated privileges.","blast_radius":"The vulnerability could impact any system running YARA 4.5.8 that processes untrusted compiled rule files, particularly those used in security tools, malware analysis platforms, or automated scanning systems.","remediation":"Upgrade to YARA 4.5.9 or later to address the invalid pointer release vulnerability in compiled rule file deserialization.","detection":"No reliable host or network indicator is derivable from the published description.","tags":["memory-corruption","yara","deserialization"],"model":"garnet-coder","analyzedAt":"2026-10-12T08:54:51.008Z"}}