# CVE-2023-25193: Denial of service in n/a

> Attackers can cause excessive CPU consumption and service disruption in applications using HarfBuzz by sending crafted text with consecutive marks.

- **Severity:** High 7.5 (`CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`)
- **Exploited in the wild:** Not known
- **Login needed:** Not needed
- **Attackable:** Over the internet
- **Victim action needed:** Not needed
- **Fix available:** Yes
- **Published:** 4 Feb 2023
- **Updated:** 25 Mar 2025
- **Also known as:** ALSA-2024:2410, ALSA-2024:2980, AZL-13303, BIT-java-2023-25193, BIT-java-min-2023-25193, BIT-jre-2023-25193, CLEANSTART-2026-SZ14133, CLSA-2024-1723795896, CLSA-2025-1745945560, CLSA-2026-1776762459, CLSA-2026-1791492849, CLSA-2026-1792440965, DEBIAN-CVE-2023-25193, ECHO-4f23-7a7e-c10a, GHSA-v8ff-vmc3-wr4m, JLSEC-2025-175, MINI-2w9w-fvcf-fq6w, MINI-4c7v-qrpj-2qx7, MINI-6f5h-vxjp-c6r3, MINI-6rqr-c39h-wp6f, MINI-m379-h7qv-3jfv, MINI-wq5x-45p3-f585, MINI-x79g-49r2-8vhp, MINI-xq74-q4x4-5r7m, OESA-2023-1083, OESA-2023-1111, RHSA-2024:2410, RHSA-2024:2980, RLSA-2024:2410, RLSA-2024:2980, ROOT-OS-DEBIAN-11-CVE-2023-25193, ROOT-OS-DEBIAN-12-CVE-2023-25193, SUSE-SU-2023:1820-1, SUSE-SU-2023:1821-1, SUSE-SU-2023:1822-1, SUSE-SU-2023:1852-1, UBUNTU-CVE-2023-25193, USN-7251-1, openSUSE-SU-2024:12660-1

## What is CVE-2023-25193?

CVE-2023-25193 is a high-severity denial of service vulnerability in Fedoraproject Fedora, published on 4 Feb 2023. An attacker can exploit it over the internet without logging in, with no action from the victim.

### Official description

hb-ot-layout-gsubgpos.hh in HarfBuzz through 6.0.0 allows attackers to trigger O(n^2) growth via consecutive marks during the process of looking back for base glyphs when attaching marks.

Weakness: CWE-770 (Allocation of Resources Without Limits or Throttling)

## Which versions are affected by CVE-2023-25193?

3 open source packages ship an affected version, including java, java-min and jre. It affects 2 products.


