GHSA-gg76-hg3v-5q6c: Macroquad Macroquad Vulnerable To Multiple Soundness Vulnerability
HIGHGHSA-gg76-hg3v-5q6c is a HIGH macroquad vulnerable to multiple soundness vulnerability (CWE-416: Use After Free) affecting Macroquad libraries in the crates.io ecosystem. The issue involves macroquad vulnerable to multiple soundness issues. Remediation is available in the latest vendor maintenance releases.
GHSA-gg76-hg3v-5q6c at a Glance
How to Fix GHSA-gg76-hg3v-5q6c
To remediate this vulnerability, upgrade all affected Macroquad dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
Upgrade macroquad to Latest secure release
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for macroquad
How to Check if You Are Affected
To determine whether your application is affected by GHSA-gg76-hg3v-5q6c, inspect your project dependencies for Macroquad:
inspect dependencies for macroquad
Analyze the terminal output to locate any version of Macroquad in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than the patched release), your application is affected.
Note: Verify declared build manifests and deployed runtime container environments.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-416: Use After Free, where the product reuses or references memory after it has been freed. at some point afterward, the memory may be allocated again and saved in another pointer, while the original pointer references a location somewhere within the new allocation. any operations using the original pointer are no longer valid because the memory "belongs" to the code that operates on the new pointer. In Macroquad, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
GHSA-gg76-hg3v-5q6c Affected Macroquad Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
macroquad
|
crates.io |
≤ 0.4.14
|
|
References
Frequently Asked Questions
What is GHSA-gg76-hg3v-5q6c?
Which Macroquad versions are affected?
What version fixes GHSA-gg76-hg3v-5q6c?
Is macroquad affected?
What CWE is associated with GHSA-gg76-hg3v-5q6c?
How can I check crates.io dependencies for GHSA-gg76-hg3v-5q6c?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-gg76-hg3v-5q6c",
"modified" : "2025-05-15T16:22:33Z",
"published" : "2025-05-15T16:22:33Z",
"aliases" : [ ],
"summary" : "macroquad vulnerable to multiple soundness issues",
"details" : "Several soundness issues have been reported. Resolving them doesn't seem to be considered a priority. In particular, unprincipled use of mutable statics is pervasive throughout the library, making it possible to cause use-after-free in safe code.\n\nCurrently, no fixed version is available.",
"severity" : [ {
"type" : "CVSS_V4",
"score" : "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "crates.io",
"name" : "macroquad"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"last_affected" : "0.4.14"
} ]
} ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/not-fl3/macroquad/issues/333"
}, {
"type" : "WEB",
"url" : "https://github.com/not-fl3/macroquad/issues/634"
}, {
"type" : "WEB",
"url" : "https://github.com/not-fl3/macroquad/issues/723"
}, {
"type" : "WEB",
"url" : "https://github.com/not-fl3/macroquad/issues/746"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/not-fl3/macroquad"
}, {
"type" : "WEB",
"url" : "https://rustsec.org/advisories/RUSTSEC-2025-0035.html"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-416" ],
"severity" : "HIGH",
"github_reviewed" : true,
"github_reviewed_at" : "2025-05-15T16:22:33Z",
"nvd_published_at" : null
}
}