{"answers":{"affected":"4 open source packages ship an affected version, including skia-python.","exploited":"There is no known exploitation of GHSA-2mhw-8qcg-gr96 in the wild and no public exploit code.","fix":"Upgrade skia-python to 144.0.post1 or later.","what":"GHSA-2mhw-8qcg-gr96 is a vulnerability in skia-python, published on 19 Mar 2026. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for GHSA-2mhw-8qcg-gr96 and fix it if it is affected.\n\nWhat it is: GHSA-2mhw-8qcg-gr96 is a vulnerability in skia-python, published on 19 Mar 2026. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.\nExploitation: There is no known exploitation of GHSA-2mhw-8qcg-gr96 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- skia-python (PyPI): affected all versions; no fix listed\n- skia-python (PyPI): affected all versions; no fix listed\n- skia-python (PyPI): affected all versions; fixed in 144.0.post1\n- skia-python (PyPI): affected all versions; fixed in 144.0.post1\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/GHSA-2mhw-8qcg-gr96/ (Markdown: https://insights.sbomify.com/GHSA-2mhw-8qcg-gr96/index.md)","id":"GHSA-2mhw-8qcg-gr96","markdown":"https://insights.sbomify.com/GHSA-2mhw-8qcg-gr96/index.md","name":"GHSA-2mhw-8qcg-gr96","record":{"aliases":[],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["code_execution"],"network_reachable":"yes","non_default_config":false,"product_category":"Python graphics library","requires_auth":"none","summary":"skia-python Linux wheels contain a vulnerable libfreetype due to build environment pinning, allowing potential code execution via crafted fonts.","user_interaction":"required","vuln_class":"supply_chain"},"analysis_generated_by":"qwen3.8-flash-next","assigner":null,"cpe":[],"cvss":{"score":null,"severity":null,"source":null,"vector":null,"version":null},"cwes":[],"description":"### Impact\n\nThe Linux wheels for skia-python vendor a vulnerable version of\nlibfreetype that is affected by CVE-2025-27363 [1].\n\nThe root cause is a chain of unfortunate events:\n\n1. skia-python builds wheels using pinned pypa/cibuildwheel@2.21.3 [2]\n\n2. cibuildwheel 2.21.3 in turn pins manylinux container images [3]\n\n3. In these images, version 2.9.1-9.el8 of RedHat package freetype is\n*preinstalled*. This package version is vulnerable and has since been\npatched in 2.9.1-10.\n\n4. During the skia-python Linux build, libfreetype is vendored from the\nsystem, resulting in skia-python.libs/libfreetype-29a7443c.so.6.16.1\n\n[ To find the provenance of your vendored libfreetype, we extracted the\n8-character hash of the original binary file that is added during the\nbuild process (29a7443c), and matched it against our database of hashes\nall historic Red Hat, Debian and Ubuntu releases of freetype. ]\n\n5. Because freetype is only a *transitive* dependency of the packages\nexplicitly installed by the build script [4], it is not upgraded to the\npatched version [4].\n\n5. As a result, the published wheels embed a vulnerable libfreetype,\neven though patched packages are available upstream.\n\nThis appears to be a broader manylinux ecosystem issue. The base images\ndo not enforce that `yum update` runs on container start, so\npreinstalled libraries may remain vulnerable indefinitely.\n\n### Patches\n\n\u003e In the case of skia-python, the solution is to explicitly install freetype in the build process and rebuild the wheels.\n\nThe original report was suggesting the above, but in the current `build_Linux.sh` script, the patched `freetype-devel` version 2.9.1-10 gets installed as a dependency. It's just that we need to rebuild the wheel for a new release.\n\n### Workarounds\n\nUsers must upgrade the wheel package after release.\n\n### References\n\n1. https://nvd.nist.gov/vuln/detail/CVE-2025-27363\n2. https://github.com/kyamagu/skia-python/blob/9ffb045811f9b5508e152302d5b81aadca6edd8d/.github/workflows/ci.yml#L38\n3. https://github.com/pypa/cibuildwheel/blob/v2.21.3/cibuildwheel/resources/pinned_docker_images.cfg\n4. https://github.com/kyamagu/skia-python/blob/9ffb045811f9b5508e152302d5b81aadca6edd8d/scripts/build_Linux.sh#L6","ecosystems":["PyPI"],"exploits":{"exploitdb":null,"first_seen":null,"github_poc":null,"max_poc_stars":null,"metasploit":null,"nuclei":null,"refs":[],"tier":null},"has_fix":true,"headline":"skia-python vendors vulnerable libfreetype because of pinned cibuildwheel version","id":"GHSA-2mhw-8qcg-gr96","indexable":true,"kev":null,"kind":"advisory","links":{"ecosystem":"PyPI","product":null,"products":[],"type":"supply_chain","year":"2026"},"n_packages":4,"n_references":null,"packages":[{"ecosystem":"PyPI","fixed":[],"introduced":[],"last_affected":[],"package":"skia-python","purl":null,"source":"GHSA-2mhw-8qcg-gr96"},{"ecosystem":"PyPI","fixed":[],"introduced":[],"last_affected":[],"package":"skia-python","purl":"pkg:pypi/skia-python","source":"GHSA-2mhw-8qcg-gr96"},{"ecosystem":"PyPI","fixed":["144.0.post1"],"introduced":["0"],"last_affected":[],"package":"skia-python","purl":null,"source":"GHSA-2mhw-8qcg-gr96"},{"ecosystem":"PyPI","fixed":["144.0.post1"],"introduced":["0"],"last_affected":[],"package":"skia-python","purl":"pkg:pypi/skia-python","source":"GHSA-2mhw-8qcg-gr96"}],"products":null,"published":"2026-03-19","related":[],"sources":[{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":null,"updated":null,"vendors":null},"summary":"skia-python Linux wheels contain a vulnerable libfreetype due to build environment pinning, allowing potential code execution via crafted fonts.","url":"https://insights.sbomify.com/GHSA-2mhw-8qcg-gr96/"}