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

Medium 4.8 Published Updated

Local attackers can trigger memory corruption in the WaveFunctionCollapse function of the Lobster library, potentially leading to code execution or crashes.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Local or same network only
Victim action needed
Not needed
Fix
None listed

What is CVE-2026-2258?

CVE-2026-2258 is a medium-severity memory corruption vulnerability in aardappel lobster, published on 10 Feb 2026. It can only be exploited from the same machine or local network, with no action from the victim.

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

Weakness: CWE-787, CWE-119

Which versions are affected by CVE-2026-2258?

It affects 1 product.

Products include Strlen Lobster.

How do I fix CVE-2026-2258?

No fix has been published for CVE-2026-2258 yet. Limit exposure of the affected software until one is available.

Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.

Is CVE-2026-2258 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-2258 exists.

Sources

Also known as GHSA-8837-98gj-mqw6.

Is CVE-2026-2258 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free