CVE-2025-55286: vancluever z2d · Memory Buffer Overflow
Affects vancluever z2dSource CVE Database V5
Not known to be exploited · CVSS 7.3 High · fixed in 0.7.1 : patch vancluever z2d soon.
Data as of 26 Oct 2026, 06:26 UTC
- EPSS
- 0.1% chance of exploitation in 30 days – higher than 3% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- Patch
- Available – fixed in 0.7.1
CVSS:4.0/AV:L/AC:H/AT:P/PR:L/UI:P/VC:H/VI:H/VA:H/SC:H/SI:H/SA:HExploitation evidence
Disclosed: evidence found.
CVE published 16 Aug 2025
Detectable: no evidence on record.
No public nuclei template indexed
Weaponised: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 2026-10-26.
What to do
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| vancluever z2d | Affected
| Fixed in– |
AI-suggested
1. Immediate upgrade to z2d version 0.7.1 is the primary and most effective mitigation step, as this version contains the fix for the out-of-bounds access issue. 2. Audit all internal and third-party software dependencies to identify any usage of z2d v0.7.0, especially in graphical rendering components. 3. For environments where upgrading is not immediately feasible, disable or avoid using the .default and .multisample_4x anti-aliasing modes in z2d, or switch to supersample_4x or no anti-aliasing modes temporarily to mitigate risk. 4. Recompile affected software with safe optimization modes that enforce memory safety checks (avoiding ReleaseFast or ReleaseSmall modes) to reduce the risk of memory corruption exploitation. 5. Implement strict access controls and limit user privileges on systems running vulnerable software to reduce the likelihood of exploitation. 6. Monitor application logs and system behavior for signs of crashes or memory corruption that could indicate attempted exploitation. 7. Engage with software vendors and developers to ensure timely patching and secure coding practices in future releases.
Description
z2d is a pure Zig 2D graphics library.z2d v0.7.0 released with a new multi-sample anti-aliasing (MSAA) method, which uses a new buffering mechanism for storing coverage data. This differs from the standard alpha mask surface used for the previous super-sample anti-aliasing (SSAA) method. Under certain circumstances where the path being drawn existed in whole or partly outside of the rendering surface, incorrect bounding could cause out-of-bounds access within the coverage buffer. This affects the higher-level drawing operations, such as Context.fill, Context.stroke, painter.fill, and painter.stroke, when either the .default or .multisample_4x anti-aliasing modes were used. .supersample_4x was not affected, nor was drawing without anti-aliasing. In non-safe optimization modes (consumers compiling with ReleaseFast or ReleaseSmall), this could potentially lead to invalid memory accesses or corruption.z2d v0.7.1 fixes this issue, and it's recommended to upgrade to v0.7.1, or, given the small period of time v0.7.0 has been released, use v0.7.1 immediately, skipping v0.7.0.