MediumFix available
yara — security advisory
In YARA 3.8.1, bytecode in a specially crafted compiled rule can read uninitialized data from VM scratch memory in libyara/exec.c. This can allow attackers to discover addresses in the real stack (not the YARA virtual stack).
- Products
- yara
- Affected versions
- Not specified
- Fixed versions
- 3.8.1-2
- CVEs
- CVE-2018-19974
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 1 Nov 2026, 00:48 UTC · Revision 1
Source evidence
In YARA 3.8.1, bytecode in a specially crafted compiled rule can read uninitialized data from VM scratch memory in libyara/exec.c. This can allow attackers to discover addresses in the real stack (not the YARA virtual stack).
osv:DEBIAN-CVE-2018-19974
yara
Fixed versions: 3.8.1-2
yara
Fixed versions: 3.8.1-2
yara
Fixed versions: 3.8.1-2
Complete source record
{
"id": "c9ce953da78a649233b4fd79c25d14915c1412ea43611973bf51d2c8629b7f0d",
"url": "https://osv.dev/vulnerability/DEBIAN-CVE-2018-19974",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "DEBIAN-CVE-2018-19974",
"summary": "In YARA 3.8.1, bytecode in a specially crafted compiled rule can read uninitialized data from VM scratch memory in libyara/exec.c. This can allow attackers to discover addresses in the real stack (not the YARA virtual stack).",
"evidence": "osv:DEBIAN-CVE-2018-19974",
"products": [
{
"name": {
"value": "yara",
"evidence": "/affected/0/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "3.8.1-2",
"evidence": "/affected/0/ranges"
}
],
"affected_versions": []
},
{
"name": {
"value": "yara",
"evidence": "/affected/1/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "3.8.1-2",
"evidence": "/affected/1/ranges"
}
],
"affected_versions": []
},
{
"name": {
"value": "yara",
"evidence": "/affected/2/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "3.8.1-2",
"evidence": "/affected/2/ranges"
}
],
"affected_versions": []
}
],
"severity": "medium",
"structured": {
"id": "DEBIAN-CVE-2018-19974",
"aliases": [
"DEBIAN-CVE-2018-19974"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N"
}
],
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "3.8.1-2"
}
]
}
],
"package": {
"name": "yara",
"purl": "pkg:deb/debian/yara?arch=source&distro=bookworm",
"ecosystem": "Debian:12"
},
"database_specific": {
"source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2018-19974.json"
},
"ecosystem_specific": {
"urgency": "not yet assigned"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "3.8.1-2"
}
]
}
],
"package": {
"name": "yara",
"purl": "pkg:deb/debian/yara?arch=source&distro=trixie",
"ecosystem": "Debian:13"
},
"database_specific": {
"source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2018-19974.json"
},
"ecosystem_specific": {
"urgency": "not yet assigned"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "3.8.1-2"
}
]
}
],
"package": {
"name": "yara",
"purl": "pkg:deb/debian/yara?arch=source&distro=forky",
"ecosystem": "Debian:14"
},
"database_specific": {
"source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2018-19974.json"
},
"ecosystem_specific": {
"urgency": "not yet assigned"
}
}
],
"modified": "2026-10-23T18:03:47.777988837Z",
"provider": "osv",
"upstream": [
"CVE-2018-19974"
],
"references": [
"https://security-tracker.debian.org/tracker/CVE-2018-19974"
]
},
"related_cves": [
{
"value": "CVE-2018-19974",
"evidence": "/upstream"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 422264,
"published_at": "2018-12-17T19:29:01.08+00:00"
}