Description
A buffer overflow in the fribidi_get_par_embedding_levels_ex() function in lib/fribidi-bidi.c of GNU FriBidi through 1.0.7 allows an attacker to cause a denial of service or possibly execute arbitrary code by delivering crafted text content to a user, when this content is then rendered by an application that uses FriBidi for text layout calculations. Examples include any GNOME or GTK+ based application that uses Pango for text layout, as this internally uses FriBidi for bidirectional text layout. For example, the attacker can construct a crafted text file to be opened in GEdit, or a crafted IRC message to be viewed in HexChat.
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | fribidi | 1.0.7-1.1 | — |
| Debian 13 | fribidi | 1.0.7-1.1 | — |
| Debian 12 | fribidi | 1.0.7-1.1 | — |
| Debian 10 | fribidi | 1.0.5-3.1+deb10u1 | DSA-4561-1 |
Red Hat
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| RHEL 8 | fribidi +1 | 1.0.4-7.el8_1 | RHSA-2019:4361 |
| RHEL 7 | fribidi +1 | 1.0.2-1.el7_7.1 | RHSA-2019:4326 |
Show 1 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| RHEL 8.0 E4S | fribidi +1 | 1.0.4-6.el8_0.1 | RHSA-2020:0291 |
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES 15 SP3 | fribidi | 1.0.5-3.3.1 | SUSE-SU-2021:1655-1 |
| SLES 15 SP2 | fribidi | 1.0.5-3.3.1 | SUSE-SU-2021:1655-1 |
Show 1 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLE Micro 5.0 | fribidi | 1.0.5-3.3.1 | SUSE-SU-2021:1655-1 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | fribidi | 1.0.10-2.1 | openSUSE-SU-2024:10772-1 |
| openSUSE Leap 15.3 | fribidi | 1.0.5-3.3.1 | openSUSE-SU-2021:1655-1 |
| openSUSE Leap 15.2 | fribidi | 1.0.5-lp152.2.3.1 | openSUSE-SU-2021:0763-1 |
Alpine
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine v3.24 | fribidi | 1.0.7-r1 | — |
| Alpine v3.23 | fribidi | 1.0.7-r1 | — |
| Alpine v3.22 | fribidi | 1.0.7-r1 | — |
| Alpine v3.21 | fribidi | 1.0.7-r1 | — |
| Alpine v3.20 | fribidi | 1.0.7-r1 | — |
Show 12 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine v3.19 | fribidi | 1.0.7-r1 | — |
| Alpine v3.18 | fribidi | 1.0.7-r1 | — |
| Alpine v3.17 | fribidi | 1.0.7-r1 | — |
| Alpine v3.16 | fribidi | 1.0.7-r1 | — |
| Alpine v3.15 | fribidi | 1.0.7-r1 | — |
| Alpine v3.14 | fribidi | 1.0.7-r1 | — |
| Alpine v3.13 | fribidi | 1.0.7-r1 | — |
| Alpine v3.12 | fribidi | 1.0.7-r1 | — |
| Alpine v3.11 | fribidi | 1.0.7-r1 | — |
| Alpine v3.10 | fribidi | 1.0.5-r2 | — |
| Alpine v3.9 | fribidi | 1.0.5-r1 | — |
| Alpine v3.8 | fribidi | 1.0.2-r1 | — |
Amazon Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Amazon Linux 2 | fribidi +1 | 1.0.2-1.amzn2.1 | ALAS2-2020-1434 |
Oracle Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Oracle Linux 8 | fribidi +1 | 1.0.4-7.el8_1 | ELSA-2019-4361 |
| Oracle Linux 7 | fribidi +1 | 1.0.2-1.el7_7.1 | ELSA-2019-4326 |
Advisories 11
- RHSA-2020:0291 Red Hat Security Advisory: fribidi security update Red Hat Security Advisories (RHSA) · Jun 27, 2026
- RHSA-2019:4361 Red Hat Security Advisory: fribidi security update Red Hat Security Advisories (RHSA) · Jun 27, 2026
- RHSA-2019:4326 Red Hat Security Advisory: fribidi security update Red Hat Security Advisories (RHSA) · Jun 27, 2026
- DSA-4561-1 fribidi - security update Debian Security (DSA / DLA) · Mar 9, 2026
- SUSE-SU-2021:1655-1 Security update for fribidi SUSE / openSUSE Security Updates · Feb 4, 2026
- openSUSE-SU-2021:1655-1 Security update for fribidi SUSE / openSUSE Security Updates · Feb 4, 2026
- openSUSE-SU-2021:0763-1 Security update for fribidi SUSE / openSUSE Security Updates · Feb 4, 2026
- openSUSE-SU-2024:10772-1 fribidi-1.0.10-2.1 on GA media SUSE / openSUSE Security Updates · Feb 4, 2026
- ALAS2-2020-1434 Important: fribidi security update (Amazon Linux 2) Amazon Linux Security Center (ALAS) · Jun 3, 2020
- ELSA-2019-4361 Important: fribidi security update (Oracle Linux 8) Oracle Linux Security Advisories (ELSA) · Dec 23, 2019
- ELSA-2019-4326 Important: fribidi security update (Oracle Linux 7) Oracle Linux Security Advisories (ELSA) · Dec 20, 2019
References
- https://github.com/fribidi/fribidi/commit/034c6e9a1d296286305f4cfd1e0072b879f52568
- https://marc.info/?l=oss-security&m=157322128105807&w=2
- https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=944327
- https://security-tracker.debian.org/tracker/CVE-2019-18397
- FEDORA-2019-7075bc4ff8 vendor-advisory
- RHSA-2019:4326 vendor-advisory
- FEDORA-2019-533a72fec5 vendor-advisory
- RHSA-2019:4361 vendor-advisory
- RHSA-2020:0291 vendor-advisory
- GLSA-202003-41 vendor-advisory