| Package | Ecosystem | Affected | Fixed in |
| --- | --- | --- | --- |
| `java` | Bitnami | From 9.0.0 | 11.0.20, 17.0.8, 20.0.2 |
| `java-min` | Bitnami | From 9.0.0 | 11.0.20, 17.0.8, 20.0.2 |
| `jre` | Bitnami | From 9.0.0 | 11.0.20, 17.0.8, 20.0.2 |
| `harfbuzz` | AlmaLinux:8 | All versions | 1.7.5-4.el8 |
| `harfbuzz-devel` | AlmaLinux:8 | All versions | 1.7.5-4.el8 |
| `harfbuzz-icu` | AlmaLinux:8 | All versions | 1.7.5-4.el8 |
| `harfbuzz` | AlmaLinux:9 | All versions | 2.7.4-10.el9 |
| `harfbuzz-devel` | AlmaLinux:9 | All versions | 2.7.4-10.el9 |
| `harfbuzz-icu` | AlmaLinux:9 | All versions | 2.7.4-10.el9 |
| `harfbuzz` | Red Hat:enterprise_linux:8::appstream | All versions | 0:1.7.5-4.el8 |
| `harfbuzz-debuginfo` | Red Hat:enterprise_linux:8::appstream | All versions | 0:1.7.5-4.el8 |
| `harfbuzz-debugsource` | Red Hat:enterprise_linux:8::appstream | All versions | 0:1.7.5-4.el8 |
| `harfbuzz-devel` | Red Hat:enterprise_linux:8::appstream | All versions | 0:1.7.5-4.el8 |
| `harfbuzz-devel-debuginfo` | Red Hat:enterprise_linux:8::appstream | All versions | 0:1.7.5-4.el8 |
| `harfbuzz-icu` | Red Hat:enterprise_linux:8::appstream | All versions | 0:1.7.5-4.el8 |
| `harfbuzz-icu-debuginfo` | Red Hat:enterprise_linux:8::appstream | All versions | 0:1.7.5-4.el8 |
| `harfbuzz` | Red Hat:enterprise_linux:9::appstream | All versions | 0:2.7.4-10.el9 |
| `harfbuzz-debuginfo` | Red Hat:enterprise_linux:9::appstream | All versions | 0:2.7.4-10.el9 |
| `harfbuzz-debugsource` | Red Hat:enterprise_linux:9::appstream | All versions | 0:2.7.4-10.el9 |
| `harfbuzz-devel` | Red Hat:enterprise_linux:9::appstream | All versions | 0:2.7.4-10.el9 |
| `harfbuzz-devel-debuginfo` | Red Hat:enterprise_linux:9::appstream | All versions | 0:2.7.4-10.el9 |
| `harfbuzz-icu` | Red Hat:enterprise_linux:9::appstream | All versions | 0:2.7.4-10.el9 |
| `harfbuzz-icu-debuginfo` | Red Hat:enterprise_linux:9::appstream | All versions | 0:2.7.4-10.el9 |
| `harfbuzz` | Red Hat:enterprise_linux:9::baseos | All versions | 0:2.7.4-10.el9 |
| `harfbuzz-debuginfo` | Red Hat:enterprise_linux:9::baseos | All versions | 0:2.7.4-10.el9 |
| `harfbuzz-debugsource` | Red Hat:enterprise_linux:9::baseos | All versions | 0:2.7.4-10.el9 |
| `harfbuzz-devel-debuginfo` | Red Hat:enterprise_linux:9::baseos | All versions | 0:2.7.4-10.el9 |
| `harfbuzz-icu-debuginfo` | Red Hat:enterprise_linux:9::baseos | All versions | 0:2.7.4-10.el9 |
| `harfbuzz` | Rocky Linux:8 | All versions | 0:1.7.5-4.el8 |
| `harfbuzz` | Rocky Linux:9 | All versions | 0:2.7.4-10.el9 |
| `harfbuzz` | SUSE:Enterprise Storage 7 | All versions | 2.6.4-150200.3.6.1 |
| `harfbuzz` | SUSE:Enterprise Storage 7.1 | All versions | 2.6.4-150200.3.6.1 |
| `harfbuzz` | SUSE:Linux Enterprise High Performance Computing 15 SP1-LTSS | All versions | 1.7.5-150000.3.3.1 |
| `harfbuzz` | SUSE:Linux Enterprise High Performance Computing 15 SP2-LTSS | All versions | 2.6.4-150200.3.6.1 |
| `harfbuzz` | SUSE:Linux Enterprise High Performance Computing 15 SP3-ESPOS | All versions | 2.6.4-150200.3.6.1 |
| `harfbuzz` | SUSE:Linux Enterprise High Performance Computing 15 SP3-LTSS | All versions | 2.6.4-150200.3.6.1 |
| `harfbuzz` | SUSE:Linux Enterprise Micro 5.2 | All versions | 2.6.4-150200.3.6.1 |
| `harfbuzz` | SUSE:Linux Enterprise Micro 5.3 | All versions | 3.4.0-150400.3.6.1 |
| `harfbuzz` | SUSE:Linux Enterprise Micro 5.4 | All versions | 3.4.0-150400.3.6.1 |
| `harfbuzz` | SUSE:Linux Enterprise Module for Basesystem 15 SP4 | All versions | 3.4.0-150400.3.6.1 |

Products: Fedoraproject Fedora, Harfbuzz Project Harfbuzz.

## How do I fix CVE-2023-25193?

Upgrade java to a fixed version for your release line: 11.0.20, 17.0.8 or 20.0.2.

## Is CVE-2023-25193 being exploited?

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

## Other vulnerabilities in Fedoraproject Fedora

- [CVE-2024-4577](https://insights.sbomify.com/CVE-2024-4577/): PHP-CGI OS Command Injection (critical 9.8, exploited in the wild)
- [CVE-2021-39226](https://insights.sbomify.com/CVE-2021-39226/): Grafana Authentication Bypass (critical 9.8, exploited in the wild)
- [CVE-2019-5544](https://insights.sbomify.com/CVE-2019-5544/): VMware ESXi and Horizon DaaS OpenSLP Heap-Based Buffer Overflow (critical 9.8, exploited in the wild)
- [CVE-2024-4947](https://insights.sbomify.com/CVE-2024-4947/): Google Chromium V8 Type Confusion (critical 9.6, exploited in the wild)
- [CVE-2024-4671](https://insights.sbomify.com/CVE-2024-4671/): Google Chromium Visuals Use-After-Free (critical 9.6, exploited in the wild)

## Fix prompt for AI coding agents

```text
Check this codebase for CVE-2023-25193 and fix it if it is affected.

What it is: CVE-2023-25193 is a high-severity denial of service vulnerability in Fedoraproject Fedora, published on 4 Feb 2023. An attacker can exploit it over the internet without logging in, with no action from the victim.
Exploitation: There is no known exploitation of CVE-2023-25193 in the wild and no public exploit code.

Affected packages and fixed versions:
- java (Bitnami): affected from 9.0.0; fixed in 11.0.20, 17.0.8, 20.0.2
- java-min (Bitnami): affected from 9.0.0; fixed in 11.0.20, 17.0.8, 20.0.2
- jre (Bitnami): affected from 9.0.0; fixed in 11.0.20, 17.0.8, 20.0.2

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-2023-25193/ (Markdown: https://insights.sbomify.com/CVE-2023-25193/index.md)
```

## Sources

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

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