• [gentoo-announce] [ GLSA 202505-07 ] FreeType: Remote Code Execution

    From glsamaker@gentoo.org@21:1/5 to All on Wed May 14 10:50:01 2025
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    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 security@gentoo.org 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
    -----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-----

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)