CVE-2025-46333
Last modified
CVE-2025-46333 is a high-severity vulnerability rated 7.3/10 on the CVSS scale. 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. EPSS estimates a 0.15% chance of exploitation in the next 30 days.
Description
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`.
Metrics
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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Weakness Enumeration
References
Timeline
- Published
- Last Modified
- Status
- Deferred
Frequently Asked Questions
What is CVE-2025-46333?
How severe is CVE-2025-46333?
How do I fix CVE-2025-46333?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2025
- CVE-2025-46328snowflake-connector-nodejs is a NodeJS driver for Snowflake.…7
- CVE-2025-46329libsnowflakeclient is the Snowflake Connector for C/C++. Ver…3.3
- CVE-2025-4633Default credentials were present in the web portal for Airpo…6.5
- CVE-2025-46330libsnowflakeclient is the Snowflake Connector for C/C++. Ver…3.3
- CVE-2025-46331OpenFGA is a high-performance and flexible authorization/per…9.8
- CVE-2025-46332Flags SDK is an open-source feature flags toolkit for Next.j…6.5
- CVE-2025-46334Git GUI allows you to use the Git source control management …8.6
- CVE-2025-46335Mobile Security Framework (MobSF) is a security research pla…5.4
- CVE-2025-46336Rack::Session is a session management implementation for Rac…4.2
- CVE-2025-46337ADOdb is a PHP database class library that provides abstract…10
- CVE-2025-46338Audiobookshelf is a self-hosted audiobook and podcast server…6.1
- CVE-2025-46339FreshRSS is a self-hosted RSS feed aggregator. Prior to vers…4.3
Are you affected by CVE-2025-46333?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
