# CVE-2026-2258: aardappel lobster wfc.h WaveFunctionCollapse memory corruption

- Severity: Medium 4.8 (CVSS:4.0, scored by VulDB) `CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:P`
- 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.23%, higher than 8% of CVEs (2026-11-30)
- Public exploit code or proof of concept: 2 links below, marked "exploit"
- Published: 2026-02-10T00:02:09.801Z
- Modified: 2026-06-17T10:30:38.947Z
- Weaknesses: CWE-119, CWE-787
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: VulDB

## Description

A flaw has been found in aardappel lobster up to 2025.4. Affected by this vulnerability is the function WaveFunctionCollapse in the library dev/src/lobster/wfc.h. Executing a manipulation can lead to memory corruption. The attack can only be executed locally. The exploit has been published and may be used. This patch is called c2047a33e1ac2c42ab7e8704b33f7ea518a11ffd. It is advisable to implement a patch to correct this issue.

(As written by CVE List.)

## Affected

- aardappel lobster: 2025.0; 2025.1; 2025.2; 2025.3; 2025.4
- strlen lobster: up to 2025.4

## Every score

- VulDB: CVSS:4.0 4.8 Medium `CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:P`
- VulDB: CVSS:3.1 3.3 Low `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L/E:P/RL:O/RC:C`
- VulDB: CVSS:3.0 3.3 Low `CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L/E:P/RL:O/RC:C`
- VulDB: CVSS:2.0 1.7 Low `AV:L/AC:L/Au:S/C:N/I:N/A:P/E:POC/RL:OF/RC:C`
- NVD: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://vuldb.com/?submit.753167> (exploit, third-party-advisory, vdb-entry)
- <https://github.com/oneafter/0204/blob/main/lob1/repro.lobster> (exploit, product)
- <https://vuldb.com/?id.345005> (technical-description, third-party-advisory, vdb-entry)
- <https://vuldb.com/?ctiid.345005> (permissions-required, signature, vdb-entry)
- <https://github.com/aardappel/lobster/issues/395> (issue-tracking, patch, vendor-advisory)
- <https://github.com/aardappel/lobster/issues/395#issuecomment-3849012938> (issue-tracking, patch, vendor-advisory)
- <https://github.com/aardappel/lobster/commit/c2047a33e1ac2c42ab7e8704b33f7ea518a11ffd> (patch)
- <https://github.com/aardappel/lobster/> (product)

## Sources

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

---

Page: https://cve.day/CVE-2026-2258 · Whole record: https://cve.day/CVE-2026-2258.json · Rebuilt by cve.day 2026-11-25T22:59:13.689Z
