CVE-2019-18397

Source
https://cve.org/CVERecord?id=CVE-2019-18397
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2019-18397.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2019-18397
Downstream
Related
Published
2019-11-13T14:15:10.287Z
Modified
2026-07-08T17:18:30.074767Z
Severity
  • 7.8 (High) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H CVSS Calculator
Summary
[none]
Details

A buffer overflow in the fribidigetparembeddinglevels_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.

Database specific
{
    "unresolved_ranges": [
        {
            "extracted_events": [
                {
                    "introduced": "10.0"
                },
                {
                    "last_affected": "10.0"
                },
                {
                    "introduced": "8.0"
                },
                {
                    "last_affected": "8.0"
                },
                {
                    "introduced": "9.0"
                },
                {
                    "last_affected": "9.0"
                },
                {
                    "introduced": "10.0"
                },
                {
                    "last_affected": "10.0"
                }
            ],
            "source": "CPE_STRING",
            "vendor_product": "debian:debian_linux",
            "cpes": [
                "cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:*",
                "cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:*",
                "cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*"
            ]
        }
    ]
}
References

Affected packages

Git / github.com/fribidi/fribidi

Affected ranges

Type
GIT
Repo
https://github.com/fribidi/fribidi
Events
Database specific
{
    "source": [
        "CPE_RANGE",
        "REFERENCES"
    ],
    "cpe": "cpe:2.3:a:gnu:fribidi:*:*:*:*:*:*:*:*",
    "extracted_events": [
        {
            "introduced": "1.0.0"
        },
        {
            "last_affected": "1.0.7"
        }
    ]
}

Affected versions

v1.*
v1.0.0
v1.0.1
v1.0.2
v1.0.3
v1.0.4
v1.0.5
v1.0.6
v1.0.7

Database specific

vanir_signatures_modified
"2026-07-08T17:18:30Z"
source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2019-18397.json"
vanir_signatures
[
    {
        "id": "CVE-2019-18397-a4060ad7",
        "digest": {
            "line_hashes": [
                "81998630060188356797033002215980650049",
                "157692335296880058587528312676677773649",
                "254617841547356102856284239003018292264",
                "64856564019526216929120098957523904441"
            ],
            "threshold": 0.9
        },
        "signature_version": "v1",
        "signature_type": "Line",
        "source": "https://github.com/fribidi/fribidi/commit/034c6e9a1d296286305f4cfd1e0072b879f52568",
        "deprecated": false,
        "target": {
            "file": "lib/fribidi-bidi.c"
        }
    },
    {
        "id": "CVE-2019-18397-dd25e494",
        "digest": {
            "function_hash": "306583254731306983363013813531174641007",
            "length": 12887.0
        },
        "signature_version": "v1",
        "signature_type": "Function",
        "source": "https://github.com/fribidi/fribidi/commit/034c6e9a1d296286305f4cfd1e0072b879f52568",
        "deprecated": false,
        "target": {
            "function": "fribidi_get_par_embedding_levels_ex",
            "file": "lib/fribidi-bidi.c"
        }
    }
]