CVE-2017-8929
published 2017-05-14CVE-2017-8929: The sized_string_cmp function in libyara/sizedstr.c in YARA 3.5.0 allows remote attackers to cause a denial of service (use-after-free and application crash)…
PriorityP430high7.5CVSS 3.0
AVNACLPRNUINSUCNINAH
EPSS
1.83%
76.4th percentile
The sized_string_cmp function in libyara/sizedstr.c in YARA 3.5.0 allows remote attackers to cause a denial of service (use-after-free and application crash) via a crafted rule.
Affected
9 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| debian | yara | < yara 3.6.0+dfsg-1 (bookworm) | yara 3.6.0+dfsg-1 (bookworm) |
| virustotal | yara | — | — |
| virustotal | yara | >= 0 < 3.6.0+dfsg-1 | 3.6.0+dfsg-1 |
| virustotal | yara | >= 0 < 3.6.0+dfsg-1 | 3.6.0+dfsg-1 |
| virustotal | yara | >= 0 < 3.6.0+dfsg-1 | 3.6.0+dfsg-1 |
| virustotal | yara | >= 0 < 3.6.0+dfsg-1 | 3.6.0+dfsg-1 |
| virustotal | yara | >= 0 < 3.4.0+dfsg-2ubuntu0.1~esm1 | 3.4.0+dfsg-2ubuntu0.1~esm1 |
| virustotal | yara | >= 0 < 3.7.1-1ubuntu2+esm1 | 3.7.1-1ubuntu2+esm1 |
| virustotal | yara | >= 0 < 3.9.0-1ubuntu0.1~esm1 | 3.9.0-1ubuntu0.1~esm1 |
CVSS provenance
nvdv3.07.5HIGHCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
nvdv2.05.0MEDIUMAV:N/AC:L/Au:N/C:N/I:N/A:P
osv7.5HIGH
vendor_debian7.5HIGH
vendor_ubuntu7.5HIGH
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
OSV
yara vulnerabilities
osv·2026-03-09·CVSS 7.5
CVE-2016-10211 [HIGH] yara vulnerabilities
yara vulnerabilities
Kamil Frankowicz discovered that a number of YARA's functions
generated memory exceptions when processing specially crafted
rules or files. A remote attacker could possibly use these
issues to cause YARA to crash, resulting in a denial of
service. These issues only affected Ubuntu 16.04 LTS.
(CVE-2016-10211, CVE-2017-5923, CVE-2017-5924, CVE-2017-8294,
CVE-2017-8929, CVE-2017-9304, CVE-2017-9438, CVE-2017-9465)
Jurriaan Bremer discovered that YARA's yr_object_array_set_limit()
function could result in a heap buffer overflow when scanning
specially crafted .NET files. A remote attacker could possibly use
this issue to cause YARA to crash, resulting in a denial of service.
This issue only affected Ubuntu 16.04 LTS. (CVE-2017-11328)
It was discovered that YARA's yr_exe
GHSA
GHSA-xxqj-m8p7-rjq7: The sized_string_cmp function in libyara/sizedstr
ghsa_unreviewed·2022-05-17
CVE-2017-8929 [HIGH] CWE-416 GHSA-xxqj-m8p7-rjq7: The sized_string_cmp function in libyara/sizedstr
The sized_string_cmp function in libyara/sizedstr.c in YARA 3.5.0 allows remote attackers to cause a denial of service (use-after-free and application crash) via a crafted rule.
OSV
CVE-2017-8929: The sized_string_cmp function in libyara/sizedstr
osv·2017-05-14·CVSS 7.5
CVE-2017-8929 [HIGH] CVE-2017-8929: The sized_string_cmp function in libyara/sizedstr
The sized_string_cmp function in libyara/sizedstr.c in YARA 3.5.0 allows remote attackers to cause a denial of service (use-after-free and application crash) via a crafted rule.
Ubuntu
YARA vulnerabilities
vendor_ubuntu·2026-03-09·CVSS 7.5
CVE-2017-9304 [HIGH] YARA vulnerabilities
Title: YARA vulnerabilities
Summary: Several security issues were fixed in YARA.
Kamil Frankowicz discovered that a number of YARA's functions
generated memory exceptions when processing specially crafted
rules or files. A remote attacker could possibly use these
issues to cause YARA to crash, resulting in a denial of
service. These issues only affected Ubuntu 16.04 LTS.
(CVE-2016-10211, CVE-2017-5923, CVE-2017-5924, CVE-2017-8294,
CVE-2017-8929, CVE-2017-9304, CVE-2017-9438, CVE-2017-9465)
Jurriaan Bremer discovered that YARA's yr_object_array_set_limit()
function could result in a heap buffer overflow when scanning
specially crafted .NET files. A remote attacker could possibly use
this issue to cause YARA to crash, resulting in a denial of service.
This issue only affected Ubuntu 16.0
Debian
CVE-2017-8929: yara - The sized_string_cmp function in libyara/sizedstr.c in YARA 3.5.0 allows remote ...
vendor_debian·2017·CVSS 7.5
CVE-2017-8929 [HIGH] CVE-2017-8929: yara - The sized_string_cmp function in libyara/sizedstr.c in YARA 3.5.0 allows remote ...
The sized_string_cmp function in libyara/sizedstr.c in YARA 3.5.0 allows remote attackers to cause a denial of service (use-after-free and application crash) via a crafted rule.
Scope: local
bookworm: resolved (fixed in 3.6.0+dfsg-1)
bullseye: resolved (fixed in 3.6.0+dfsg-1)
forky: resolved (fixed in 3.6.0+dfsg-1)
sid: resolved (fixed in 3.6.0+dfsg-1)
trixie: resolved (fixed in 3.6.0+dfsg-1)
No detection rules found.
No public exploits indexed.
Bugzilla
CVE-2017-8929 yara: Use-after-free in sized_string_cmp function
bugzilla·2017-05-16·CVSS 7.5
CVE-2017-8929 [HIGH] CVE-2017-8929 yara: Use-after-free in sized_string_cmp function
CVE-2017-8929 yara: Use-after-free in sized_string_cmp function
The sized_string_cmp function in libyara/sizedstr.c in YARA 3.5.0 allows attackers to cause a denial of service (use-after-free and application crash) via a crafted rule.
Upstream issue:
https://github.com/VirusTotal/yara/issues/658
Upstream patch:
https://github.com/VirusTotal/yara/commit/053e67e3ec81cc9268ce30eaf0d6663d8639ed1e
Discussion:
Created yara tracking bugs for this issue:
Affects: epel-all [bug 1451383]
Affects: fedora-all [bug 1451384]
---
Fixed in yara-3.6.0-1.fc26 yara-3.6.0-1.el7 yara-3.6.0-1.fc24 yara-3.6.0-1.fc25
Bugzilla
CVE-2017-8929 yara: Use-after-free in sized_string_cmp function [fedora-all]
bugzilla·2017-05-16·CVSS 7.5
CVE-2017-8929 [HIGH] CVE-2017-8929 yara: Use-after-free in sized_string_cmp function [fedora-all]
CVE-2017-8929 yara: Use-after-free in sized_string_cmp function [fedora-all]
This is an automatically created tracking bug! It was created to ensure
that one or more security vulnerabilities are fixed in affected versions
of fedora-all.
For comments that are specific to the vulnerability please use bugs filed
against the "Security Response" product referenced in the "Blocks" field.
For more information see:
http://fedoraproject.org/wiki/Security/TrackingBugs
When submitting as an update, use the fedpkg template provided in the next
comment(s). This will include the bug IDs of this tracking bug as well as
the relevant top-level CVE bugs.
Please also mention the CVE IDs being fixed in the RPM changelog and the
fedpkg commit message.
NOTE: this issue affects multiple supported versions
Bugzilla
CVE-2017-8929 yara: Use-after-free in sized_string_cmp function [epel-all]
bugzilla·2017-05-16·CVSS 7.5
CVE-2017-8929 [HIGH] CVE-2017-8929 yara: Use-after-free in sized_string_cmp function [epel-all]
CVE-2017-8929 yara: Use-after-free in sized_string_cmp function [epel-all]
This is an automatically created tracking bug! It was created to ensure
that one or more security vulnerabilities are fixed in affected versions
of epel-all.
For comments that are specific to the vulnerability please use bugs filed
against the "Security Response" product referenced in the "Blocks" field.
For more information see:
http://fedoraproject.org/wiki/Security/TrackingBugs
When submitting as an update, use the fedpkg template provided in the next
comment(s). This will include the bug IDs of this tracking bug as well as
the relevant top-level CVE bugs.
Please also mention the CVE IDs being fixed in the RPM changelog and the
fedpkg commit message.
NOTE: this issue affects multiple supported versions of F
2017-05-14
Published