yara — security advisory
A reachable assertion vulnerability exists in YARA 4.5.8 when loading crafted .yrc compiled rule files. An attacker can provide a malicious file with an invalid arena configuration (num_buffers=0) that triggers an assertion failure in yr_arena_get_ptr(), causing the application to terminate.
- Products
- yara
- Affected versions
- 3.4.0+dfsg-2, 3.4.0+dfsg-2build1, 3.4.0+dfsg-2ubuntu0.1~esm1, 3.6.3+dfsg-1ubuntu1, 3.7.1-1ubuntu1, 3.7.1-1ubuntu2, 3.7.1-1ubuntu2+esm1, 3.9.0-1, 3.9.0-1ubuntu0.1~esm1, 4.1.0-1, 4.1.3-1, 4.1.3-1build1, 4.1.3-1ubuntu0.1~esm1, 4.3.2-1, 4.4.0-1, 4.5.0-1, 4.5.0-1build1, 4.5.0-1build2, 4.5.4-1, 4.5.5-1, 4.5.7-1, 4.5.8-1
- Fixed versions
- Not specified
- CVEs
- CVE-2026-88341
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 31 Oct 2026, 03:30 UTC · Revision 1
Source evidence
A reachable assertion vulnerability exists in YARA 4.5.8 when loading crafted .yrc compiled rule files. An attacker can provide a malicious file with an invalid arena configuration (num_buffers=0) that triggers an assertion failure in yr_arena_get_ptr(), causing the application to terminate.
osv:UBUNTU-CVE-2026-88341
yara
Fixed versions: Not specified
yara
Fixed versions: Not specified
yara
Fixed versions: Not specified
yara
Fixed versions: Not specified
yara
Fixed versions: Not specified
yara
Fixed versions: Not specified
yara
Fixed versions: Not specified
Complete source record
{
"id": "3b1be76da1683b7b7e5b07f7de6532361d006ee12a8bedbae59156853188a1ac",
"url": "https://osv.dev/vulnerability/UBUNTU-CVE-2026-88341",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "UBUNTU-CVE-2026-88341",
"summary": "A reachable assertion vulnerability exists in YARA 4.5.8 when loading crafted .yrc compiled rule files. An attacker can provide a malicious file with an invalid arena configuration (num_buffers=0) that triggers an assertion failure in yr_arena_get_ptr(), causing the application to terminate.",
"evidence": "osv:UBUNTU-CVE-2026-88341",
"products": [
{
"name": {
"value": "yara",
"evidence": "/affected/0/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "3.4.0+dfsg-2",
"evidence": "/affected/0/versions"
},
{
"value": "3.4.0+dfsg-2build1",
"evidence": "/affected/0/versions"
},
{
"value": "3.4.0+dfsg-2ubuntu0.1~esm1",
"evidence": "/affected/0/versions"
}
]
},
{
"name": {
"value": "yara",
"evidence": "/affected/1/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "3.6.3+dfsg-1ubuntu1",
"evidence": "/affected/1/versions"
},
{
"value": "3.7.1-1ubuntu1",
"evidence": "/affected/1/versions"
},
{
"value": "3.7.1-1ubuntu2",
"evidence": "/affected/1/versions"
},
{
"value": "3.7.1-1ubuntu2+esm1",
"evidence": "/affected/1/versions"
}
]
},
{
"name": {
"value": "yara",
"evidence": "/affected/2/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "3.9.0-1",
"evidence": "/affected/2/versions"
},
{
"value": "3.9.0-1ubuntu0.1~esm1",
"evidence": "/affected/2/versions"
}
]
},
{
"name": {
"value": "yara",
"evidence": "/affected/3/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "4.1.0-1",
"evidence": "/affected/3/versions"
},
{
"value": "4.1.3-1",
"evidence": "/affected/3/versions"
},
{
"value": "4.1.3-1build1",
"evidence": "/affected/3/versions"
},
{
"value": "4.1.3-1ubuntu0.1~esm1",
"evidence": "/affected/3/versions"
}
]
},
{
"name": {
"value": "yara",
"evidence": "/affected/4/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "4.3.2-1",
"evidence": "/affected/4/versions"
},
{
"value": "4.4.0-1",
"evidence": "/affected/4/versions"
},
{
"value": "4.5.0-1",
"evidence": "/affected/4/versions"
},
{
"value": "4.5.0-1build1",
"evidence": "/affected/4/versions"
},
{
"value": "4.5.0-1build2",
"evidence": "/affected/4/versions"
}
]
},
{
"name": {
"value": "yara",
"evidence": "/affected/5/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "4.5.5-1",
"evidence": "/affected/5/versions"
},
{
"value": "4.5.7-1",
"evidence": "/affected/5/versions"
},
{
"value": "4.5.8-1",
"evidence": "/affected/5/versions"
}
]
},
{
"name": {
"value": "yara",
"evidence": "/affected/6/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "4.5.4-1",
"evidence": "/affected/6/versions"
},
{
"value": "4.5.5-1",
"evidence": "/affected/6/versions"
}
]
}
],
"severity": "medium",
"structured": {
"id": "UBUNTU-CVE-2026-88341",
"aliases": [
"UBUNTU-CVE-2026-88341"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H"
},
{
"type": "Ubuntu",
"score": "medium"
}
],
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "yara",
"purl": "pkg:deb/ubuntu/yara?arch=source&distro=esm-apps%2Fxenial",
"ecosystem": "Ubuntu:Pro:16.04:LTS"
},
"versions": [
"3.4.0+dfsg-2",
"3.4.0+dfsg-2build1",
"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-88341.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "libyara3",
"binary_version": "3.4.0+dfsg-2ubuntu0.1~esm1"
},
{
"binary_name": "python-yara",
"binary_version": "3.4.0+dfsg-2ubuntu0.1~esm1"
},
{
"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"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "yara",
"purl": "pkg:deb/ubuntu/yara?arch=source&distro=esm-apps%2Fbionic",
"ecosystem": "Ubuntu:Pro:18.04:LTS"
},
"versions": [
"3.6.3+dfsg-1ubuntu1",
"3.7.1-1ubuntu1",
"3.7.1-1ubuntu2",
"3.7.1-1ubuntu2+esm1"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-88341.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "libyara3",
"binary_version": "3.7.1-1ubuntu2+esm1"
},
{
"binary_name": "yara",
"binary_version": "3.7.1-1ubuntu2+esm1"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "yara",
"purl": "pkg:deb/ubuntu/yara?arch=source&distro=esm-apps%2Ffocal",
"ecosystem": "Ubuntu:Pro:20.04:LTS"
},
"versions": [
"3.9.0-1",
"3.9.0-1ubuntu0.1~esm1"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-88341.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "libyara3",
"binary_version": "3.9.0-1ubuntu0.1~esm1"
},
{
"binary_name": "yara",
"binary_version": "3.9.0-1ubuntu0.1~esm1"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "yara",
"purl": "pkg:deb/ubuntu/yara?arch=source&distro=esm-apps%2Fjammy",
"ecosystem": "Ubuntu:Pro:22.04:LTS"
},
"versions": [
"4.1.0-1",
"4.1.3-1",
"4.1.3-1build1",
"4.1.3-1ubuntu0.1~esm1"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-88341.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "libyara8",
"binary_version": "4.1.3-1ubuntu0.1~esm1"
},
{
"binary_name": "yara",
"binary_version": "4.1.3-1ubuntu0.1~esm1"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "yara",
"purl": "pkg:deb/ubuntu/yara?arch=source&distro=noble",
"ecosystem": "Ubuntu:24.04:LTS"
},
"versions": [
"4.3.2-1",
"4.4.0-1",
"4.5.0-1",
"4.5.0-1build1",
"4.5.0-1build2"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-88341.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "libyara10",
"binary_version": "4.5.0-1build2"
},
{
"binary_name": "yara",
"binary_version": "4.5.0-1build2"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "yara",
"purl": "pkg:deb/ubuntu/yara?arch=source&distro=stonking",
"ecosystem": "Ubuntu:26.10"
},
"versions": [
"4.5.5-1",
"4.5.7-1",
"4.5.8-1"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-88341.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "libyara10",
"binary_version": "4.5.8-1"
},
{
"binary_name": "yara",
"binary_version": "4.5.8-1"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "yara",
"purl": "pkg:deb/ubuntu/yara?arch=source&distro=resolute",
"ecosystem": "Ubuntu:26.04:LTS"
},
"versions": [
"4.5.4-1",
"4.5.5-1"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-88341.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "libyara10",
"binary_version": "4.5.5-1"
},
{
"binary_name": "yara",
"binary_version": "4.5.5-1"
}
]
}
}
],
"modified": "2026-10-17T13:01:15.789344267Z",
"provider": "osv",
"upstream": [
"CVE-2026-88341"
],
"references": [
"https://ubuntu.com/security/CVE-2026-88341",
"https://www.cve.org/CVERecord?id=CVE-2026-88341",
"https://github.com/VirusTotal/yara/issues/2238",
"https://github.com/NOUIY/yara/commit/0cdff36723cd260243bb2b330bda555693354760"
]
},
"related_cves": [
{
"value": "CVE-2026-88341",
"evidence": "/upstream"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 361423,
"published_at": "2026-09-22T20:17:00+00:00"
}