Skip to content
Noroxi
CVE-2019-18397· NVD / CVE Program· CNA mitre

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 attacke

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.

HighCVSS 7.8 · v3.1—No exploit Fix available
Published
Nov 13, 2019
Updated
Jun 16, 2026
EPSS
2.2% · 82th percentile
Follow this CVE

Sign in to follow · You’ll be notified if a followed record enters KEV, gets an exploit or is updated.

Report tools

JSON

Action score

32

Monitor

Low priority for now.

CVSS
31 / 40 · 7.8 / 10
CISA KEV
0 / 30 · Not listed
EPSS
1 / 30 · 2.2%

Noroxi analysis

No Noroxi analysis for this record yet

We don't hand-write analysis for the hundreds of thousands of vulnerabilities in the database; that wouldn't be honest. For notable, high-impact vulnerabilities our team writes the mechanism, detection and remediation steps.

We use this product, ask for help

Affected systems

VendorProduct
gnufribidi
debiandebian linux

Affected versions

NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.

  • debian debian linux10.0
  • debian debian linux8.0
  • debian debian linux9.0
  • gnu fribidi1.0.0 and later · up to 1.0.7 inclusive

Package-level exposure

OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.

EcosystemPackageAffected rangeFix
Alpine:v3.10fribidifrom 1.0.0 · before 1.0.5-r21.0.5-r2
Alpine:v3.11fribidifrom 1.0.0 · before 1.0.7-r11.0.7-r1
Alpine:v3.8fribidifrom 1.0.0 · before 1.0.2-r11.0.2-r1
Alpine:v3.9fribidifrom 1.0.0 · before 1.0.5-r11.0.5-r1
Debian:10fribidibefore 1.0.5-3.1+deb10u11.0.5-3.1+deb10u1
Debian:12fribidibefore 1.0.7-1.11.0.7-1.1
openSUSE:Leap 15.2fribidibefore 1.0.5-lp152.2.3.11.0.5-lp152.2.3.1
openSUSE:Leap 15.3fribidibefore 1.0.5-3.3.11.0.5-3.3.1
openSUSE:Tumbleweedfribidibefore 1.0.10-2.11.0.10-2.1
Red Hat:enterprise_linux:7::clientfribidibefore 0:1.0.2-1.el7_7.10:1.0.2-1.el7_7.1
Red Hat:enterprise_linux:7::clientfribidi-debuginfobefore 0:1.0.2-1.el7_7.10:1.0.2-1.el7_7.1
Red Hat:enterprise_linux:7::clientfribidi-develbefore 0:1.0.2-1.el7_7.10:1.0.2-1.el7_7.1
Red Hat:enterprise_linux:8::appstreamfribidibefore 0:1.0.4-7.el8_10:1.0.4-7.el8_1
Red Hat:enterprise_linux:8::appstreamfribidi-debuginfobefore 0:1.0.4-7.el8_10:1.0.4-7.el8_1
Red Hat:enterprise_linux:8::appstreamfribidi-debugsourcebefore 0:1.0.4-7.el8_10:1.0.4-7.el8_1
Red Hat:enterprise_linux:8::appstreamfribidi-develbefore 0:1.0.4-7.el8_10:1.0.4-7.el8_1
Red Hat:rhel_e4s:8.0::appstreamfribidibefore 0:1.0.4-6.el8_0.10:1.0.4-6.el8_0.1
Red Hat:rhel_e4s:8.0::appstreamfribidi-debuginfobefore 0:1.0.4-6.el8_0.10:1.0.4-6.el8_0.1
Red Hat:rhel_e4s:8.0::appstreamfribidi-debugsourcebefore 0:1.0.4-6.el8_0.10:1.0.4-6.el8_0.1
Red Hat:rhel_e4s:8.0::appstreamfribidi-develbefore 0:1.0.4-6.el8_0.10:1.0.4-6.el8_0.1
SUSE:Linux Enterprise Module for Basesystem 15 SP2fribidibefore 1.0.5-3.3.11.0.5-3.3.1

