[ GLSA 202505-07 ] FreeType: Remote Code Execution
[email protected] Wed, 14 May 2025 08:45:01 -0000
| Newsgroups | gmane.linux.gentoo.announce |
|---|---|
| Message-ID | <174721230221.7.14337637000109683809@3f85d36892cf> |
--===============8328794482999404481==
Content-Type: text/plain; charset="utf-8"
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Gentoo Linux Security Advisory GLSA 202505-07
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
https://security.gentoo.org/
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Severity: High
Title: FreeType: Remote Code Execution
Date: May 14, 2025
Bugs: #951286
ID: 202505-07
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Synopsis
========
A vulnerability has been discovered in FreeType, which can lead to
remote code execution.
Background
==========
FreeType is a high-quality and portable font engine.
Affected packages
=================
Package Vulnerable Unaffected
------------------- ------------ ------------
media-libs/freetype < 2.13.1 >= 2.13.1
Description
===========
Multiple vulnerabilities have been discovered in FreeType. Please review
the CVE identifiers referenced below for details.
Impact
======
An out of bounds write exists in FreeType when attempting to parse font
subglyph structures related to TrueType GX and variable font files. The
vulnerable code assigns a signed short value to an unsigned long and
then adds a static value causing it to wrap around and allocate too
small of a heap buffer. The code then writes up to 6 signed long
integers out of bounds relative to this buffer. This may result in
arbitrary code execution. This vulnerability may have been exploited in
the wild.
Workaround
==========
There is no known workaround at this time.
Resolution
==========
All FreeType users should upgrade to the latest version:
# emerge --sync
# emerge --ask --oneshot --verbose ">=media-libs/freetype-2.13.1"
References
==========
[ 1 ] CVE-2025-27363
https://nvd.nist.gov/vuln/detail/CVE-2025-27363
Availability
============
This GLSA and any updates to it are available for viewing at
the Gentoo Security Website:
https://security.gentoo.org/glsa/202505-07
Concerns?
=========
Security is a primary focus of Gentoo Linux and ensuring the
confidentiality and security of our users' machines is of utmost
importance to us. Any security concerns should be addressed to
[email protected] or alternatively, you may file a bug at
https://bugs.gentoo.org.
License
=======
Copyright 2025 Gentoo Foundation, Inc; referenced text
belongs to its owner(s).
The contents of this document are licensed under the
Creative Commons - Attribution / Share Alike license.
https://creativecommons.org/licenses/by-sa/2.5
--===============8328794482999404481==
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCgAdFiEEpqTA6ABLMxh/aChGFMQkOaVy+9kFAmgkWA4ACgkQFMQkOaVy
+9l7tQ//dEBRTw+l/1TzjqDcfN9MLiP8wDnyJP9SvIR/X/6+0Y/6fzIK62lwAdxv
/PgIrN+J4RPVS6dW0rVUs43GWXCWEQ88ZTxMhV/etCEmVUdDlipvDOwdYNellPjS
v7TdhrZdwpOqcbaohpx4tMQQwnSCp3c0tkav4dK34/XTMJ9nZIIQrb7SgJP9hYnL
9L6yzDZSmTgcIpnuEKG5MlAWaxWQSm1KACy+swfFb6aKiuqoVUR5CKG/DlF/oDH/
j/b8ht89EehttIKHOihzOHTrESlyZn7Ev+7Nvxfe0GW+FG8FsWiYcALYOOcshXKw
f6DQJxxvn948xSgCmPorCVpYthDSX2td9LhwjKWb5BtSdu7CcvoQec2KcaS/BigI
Kc1+AMcPPa3JRgJuKkXpox5B3i/S9oDsVjgvoQUb43Ucgep7Q1kal5nCBS/1BO6S
sTEWcrEBE9FsQ34zo+7ux+Hf5MLyaRVIbMwX6hkt/vOJ3Vzl/1jUxHfOrIfjhY6f
iYVEftwuEeUFYG3J00SAcubvZ8m4iPtRg4uZFFJ7t4eNVUSTTsOrhaxbXyI+JPBT
JeMIWQed7l+nzYTrraa1IQK/2eXm+yF6oSwWcxK+n/4WlZme+lRq9P8RKrWizZ7m
pt9p75Zt7IJYgZjpuTASUqAnNqEontMBLmt6KmrORBwqsY5H8ts=
=LyFf
-----END PGP SIGNATURE-----
--===============8328794482999404481==--