skia-python
Affected
- Versions:
144.0
Fixed versions
None listed
Fix
No fixed version is listed.
Advisory
Also known as: None
skia-python vendors vulnerable libfreetype because of pinned cibuildwheel version
Impact
The Linux wheels for skia-python vendor a vulnerable version of
libfreetype that is affected by CVE-2025-27363 [1].
The root cause is a chain of unfortunate events:
*preinstalled*. This package version is vulnerable and has since been
patched in 2.9.1-10.
system, resulting in skia-python.libs/libfreetype-29a7443c.so.6.16.1
[ To find the provenance of your vendored libfreetype, we extracted the
8-character hash of the original binary file that is added during the
build process (29a7443c), and matched it against our database of hashes
all historic Red Hat, Debian and Ubuntu releases of freetype. ]
explicitly installed by the build script [4], it is not upgraded to the
patched version [4].
even though patched packages are available upstream.
This appears to be a broader manylinux ecosystem issue. The base images
do not enforce that yum update runs on container start, so
preinstalled libraries may remain vulnerable indefinitely.
Patches
> In the case of skia-python, the solution is to explicitly install freetype in the build process and rebuild the wheels.
The 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.
Workarounds
Users must upgrade the wheel package after release.
References
High Basis: The source's own band: HIGH
144.0None listed
No fixed version is listed.
0, fixed 144.0.post1 (ecosystem)144.0.post1
144.0.post1pip install --upgrade skia-python==144.0.post1Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0