CVE-2022-25309: gnu fribidi Heap-based Buffer Overflow
Vulnerability summary
CVE-2022-25309 is a medium (CVSS 5.5) Heap-based Buffer Overflow vulnerability in gnu fribidi. EPSS estimates a 0.50% chance of exploitation in the next 30 days, higher than 42.1% of scored vulnerabilities. 2 public exploits are recorded.
Advisory lineage
Upstream 0 · Downstream 11 · Related 7Timeline
- 06-09-2022PublishedVulnerability first disclosed.
- 03-08-2024Last modifiedVulnerability information updated.
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.
CVSS metrics
4 scores · 4 sources · 1 version- OSV · AlpineEcosystem advisory · calculated5.5MediumCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
- OSV · UbuntuEcosystem advisory · calculated5.5MediumCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
- OSV · DebianEcosystem advisory · calculated5.5MediumCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
EPSS trend
Probability
0.50%
Chance of exploitation in the next 30 days
Percentile
42%
Versus all other CVEs
30-day change
0.00 pp
From 0.50% on 21-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
2 foundFribidi
Maturity: poc
Exploit Reference (bugzilla.redhat.com)
Maturity: unknown
Weaknesses
CWE · root cause- CWE-122Heap-based Buffer OverflowA heap overflow condition is a buffer overflow, where the buffer that can be overwritten is allocated in the heap portion of memory, generally meaning that the buffer was allocated using a routine such as malloc().
- CWE-787Out-of-bounds WriteThe product writes data past the end, or before the beginning, of the intended buffer.
Affected systems
Alpine1 product
- fribidi< 1.0.12-r0
Debian1 product
- fribidi< 1.0.8-2.1
Gnu1 product
- fribidi< 1.0.12
Redhat1 product
- enterprise_linux8.0 | 9.0
Ubuntu1 product
- fribidiAll versions (No fix recorded) | < 0.19.7-1ubuntu0.1~esm1 | < 0.19.7-2ubuntu0.1 | < 1.0.8-2ubuntu0.1 | < 1.0.8-2ubuntu3.1
5 vendors · 5 products
References
12 links- bugzilla.redhat.com/show_bug.cgi?id=2047896X Refsource MISCExploitIssue TrackingThird Party Advisory
- github.com/fribidi/fribidi/commit/f22593b82b5d1668d1997dbccd10a9c31ffea3b3X Refsource MISCREPORTPatchThird Party Advisory