Home / vancluever / z2d / CVE-2025-46333
CVE-2025-46333: is it exploited, and which versions of vancluever z2d are affected and fixed?
CVE-2025-46333 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, 15:09 UTC). Affected: z2d > 0.5.1, <= 0.6.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, 15:09 UTC, CVE record November 19, 2026, 07:09 UTC and NVD November 19, 2026, 07:21 UTC.
What is CVE-2025-46333?
z2d OOB composition could lead to invalid memory access and corruption
z2d is a pure Zig 2D graphics library. Versions of z2d after `0.5.1` and up to and including `0.6.0`, when writing from one surface to another using `z2d.compositor.StrideCompositor.run`, and higher-level operations when the anti-aliasing mode is set to `.default` (such as `Context.fill`, `Context.stroke`, `painter.fill`, and `painter.stroke`), the source surface can be completely out-of-bounds on the x-axis, but not on the y-axis, by way of a negative offset. This results in an overflow of the value controlling the length of the stride. In non-safe optimization modes (consumers compiling with `ReleaseFast` or `ReleaseSmall`), this could potentially lead to invalid memory accesses or corruption. This issue is patched in version `0.6.1`. Users on an untagged version after `v0.5.1` and before `v0.6.1` are advised to update to address the vulnerability. Those still on Zig `0.13.0` are recommended to downgrade to `v0.5.1`.
From the CVE record by GitHub_M, last updated April 28, 2025, 14:17 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| vancluever | z2d | > 0.5.1, <= 0.6.0 |
As the CVE record by GitHub_M states it, last updated April 28, 2025. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
How severe is CVE-2025-46333?
| 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-46333 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: none; automatable: no; technical impact: total (CISA ADP, April 25, 2025)
- EPSS
- 0.18% probability of exploitation activity in the next 30 days, percentile 8.4 (FIRST EPSS, scores of December 3, 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
- CWE-190 Integer Overflow or Wraparound
Where are the vendor advisories and references?
- https://github.com/vancluever/z2d/security/advisories/GHSA-mm4c-p35v-7hx3 x_refsource_CONFIRM
- https://github.com/vancluever/z2d/issues/104 x_refsource_MISC
- https://github.com/vancluever/z2d/issues/105 x_refsource_MISC
When was it published, and where is the official record?
- Reserved
- April 22, 2025
- Published
- April 25, 2025, 20:20 UTC
- CVE record updated
- April 28, 2025, 14:17 UTC by GitHub_M
- NVD
- Deferred, last modified June 17, 2026, 09:26 UTC
- Last checked
- CVE list November 19, 2026, 07:09 UTC; NVD November 19, 2026, 07:21 UTC; KEV December 3, 2026, 15:09 UTC; EPSS December 3, 2026
- Official record
- cve.org · NVD
What other CVEs affect z2d?
- Aug 16, 2025CVE-2025-55286 vancluever z2d: memory corruption (buffer overflow)
Questions about CVE-2025-46333
Is CVE-2025-46333 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 15:09 UTC. FIRST's EPSS gives it a 0.18% chance of exploitation activity in the next 30 days (scores of December 3, 2026).
Which versions of vancluever z2d are affected by CVE-2025-46333?
z2d > 0.5.1, <= 0.6.0, per the CVE record by GitHub_M. The tables above give every range the sources list.
Which version fixes CVE-2025-46333?
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-46333?
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-46333?
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.