# CVE-2024-39840: 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…

- Severity: High 8.8 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.64%, higher than 52% of CVEs (2026-12-01)
- Published: 2024-06-29T00:00:00.000Z
- Modified: 2026-06-17T07:42:53.990Z
- Weaknesses: CWE-787
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total
- Assigned by: mitre

## 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.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- factorio factorio: before 1.1.101

## References

- <https://news.ycombinator.com/item?id=40830005>
- <https://memorycorruption.net/posts/rce-lua-factorio/>

## Sources

- CVE List: [CVE-2024-39840](https://www.cve.org/CVERecord?id=CVE-2024-39840), CVE Terms of Use, modified 2024-08-02
- NVD: [CVE-2024-39840](https://nvd.nist.gov/vuln/detail/CVE-2024-39840), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2024-39840 · Whole record: https://cve.day/CVE-2024-39840.json · Rebuilt by cve.day 2026-11-25T22:58:42.334Z
