CVE-2023-40857 Memory corruption in n/a

High 8.8 Published Updated

A buffer overflow in the YARA library allows remote attackers to execute arbitrary code via the yr_execute_code function.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
None listed

What is CVE-2023-40857?

CVE-2023-40857 is a high-severity memory corruption vulnerability in n/a, published on 28 Aug 2023. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.

Official description

Buffer Overflow vulnerability in VirusTotal yara v.4.3.2 allows a remote attacker to execute arbtirary code via the yr_execute_cod function in the exe.c component.

Weakness: CWE-787

Which versions are affected by CVE-2023-40857?

It affects 1 product.

Products include Virustotal Yara.

How do I fix CVE-2023-40857?

No fix has been published for CVE-2023-40857 yet. Limit exposure of the affected software until one is available.

Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.

Is CVE-2023-40857 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2023-40857 exists.

Sources

Also known as GHSA-wr74-v8h4-7w2f, UBUNTU-CVE-2023-40857.

Is CVE-2023-40857 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free