Heap-based Buffer Overflow Affecting harfbuzz-debugsource package, versions <0:7.0.0-2.amzn2023.0.2


Severity

Recommended
medium

Based on Amazon Linux security rating.

Threat Intelligence

EPSS
0.04% (12th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-AMZN2023-HARFBUZZDEBUGSOURCE-8742208
  • published22 Feb 2025
  • disclosed27 Dec 2024

Introduced: 27 Dec 2024

CVE-2024-56732  (opens in a new tab)
CWE-122  (opens in a new tab)

How to fix?

Upgrade Amazon-Linux:2023 harfbuzz-debugsource to version 0:7.0.0-2.amzn2023.0.2 or higher.
This issue was patched in ALAS2023-2025-848.

NVD Description

Note: Versions mentioned in the description apply only to the upstream harfbuzz-debugsource package and not the harfbuzz-debugsource package as distributed by Amazon-Linux. See How to fix? for Amazon-Linux:2023 relevant fixed versions and status.

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.