{"id":"CVE-2024-39840","aliases":["EUVD-2024-38261","GHSA-vcvg-6m26-26vr"],"status":"published","title":"Factorio before 1.1.101 allows a crafted server to execute arbitrary code on clients via a custom...","description":"Factorio before 1.1.101 allows a crafted server to execute arbitrary code on clients via a custom map that leverages the ability of certain Lua base module functions to execute bytecode and generate fake objects.","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":"adp","from":"cve"},"epss":{"day":"2026-11-10","score":0.00644,"percentile":0.5124,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":true,"fix_available":false},"cwes":["CWE-787"],"published":"2024-06-29T00:00:00Z","modified":"2026-06-17T07:42:53Z","exploits":[{"source":"pocgithub","id":"writegsqword/CVE-2024-39840-POC","title":"writegsqword/CVE-2024-39840-POC","date":"2025-07-23","url":"https://github.com/writegsqword/CVE-2024-39840-POC"}],"products":[{"vendor":"factorio","product":"factorio"}],"references":[{"url":"https://news.ycombinator.com/item?id=40830005","tags":["x_transferred"]},{"url":"https://memorycorruption.net/posts/rce-lua-factorio/","tags":["x_transferred"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-39840"},{"url":"https://memorycorruption.net/posts/rce-lua-factorio"},{"url":"https://github.com/advisories/GHSA-vcvg-6m26-26vr"}],"sources":{"cve":[{"id":"CVE-2024-39840","description":"Factorio before 1.1.101 allows a crafted server to execute arbitrary code on clients via a custom map that leverages the ability of certain Lua base module functions to execute bytecode and generate fake objects.","status":"published","published":"2024-06-29T00:00:00Z","modified":"2024-08-02T04:26:16.039Z","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":"adp"}],"cwes":["CWE-787"],"updated_at":"2026-11-02T14:34:18.951288Z"}],"euvd":[{"id":"EUVD-2024-38261","description":"Factorio before 1.1.101 allows a crafted server to execute arbitrary code on clients via a custom map that leverages the ability of certain Lua base module functions to execute bytecode and generate fake objects.","status":"published","published":"2024-06-29T00:00:00Z","modified":"2024-08-02T04:26:16Z","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-03T03:50:17.469599Z"}],"ghsa":[{"id":"GHSA-vcvg-6m26-26vr","title":"Factorio before 1.1.101 allows a crafted server to execute arbitrary code on clients via a custom...","description":"Factorio before 1.1.101 allows a crafted server to execute arbitrary code on clients via a custom map that leverages the ability of certain Lua base module functions to execute bytecode and generate fake objects.","status":"published","published":"2024-06-29T18:31:41Z","modified":"2024-07-03T18:48:27Z","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:38.695929Z"}],"nvd":[{"id":"CVE-2024-39840","description":"Factorio before 1.1.101 allows a crafted server to execute arbitrary code on clients via a custom map that leverages the ability of certain Lua base module functions to execute bytecode and generate fake objects.","status":"published","published":"2024-06-29T17:15:09.857Z","modified":"2026-06-17T07:42:53.99Z","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":"secondary"}],"cwes":["CWE-787"],"updated_at":"2026-11-02T14:10:09.388795Z"}]}}
