CVE-2022-25309 Memory corruption in fribidi
A heap-based buffer overflow in Fribidi allows attackers to cause a denial of service via a crafted file processed with the --caprtl option.
- 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
What is CVE-2022-25309?
CVE-2022-25309 is a medium-severity memory corruption vulnerability in Redhat Enterprise Linux, published on 6 Sep 2022. 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 heap-based buffer overflow flaw was found in the Fribidi package and affects the fribidi_cap_rtl_to_unicode() function of the fribidi-char-sets-cap-rtl.c file. This flaw allows an attacker to pass a specially crafted file to the Fribidi application with the '--caprtl' option, leading to a crash and causing a denial of service.
Which versions are affected by CVE-2022-25309?
It affects 2 products.
Products include Gnu Fribidi, Redhat Enterprise Linux.
How do I fix CVE-2022-25309?
Apply the vendor's patch.
Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.
Is CVE-2022-25309 being exploited?
There is no known exploitation of CVE-2022-25309 in the wild and no public exploit code.
Other vulnerabilities in Redhat Enterprise Linux
Sources
Also known as ALPINE-CVE-2022-25309, AZL-10887, DEBIAN-CVE-2022-25309, GHSA-4fjx-j6jj-8pm5, JLSEC-2025-171, ROOT-OS-ALPINE-315-CVE-2022-25309 and 1 more.