{"id":"UBUNTU-CVE-2026-88340","details":"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.","modified":"2026-09-24T02:01:05.660479550Z","published":"2026-09-22T20:17:00Z","upstream":["CVE-2026-88340"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2026-88340"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2026-88340"},{"type":"REPORT","url":"https://github.com/VirusTotal/yara/issues/2239"},{"type":"REPORT","url":"https://github.com/VirusTotal/yara/pull/2244"},{"type":"REPORT","url":"https://github.com/VirusTotal/yara/pull/2244/changes/8d7bef643ee5fa2381e235bcedf80170a6b00d3b"}],"affected":[{"package":{"name":"yara","ecosystem":"Ubuntu:Pro:16.04:LTS","purl":"pkg:deb/ubuntu/yara?arch=source&distro=esm-apps%2Fxenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["3.4.0+dfsg-2","3.4.0+dfsg-2build1","3.4.0+dfsg-2ubuntu0.1~esm1"],"ecosystem_specific":{"binaries":[{"binary_name":"libyara3","binary_version":"3.4.0+dfsg-2ubuntu0.1~esm1"},{"binary_version":"3.4.0+dfsg-2ubuntu0.1~esm1","binary_name":"python-yara"},{"binary_name":"python3-yara","binary_version":"3.4.0+dfsg-2ubuntu0.1~esm1"},{"binary_name":"yara","binary_version":"3.4.0+dfsg-2ubuntu0.1~esm1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-88340.json"}},{"package":{"name":"yara","ecosystem":"Ubuntu:Pro:18.04:LTS","purl":"pkg:deb/ubuntu/yara?arch=source&distro=esm-apps%2Fbionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["3.6.3+dfsg-1ubuntu1","3.7.1-1ubuntu1","3.7.1-1ubuntu2","3.7.1-1ubuntu2+esm1"],"ecosystem_specific":{"binaries":[{"binary_name":"libyara3","binary_version":"3.7.1-1ubuntu2+esm1"},{"binary_name":"yara","binary_version":"3.7.1-1ubuntu2+esm1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-88340.json"}},{"package":{"name":"yara","ecosystem":"Ubuntu:Pro:20.04:LTS","purl":"pkg:deb/ubuntu/yara?arch=source&distro=esm-apps%2Ffocal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["3.9.0-1","3.9.0-1ubuntu0.1~esm1"],"ecosystem_specific":{"binaries":[{"binary_version":"3.9.0-1ubuntu0.1~esm1","binary_name":"libyara3"},{"binary_name":"yara","binary_version":"3.9.0-1ubuntu0.1~esm1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-88340.json"}},{"package":{"name":"yara","ecosystem":"Ubuntu:Pro:22.04:LTS","purl":"pkg:deb/ubuntu/yara?arch=source&distro=esm-apps%2Fjammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["4.1.0-1","4.1.3-1","4.1.3-1build1","4.1.3-1ubuntu0.1~esm1"],"ecosystem_specific":{"binaries":[{"binary_name":"libyara8","binary_version":"4.1.3-1ubuntu0.1~esm1"},{"binary_version":"4.1.3-1ubuntu0.1~esm1","binary_name":"yara"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-88340.json"}},{"package":{"name":"yara","ecosystem":"Ubuntu:24.04:LTS","purl":"pkg:deb/ubuntu/yara?arch=source&distro=noble"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["4.3.2-1","4.4.0-1","4.5.0-1","4.5.0-1build1","4.5.0-1build2"],"ecosystem_specific":{"binaries":[{"binary_name":"libyara10","binary_version":"4.5.0-1build2"},{"binary_name":"yara","binary_version":"4.5.0-1build2"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-88340.json"}},{"package":{"name":"yara","ecosystem":"Ubuntu:26.04:LTS","purl":"pkg:deb/ubuntu/yara?arch=source&distro=resolute"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["4.5.4-1","4.5.5-1"],"ecosystem_specific":{"binaries":[{"binary_version":"4.5.5-1","binary_name":"libyara10"},{"binary_version":"4.5.5-1","binary_name":"yara"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-88340.json"}}],"schema_version":"1.9.0","severity":[{"type":"Ubuntu","score":"medium"}]}