SecPod

Learn Search

Search across all Learn content

← Back to Security Research
Home Run! Out-Of-Bounds Write Discovered In FreeType

Home Run! Out-Of-Bounds Write Discovered In FreeType

The FreeType font rendering library is vulnerable! CVE-2025-27363, which boasts a CVSS score of 8.1, could result in a developer’s worst nightmare: arbitrary code execution by a remote, unauthenticated attacker. The vendor has acknowledged that this out-of-bounds write flaw may have been actively ex...

Mar 13, 2025By Meghana Raatni3 min read

The FreeType font rendering library is vulnerable! CVE-2025-27363, which boasts a CVSS score of 8.1, could result in a developer’s worst nightmare: arbitrary code execution by a remote, unauthenticated attacker. The vendor has acknowledged that this out-of-bounds write flaw may have been actively exploited.

What is FreeType?

Before you read about FreeType, take a look at this list:

  • GNU/Linux 
  • Unix operating system derivatives like FreeBSD or NetBSD
  • Android, Tizen, and Roku
  • iOS
  • ChromeOS
  • ReactOS
  • Ghostscript, used in many printers
  • Web browser engines like Chromium, WebKit, Gecko, and Goanna

Even if you don’t recognize the name FreeType, you probably recognize some names on this list. In fact, there’s a good chance you own devices that run some of them.

Every single piece of technology on that list uses FreeType, and was taken directly from their website.

FreeType is an open-source font rendering library written in C. It renders high-quality fonts for an array of products used in over a billion devices, many of which might be impacted by this vulnerability.

What is this vulnerability?

There are (so far) no details on how the flaw can be exploited, but here’s what we do know:

CVE-2025-27363 is triggered when FreeType attempts to parse font subglyph structures associated with TrueType GX and variable font files. A signed short value is assigned to an unsigned long value (which can be much larger in size), then adds a static value, which causes it to wrap around to the smallest value and allocate a much smaller heap buffer than required.

The long and short of it is this: the code now writes up to 6 signed long integers beyond what the buffer can handle, leading to an out-of-bounds write. An attacker can use this to execute arbitrary code.

Impact and Products Affected

FreeType versions 2.13.0 and below are affected by CVE-2025-27363. Though the vendor has stated that the flaw was patched two years ago, there are still many Linux distributions running a vulnerable version of the library, like the following:

  • AlmaLinux
  • Alpine Linux
  • Amazon Linux 2
  • Debian stable / Devuan
  • RHEL / CentOS Stream / Alma Linux / etc. 8 and 9
  • GNU Guix
  • Mageia
  • OpenMandriva
  • openSUSE Leap
  • Slackware
  • Ubuntu 22.04

Anyone using these distributions is under threat of exploitation and should upgrade to the patched version.

Solution

Newer versions (above 2.13.0) are not vulnerable, and the vendor recommends updating FreeType instances to 2.13.3, the latest release.

Instantly Fix Risks with SanerNow Patch Management

SanerNow patch management is a continuous, automated, and integrated software that instantly fixes risks exploited in the wild. The software supports major operating systems like Windows, Linux, and macOS, as well as 550+ third-party applications.

It also allows you to set up a safe testing area to test patches before deploying them in a primary production environment. SanerNow patch management additionally supports a patch rollback feature in case of patch failure or a system malfunction.

Experience the fastest and most accurate patching software here.

Featured Posts

Open Operation CameraSwarm: Inside the Toolkit Behind 14,530 Compromised Dahua Cameras
Operation CameraSwarm: Inside the Toolkit Behind 14,530 Compromised Dahua Cameras

CVE Research

Operation CameraSwarm: Inside the Toolkit Behind 14,530 Compromised Dahua Cameras

A single operator compromised 14,530+ Dahua cameras across Ukraine and Russia in 35 days, chaining credential brute-force, a CVE-2021-33044/33045 authentication bypass, and P2P relay abuse to plant a persistent backdoor and harvest transferable admin access.

Aug 21, 2026

Open Critical GitLab Flaw Exposes Public Projects to Deletion — Two CVEs Patched, Including High-Severity CSRF
Critical GitLab Flaw Exposes Public Projects to Deletion — Two CVEs Patched, Including High-Severity CSRF

CVE Research

Critical GitLab Flaw Exposes Public Projects to Deletion — Two CVEs Patched, Including High-Severity CSRF

CVE-2026-19478 is a critical code injection vulnerability in GitLab CE/EE that allows an unauthenticated attacker to modify or delete public projects and user data by abusing a GraphQL directive. A second high-severity issue, CVE-2026-19650, involves cross-site request forgery in the GraphQL multiplex query handler. This article examines how the critical vulnerability works, the availability of a public proof-of-concept, the potential impact on self-managed instances, the affected versions, and the security updates released to remediate both issues.

Aug 19, 2026

Open No Password Needed: macOS Screen Sharing Flaw (CVE-2026-65400) Used to Deploy Monero Miners
No Password Needed: macOS Screen Sharing Flaw (CVE-2026-65400) Used to Deploy Monero Miners

CVE Research

No Password Needed: macOS Screen Sharing Flaw (CVE-2026-65400) Used to Deploy Monero Miners

Aug 19, 2026

Open Evooo1Bot: Mirai-Based Linux Botnet Turns Edge Devices Into SOCKS5 Proxies
Evooo1Bot: Mirai-Based Linux Botnet Turns Edge Devices Into SOCKS5 Proxies

CVE Research

Evooo1Bot: Mirai-Based Linux Botnet Turns Edge Devices Into SOCKS5 Proxies

Aug 19, 2026