{"id":"CVE-2026-2258","summary":"aardappel lobster wfc.h WaveFunctionCollapse memory corruption","details":"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.","modified":"2026-10-28T11:09:45.307010546Z","published":"2026-02-10T00:02:09.801Z","database_specific":{"cna_assigner":"VulDB","cwe_ids":["CWE-119"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/2xxx/CVE-2026-2258.json"},"references":[{"type":"WEB","url":"https://github.com/aardappel/lobster/"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/2xxx/CVE-2026-2258.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-2258"},{"type":"ADVISORY","url":"https://vuldb.com/?id.345005"},{"type":"ADVISORY","url":"https://vuldb.com/?submit.753167"},{"type":"REPORT","url":"https://github.com/aardappel/lobster/issues/395"},{"type":"REPORT","url":"https://github.com/aardappel/lobster/issues/395#issuecomment-3849012938"},{"type":"REPORT","url":"https://vuldb.com/?ctiid.345005"},{"type":"FIX","url":"https://github.com/aardappel/lobster/commit/c2047a33e1ac2c42ab7e8704b33f7ea518a11ffd"},{"type":"EVIDENCE","url":"https://github.com/oneafter/0204/blob/main/lob1/repro.lobster"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/aardappel/lobster","events":[{"introduced":"3099fed70556742a460cf902239da20e0a3beb3f"},{"fixed":"c2047a33e1ac2c42ab7e8704b33f7ea518a11ffd"}],"database_specific":{"extracted_events":[{"range":[{"introduced":"2025.0"},{"last_affected":"2025.0"}],"source":"AFFECTED_FIELD","strategy":"StandaloneSingleVersion"},{"strategy":"StandaloneSingleVersion","range":[{"introduced":"2025.1"},{"last_affected":"2025.1"}],"source":"AFFECTED_FIELD"},{"strategy":"StandaloneSingleVersion","range":[{"introduced":"2025.2"},{"last_affected":"2025.2"}],"source":"AFFECTED_FIELD"},{"strategy":"StandaloneSingleVersion","range":[{"introduced":"2025.3"},{"last_affected":"2025.3"}],"source":"AFFECTED_FIELD"},{"strategy":"StandaloneSingleVersion","range":[{"introduced":"2025.4"},{"last_affected":"2025.4"}],"source":"AFFECTED_FIELD"},{"range":[{"fixed":"c2047a33e1ac2c42ab7e8704b33f7ea518a11ffd"}],"source":"REFERENCES_COMMIT"}]}}],"versions":["2025.0","2025.1","2025.2","2025.3","2025.4","v2025.4","v2025.3","v2025.2","v2025.1","v2025.0"],"database_specific":{"vanir_signatures_modified":"2026-10-28T11:09:45Z","source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-2258.json","vanir_signatures":[{"target":{"file":"dev/src/builtins.cpp","function":"AddBuiltins"},"deprecated":false,"digest":{"length":64673,"function_hash":"149441422473073204035151101208355948211"},"id":"CVE-2026-2258-4971879b","signature_type":"Function","signature_version":"v1","source":"https://github.com/aardappel/lobster/commit/c2047a33e1ac2c42ab7e8704b33f7ea518a11ffd"},{"digest":{"line_hashes":["100809937407497191186467615693694384644","291672030347935644924875984726065947874","209624420738958640797477219256583237232","200589747735385998485470761200022030492"],"threshold":0.9},"id":"CVE-2026-2258-4d8ef37d","signature_type":"Line","signature_version":"v1","source":"https://github.com/aardappel/lobster/commit/c2047a33e1ac2c42ab7e8704b33f7ea518a11ffd","target":{"file":"dev/src/builtins.cpp"},"deprecated":false},{"target":{"file":"dev/src/lobster/wfc.h","function":"WaveFunctionCollapse"},"deprecated":false,"digest":{"function_hash":"187687960168184486130549144266623565902","length":4834},"id":"CVE-2026-2258-8a29a2ac","signature_type":"Function","signature_version":"v1","source":"https://github.com/aardappel/lobster/commit/c2047a33e1ac2c42ab7e8704b33f7ea518a11ffd"},{"deprecated":false,"digest":{"line_hashes":["294748604808263208798518096772262028547","206216704175555706470897118579159555709","258898092569387250306963829916173409221","15379035110231477586917698930954470167","126179339088445396706538042837622491258"],"threshold":0.9},"id":"CVE-2026-2258-cb9ab7bd","signature_type":"Line","signature_version":"v1","source":"https://github.com/aardappel/lobster/commit/c2047a33e1ac2c42ab7e8704b33f7ea518a11ffd","target":{"file":"dev/src/lobster/wfc.h"}}]}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V4","score":"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"}]}