High
Security advisory
The yr_arena_write_data function in YARA 3.6.1 allows remote attackers to cause a denial of service (buffer over-read and application crash) or obtain sensitive information from process memory via a crafted file that is mishandled in the yr_re_fast_exec function in libyara/re.c and the _yr_scan_match_callback function in libyara/scan.c.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2017-9465
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 31 Oct 2026, 12:16 UTC · Revision 1
Source evidence
The yr_arena_write_data function in YARA 3.6.1 allows remote attackers to cause a denial of service (buffer over-read and application crash) or obtain sensitive information from process memory via a crafted file that is mishandled in the yr_re_fast_exec function in libyara/re.c and the _yr_scan_match_callback function in libyara/scan.c.
osv:CVE-2017-9465
Complete source record
{
"id": "2cc2063d5d4f87a6152b13826c05ed3ea9dbca676411e2ddba06d98971d17661",
"url": "https://osv.dev/vulnerability/CVE-2017-9465",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "CVE-2017-9465",
"summary": "The yr_arena_write_data function in YARA 3.6.1 allows remote attackers to cause a denial of service (buffer over-read and application crash) or obtain sensitive information from process memory via a crafted file that is mishandled in the yr_re_fast_exec function in libyara/re.c and the _yr_scan_match_callback function in libyara/scan.c.",
"evidence": "osv:CVE-2017-9465",
"products": [],
"severity": "high",
"structured": {
"id": "CVE-2017-9465",
"aliases": [
"CVE-2017-9465"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:H"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/virustotal/yara",
"type": "GIT",
"events": [
{
"introduced": "76cae33466f715fb3004082f00e3c06df028a1f8"
},
{
"last_affected": "76cae33466f715fb3004082f00e3c06df028a1f8"
},
{
"fixed": "992480c30f75943e9cd6245bb2015c7737f9b661"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:virustotal:yara:3.6.1:*:*:*:*:*:*:*",
"range": [
{
"introduced": "3.6.1"
},
{
"last_affected": "3.6.1"
}
],
"source": "CPE_STRING"
},
{
"range": [
{
"fixed": "992480c30f75943e9cd6245bb2015c7737f9b661"
}
],
"source": "REFERENCES_COMMIT"
}
]
}
}
],
"versions": [
"3.6.1",
"v3.6.1"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2017-9465.json",
"vanir_signatures": [
{
"id": "CVE-2017-9465-1fffc0bc",
"digest": {
"threshold": 0.9,
"line_hashes": [
"252996570414779086210087909001158397802",
"261181511046233318281731376336113655141",
"185667405258648800816523469620654116272"
]
},
"source": "https://github.com/virustotal/yara/commit/992480c30f75943e9cd6245bb2015c7737f9b661",
"target": {
"file": "libyara/scan.c"
},
"deprecated": false,
"signature_type": "Line",
"signature_version": "v1"
},
{
"id": "CVE-2017-9465-28e62c69",
"digest": {
"length": 1543,
"function_hash": "190220911575372943830684449426476716685"
},
"source": "https://github.com/virustotal/yara/commit/992480c30f75943e9cd6245bb2015c7737f9b661",
"target": {
"file": "libyara/scan.c",
"function": "_yr_scan_match_callback"
},
"deprecated": false,
"signature_type": "Function",
"signature_version": "v1"
},
{
"id": "CVE-2017-9465-3eae38c7",
"digest": {
"length": 2080,
"function_hash": "218722524166379495420155728076727896018"
},
"source": "https://github.com/virustotal/yara/commit/992480c30f75943e9cd6245bb2015c7737f9b661",
"target": {
"file": "libyara/re.c",
"function": "yr_re_fast_exec"
},
"deprecated": false,
"signature_type": "Function",
"signature_version": "v1"
},
{
"id": "CVE-2017-9465-8bf4ddcd",
"digest": {
"threshold": 0.9,
"line_hashes": [
"65748931783295745936784776389354996336",
"246851929234363948597532778460422286229",
"260828838973996272821542977455737067581",
"113800155931700414934196972369092325044",
"256514620458886774406778854107372161521",
"209393066111306728356378236144028102631",
"202636849054021355813057677063838077607",
"243961396931324914856459043778367457788",
"130967971306365082989099645444723723985",
"328624578045068155561219552824340821315"
]
},
"source": "https://github.com/virustotal/yara/commit/992480c30f75943e9cd6245bb2015c7737f9b661",
"target": {
"file": "libyara/re.c"
},
"deprecated": false,
"signature_type": "Line",
"signature_version": "v1"
}
],
"vanir_signatures_modified": "2026-10-20T13:25:00Z"
}
}
],
"modified": "2026-10-20T13:25:00.103365685Z",
"provider": "osv",
"references": [
"https://github.com/VirusTotal/yara/commit/992480c30f75943e9cd6245bb2015c7737f9b661",
"https://github.com/VirusTotal/yara/issues/678"
],
"provider_metadata": {}
},
"related_cves": [
{
"value": "CVE-2017-9465",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 387647,
"published_at": "2017-06-06T21:29:00.453+00:00"
}