Same product

gnu: all records

Other highest-scoring records for the same primary product.

  • CVE-2022-25308A stack-based buffer overflow flaw was found in the Fribidi package.
    31Monitor
  • CVE-2022-25310A segmentation fault (SEGV) flaw was found in the Fribidi package and affects the fribidi_remove_bidi_marks() function of the lib/fribidi.c
    22Monitor
  • CVE-2022-25309A heap-based buffer overflow flaw was found in the Fribidi package and affects the fribidi_cap_rtl_to_unicode() function of the fribidi-char
    22Monitor

Remediation

Which version to upgrade to

Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.

Product / packageFixed versionSource
alpine:fribidi1.0.5-r2 · Alpine:v3.10Package registry (OSV)
debian:fribidi1.0.7-1.1 · Debian:12Package registry (OSV)
opensuse:fribidi1.0.5-lp152.2.3.1 · openSUSE:Leap 15.2Package registry (OSV)
red hat:fribidi0:1.0.2-1.el7_7.1 · Red Hat:enterprise_linux:7::clientPackage registry (OSV)
red hat:fribidi-debuginfo0:1.0.2-1.el7_7.1 · Red Hat:enterprise_linux:7::clientPackage registry (OSV)
red hat:fribidi-debugsource0:1.0.4-7.el8_1 · Red Hat:enterprise_linux:8::appstreamPackage registry (OSV)
red hat:fribidi-devel0:1.0.2-1.el7_7.1 · Red Hat:enterprise_linux:7::clientPackage registry (OSV)
suse:fribidi1.0.5-3.3.1 · SUSE:Linux Enterprise Module for Basesystem 15 SP2Package registry (OSV)

Exploit status

No known public exploit

No public exploit has been observed yet. That doesn't mean you're safe, only that the bar is a little higher.

Research context

For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.

Timeline

From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.

No dated events beyond publication.

EPSS, last 120 days

FIRST EPSS daily score; only changes of 0.01 or more are recorded (step chart).

Patch and commit links

Commit, PR and diff links among the references. A starting point for patch-diffing and variant hunting; fixes, not exploits.

Finders, reporters and analysts named in the CNA record. Click a name for that researcher’s other records.

No credits in the CNA record.

Variant candidates

Same product, same weakness class, within 18 months. If the patch missed the root cause, the sibling bug is here.

No nightly-computed relations.

Chain candidates

An authentication bypass and a privilege-requiring bug in the same product, published close together: combined they may become an unauthenticated path.

—

Bug bounty scope

No known public program.

Source: bounty-targets-data (public HackerOne, Bugcrowd, Intigriti, YesWeHack listings).

Technical details

Attack conditions

  • Someone with local access to the system can trigger it.
  • No account or password is required.
  • A user must open a link or visit a page.
  • No special conditions are required; it is repeatable.

If successful

Confidentiality
high · data can be read
Integrity
high · data or configuration can be modified
Availability
high · the service can be disrupted
Attack vector
Local
Attack complexity
Low
Privileges required
None
User interaction
Required
Scope
Unchanged
Confidentiality impact
High
Integrity impact
High
Availability impact
High

CVSS vector

CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

nvd-primary

Root cause

When data is copied, the source length is not compared with the size of the destination buffer. Excess data overwrites adjacent memory.

A representative example of this vulnerability class. Not the vendor's source code; it shows the faulty pattern and its fix.

Vulnerable

c
char buf[256];memcpy(buf, pkt->data, pkt->len);

Fixed

c
char buf[256];if (pkt->len > sizeof(buf)) {  return -EINVAL;}memcpy(buf, pkt->data, pkt->len);

Change log

  1. Fix✗ → ✓

For records you follow, these changes also arrive as notifications. →

References

All records