{"id":"CVE-2023-40857","aliases":["EUVD-2023-45397","GHSA-wr74-v8h4-7w2f","UBUNTU-CVE-2023-40857"],"status":"published","title":"Buffer Overflow vulnerability in VirusTotal yara v.4.3.2 allows a remote attacker to execute...","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.","severity":{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","level":"high","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-12","score":0.01062,"percentile":0.65054,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":false},"cwes":["CWE-787"],"published":"2023-08-28T00:00:00Z","modified":"2026-10-28T02:30:21Z","affected":[{"source":"osv","ecosystem":"Ubuntu:Pro:16.04:LTS","package":"yara","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["3.4.0+dfsg-2","3.4.0+dfsg-2build1","3.4.0+dfsg-2ubuntu0.1~esm1"]},{"source":"osv","ecosystem":"Ubuntu:Pro:18.04:LTS","package":"yara","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["3.6.3+dfsg-1ubuntu1","3.7.1-1ubuntu1","3.7.1-1ubuntu2","3.7.1-1ubuntu2+esm1"]},{"source":"osv","ecosystem":"Ubuntu:Pro:20.04:LTS","package":"yara","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["3.9.0-1","3.9.0-1ubuntu0.1~esm1"]},{"source":"osv","ecosystem":"Ubuntu:22.04:LTS","package":"yara","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["4.1.0-1","4.1.3-1","4.1.3-1build1"]},{"source":"osv","ecosystem":"Ubuntu:24.04:LTS","package":"yara","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["4.3.2-1","4.4.0-1","4.5.0-1","4.5.0-1build1","4.5.0-1build2"]},{"source":"osv","ecosystem":"Ubuntu:25.10","package":"yara","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["4.5.2-1","4.5.3-1","4.5.4-1"]}],"products":[{"vendor":"virustotal","product":"yara"}],"references":[{"url":"https://github.com/VirusTotal/yara/issues/1945","tags":["x_transferred","Exploit","Issue Tracking","Vendor Advisory","report"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2023-40857","tags":["advisory"]},{"url":"https://github.com/advisories/GHSA-wr74-v8h4-7w2f"},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/40xxx/CVE-2023-40857.json","tags":["advisory"]},{"url":"https://ubuntu.com/security/CVE-2023-40857","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2023-40857","tags":["report"]}],"sources":{"cve":[{"id":"CVE-2023-40857","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.","status":"published","published":"2023-08-28T00:00:00Z","modified":"2024-10-02T15:12:16.003Z","updated_at":"2026-11-02T14:35:21.971258Z"}],"euvd":[{"id":"EUVD-2023-45397","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.","status":"published","published":"2023-08-28T00:00:00Z","modified":"2024-10-02T15:12:16Z","updated_at":"2026-11-03T00:27:58.959241Z"}],"ghsa":[{"id":"GHSA-wr74-v8h4-7w2f","title":"Buffer Overflow vulnerability in VirusTotal yara v.4.3.2 allows a remote attacker to execute...","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.","status":"published","published":"2023-08-29T00:32:04Z","modified":"2024-04-11T21:07:28Z","cvss":[{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","level":"high"}],"cwes":["CWE-787"],"updated_at":"2026-11-02T14:57:06.932158Z"}],"nvd":[{"id":"CVE-2023-40857","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.","status":"published","published":"2023-08-28T22:15:09.87Z","modified":"2026-06-17T06:19:45.33Z","cvss":[{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","level":"high","assessor":"primary"}],"cwes":["CWE-787"],"updated_at":"2026-11-02T14:08:25.025396Z"}],"osv":[{"id":"UBUNTU-CVE-2023-40857","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.","status":"published","published":"2023-08-28T22:15:00Z","modified":"2026-04-22T14:11:18.374179Z","cvss":[{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","level":"high"}],"updated_at":"2026-11-02T16:54:22.741943Z"},{"id":"CVE-2023-40857","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.","status":"published","published":"2023-08-28T00:00:00Z","modified":"2026-10-28T02:30:21.813723581Z","updated_at":"2026-11-02T15:44:33.244128Z"}]}}
