# CVE-2026-95512: Freetype: freetype: denial of service via repeated subroutine allocations in cid font loader

> A remote attacker can cause a denial of service by tricking a user into opening a specially crafted CID-keyed font, leading to excessive resource consumption.

- **Severity:** Medium 5.5 (`CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H`)
- **Exploited in the wild:** Not known
- **Login needed:** Not needed
- **Attackable:** Local or same network only
- **Victim action needed:** A user has to click or open something
- **Fix available:** Yes
- **Published:** 2 Oct 2026
- **Updated:** 6 Oct 2026
- **Also known as:** AZL-107396, AZL-107859, BELL-CVE-2026-95512, DEBIAN-CVE-2026-95512, ECHO-9de0-0234-bf47, GHSA-m5vf-r2p2-8m29, MGASA-2026-0547, RHSA-2026:74952, UBUNTU-CVE-2026-95512, USN-8881-1

## What is CVE-2026-95512?

CVE-2026-95512 is a medium-severity denial of service vulnerability in Red Hat Enterprise Linux 10, published on 2 Oct 2026. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.

### Official description

A flaw was found in FreeType, specifically within its CID font loader. A remote attacker could exploit this vulnerability by tricking a user into opening content that embeds or references a specially crafted CID-keyed font. This crafted font can cause repeated allocations and decryptions of subroutine data across multiple font dictionaries, leading to excessive memory and CPU consumption. This can result in a denial of service (DoS) for the application or service processing the font, potentially causing it to hang or terminate.

Weakness: CWE-400 (Uncontrolled Resource Consumption)

## Which versions are affected by CVE-2026-95512?


| Package | Ecosystem | Affected | Fixed in |
| --- | --- | --- | --- |
| `freetype` | Red Hat:hummingbird:1 | All versions | 0:2.14.3-2.1.hum1 |
| `freetype-demos` | Red Hat:hummingbird:1 | All versions | 0:2.14.3-2.1.hum1 |
| `freetype-devel` | Red Hat:hummingbird:1 | All versions | 0:2.14.3-2.1.hum1 |

## How do I fix CVE-2026-95512?

Apply the vendor's patch.

## Is CVE-2026-95512 being exploited?

There is no known exploitation of CVE-2026-95512 in the wild and no public exploit code.

## Fix prompt for AI coding agents

```text
Check this codebase for CVE-2026-95512 and fix it if it is affected.

What it is: CVE-2026-95512 is a medium-severity denial of service vulnerability in Red Hat Enterprise Linux 10, published on 2 Oct 2026. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.
Exploitation: There is no known exploitation of CVE-2026-95512 in the wild and no public exploit code.

Affected product: Red Hat Enterprise Linux 10. No package-level version data is available, so check the vendor advisory linked from the reference page.

Task:
1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.
2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.
3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.
4. Run the tests and summarise what changed and why.
5. If nothing in the project is affected, say so and change nothing.

Reference: https://insights.sbomify.com/CVE-2026-95512/ (Markdown: https://insights.sbomify.com/CVE-2026-95512/index.md)
```

## Sources

- CVE record: https://www.cve.org/CVERecord?id=CVE-2026-95512
- NVD: https://nvd.nist.gov/vuln/detail/CVE-2026-95512
- OSV: https://osv.dev/vulnerability/CVE-2026-95512

---
From sbomify Insights: https://insights.sbomify.com/CVE-2026-95512/
Summaries are generated and may contain mistakes; the official description above is the record.
