{"answers":{"affected":"","exploited":"There is no known exploitation of CVE-2025-55286 in the wild and no public exploit code.","fix":"No fix has been published for CVE-2025-55286 yet. Limit exposure of the affected software until one is available.","what":"CVE-2025-55286 is a high-severity vulnerability in vancluever z2d, published on 16 Aug 2025."},"fix_prompt":"Check this codebase for CVE-2025-55286 and fix it if it is affected.\n\nWhat it is: CVE-2025-55286 is a high-severity vulnerability in vancluever z2d, published on 16 Aug 2025. \nExploitation: There is no known exploitation of CVE-2025-55286 in the wild and no public exploit code.\n\nAffected product: vancluever z2d. No package-level version data is available, so check the vendor advisory linked from the reference page.\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2025-55286/ (Markdown: https://insights.sbomify.com/CVE-2025-55286/index.md)","id":"CVE-2025-55286","markdown":"https://insights.sbomify.com/CVE-2025-55286/index.md","name":"CVE-2025-55286","record":{"aliases":["GHSA-2vq8-cp8r-vcf3"],"analysis":null,"analysis_generated_by":null,"assigner":"GitHub_M","cpe":[],"cvss":{"score":7.3,"severity":"high","source":"cna","vector":"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","version":"4.0"},"cwes":[{"id":"CWE-122","name":"Heap-based Buffer Overflow"},{"id":"CWE-119","name":"Improper Restriction of Operations within the Bounds of a Memory Buffer"}],"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.","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":false,"headline":"z2d OOB drawing with new multi-sample anti-aliasing could lead to invalid memory access and corruption","id":"CVE-2025-55286","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":null,"year":"2025"},"n_packages":0,"n_references":3,"next":{"headline":"Genealogy has a stored XSS vulnerability","id":"CVE-2025-55287"},"packages":[],"prev":{"headline":"@backstage/plugin-scaffolder-backend Template Secret Leakage in Logs in Scaffolder When Using `fetch:template`","id":"CVE-2025-55285"},"products":["z2d"],"published":"2025-08-16","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"total"},"state":"PUBLISHED","updated":"2025-08-18","vendors":["vancluever"]},"summary":null,"url":"https://insights.sbomify.com/CVE-2025-55286/"}