GLSA 202407-02: SDL_ttf: Arbitrary Memory Write

Severity:normal
Title:SDL_ttf: Arbitrary Memory Write
Date:07/01/2024
Bugs: #843434
ID:202407-02

Synopsis

A vulnerability has been discovered in SDL_ttf, which can lead to arbitrary memory writes.

Background

SDL_ttf is a wrapper around the FreeType and Harfbuzz libraries, allowing you to use TrueType fonts to render text in SDL applications.

Affected packages

Package Vulnerable Unaffected Architecture(s)
media-libs/sdl2-ttf < 2.20.0 >= 2.20.0 All supported architectures

Description

A vulnerability has been discovered in SDL_ttf. Please review the CVE identifier referenced below for details.

Impact

SDL_ttf was discovered to contain an arbitrary memory write via the function TTF_RenderText_Solid(). This vulnerability is triggered via a crafted TTF file.

Workaround

There is no known workaround at this time.

Resolution

All SDL_ttf users should upgrade to the latest version:

          # emerge --sync
          # emerge --ask --oneshot --verbose ">=media-libs/sdl2-ttf-2.20.0"
        

References

Availability

This GLSA and any updates to it are available for viewing at the Gentoo Security Website: http://security.gentoo.org/glsa/glsa-202407-02.xml

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 2010 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.

Thank you!