Home / vancluever / z2d / CVE-2025-55286
CVE-2025-55286: is it exploited, and which versions of vancluever z2d are affected and fixed?
CVE-2025-55286 is a memory corruption (buffer overflow) vulnerability in vancluever z2d. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 11:38 UTC). Affected: z2d = 0.7.0 (CVE record by GitHub_M). No fixed version is listed in the sources yet; check the vendor advisory. Severity: High (7.3, CVSS 4.0, from GitHub_M).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 11:38 UTC, CVE record November 19, 2026, 07:09 UTC and NVD November 19, 2026, 07:18 UTC.
What is CVE-2025-55286?
z2d OOB drawing with new multi-sample anti-aliasing could lead to invalid memory access and corruption
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.
From the CVE record by GitHub_M, last updated August 18, 2025, 14:01 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| vancluever | z2d | = 0.7.0 |
As the CVE record by GitHub_M states it, last updated August 18, 2025. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
How severe is CVE-2025-55286?
| Score | Version | Vector | Source |
|---|---|---|---|
| High 7.3 | CVSS 4.0 | CVSS:4.0/AV:L/AC:H/AT:P/PR:L/UI:P/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H | GitHub_M |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2025-55286 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: none; automatable: no; technical impact: total (CISA ADP, August 18, 2025)
- EPSS
- 0.16% probability of exploitation activity in the next 30 days, percentile 5.7 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
- CWE-119 Improper Restriction of Operations within the Bounds of a Memory Buffer
- CWE-122 Heap-based Buffer Overflow
Where are the vendor advisories and references?
- https://github.com/vancluever/z2d/security/advisories/GHSA-2vq8-cp8r-vcf3 x_refsource_CONFIRM
- https://github.com/vancluever/z2d/pull/137 x_refsource_MISC
- https://github.com/vancluever/z2d/commit/93e45d36af53cda0d7f454ed8440713b7ac155b6 x_refsource_MISC
When was it published, and where is the official record?
- Reserved
- August 12, 2025
- Published
- August 16, 2025, 01:02 UTC
- CVE record updated
- August 18, 2025, 14:01 UTC by GitHub_M
- NVD
- Deferred, last modified June 17, 2026, 09:41 UTC
- Last checked
- CVE list November 19, 2026, 07:09 UTC; NVD November 19, 2026, 07:18 UTC; KEV December 3, 2026, 11:38 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
What other CVEs affect z2d?
- Apr 25, 2025CVE-2025-46333 vancluever z2d: memory corruption (buffer overflow)
Questions about CVE-2025-55286
Is CVE-2025-55286 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 11:38 UTC. FIRST's EPSS gives it a 0.16% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of vancluever z2d are affected by CVE-2025-55286?
z2d = 0.7.0, per the CVE record by GitHub_M. The tables above give every range the sources list.
Which version fixes CVE-2025-55286?
None of the sources (the CVE record, the NVD and GitHub's reviewed advisories) lists a fixed version yet. Check the vendor's advisory in the references.
How severe is CVE-2025-55286?
High (7.3, CVSS 4.0, from GitHub_M). The severity table above shows each score with its source.
Where is the official record of CVE-2025-55286?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.