CVE-2024-56732 HarfBuzz heap-buffer-overflow on hb_cairo_glyphs_from_buffer
A heap-based buffer overflow in HarfBuzz allows attackers to execute arbitrary code or cause denial of service via crafted text input.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2024-56732?
CVE-2024-56732 is a critical memory corruption vulnerability in harfbuzz, published on 27 Dec 2024. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
HarfBuzz is a text shaping engine. Starting with 8.5.0 through 10.0.1, there is a heap-based buffer overflow in the hb_cairo_glyphs_from_buffer function.
Weakness: CWE-122
Which versions are affected by CVE-2024-56732?
It affects 1 product.
Linux distribution packages (1)
harfbuzz openSUSE:Tumbleweed | All versions | 10.1.0-2.1 |
Products include Harfbuzz Project Harfbuzz.
How do I fix CVE-2024-56732?
Upgrade to a fixed version.
Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.
Is CVE-2024-56732 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-56732 exists.
Other vulnerabilities in harfbuzz
Sources
Also known as AZL-54701, AZL-54704, BELL-CVE-2024-56732, DEBIAN-CVE-2024-56732, GHSA-qmp9-xqm5-jh6m, JLSEC-2026-776 and 5 more.