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-04-02T00:20:15.553186Z
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.

References

Affected packages

Git / github.com/fribidi/fribidi

Affected ranges

Type
GIT
Repo
https://github.com/fribidi/fribidi
Events
Database specific
{
    "versions": [
        {
            "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

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2019-18397.json"
unresolved_ranges
[
    {
        "events": [
            {
                "introduced": "0"
            },
            {
                "last_affected": "10.0"
            }
        ]
    },
    {
        "events": [
            {
                "introduced": "0"
            },
            {
                "last_affected": "8.0"
            }
        ]
    },
    {
        "events": [
            {
                "introduced": "0"
            },
            {
                "last_affected": "9.0"
            }
        ]
    },
    {
        "events": [
            {
                "introduced": "0"
            },
            {
                "last_affected": "10.0"
            }
        ]
    }
]
vanir_signatures
[
    {
        "deprecated": false,
        "signature_type": "Line",
        "signature_version": "v1",
        "digest": {
            "line_hashes": [
                "81998630060188356797033002215980650049",
                "157692335296880058587528312676677773649",
                "254617841547356102856284239003018292264",
                "64856564019526216929120098957523904441"
            ],
            "threshold": 0.9
        },
        "source": "https://github.com/fribidi/fribidi/commit/034c6e9a1d296286305f4cfd1e0072b879f52568",
        "id": "CVE-2019-18397-a4060ad7",
        "target": {
            "file": "lib/fribidi-bidi.c"
        }
    },
    {
        "deprecated": false,
        "signature_type": "Function",
        "signature_version": "v1",
        "digest": {
            "function_hash": "306583254731306983363013813531174641007",
            "length": 12887.0
        },
        "source": "https://github.com/fribidi/fribidi/commit/034c6e9a1d296286305f4cfd1e0072b879f52568",
        "id": "CVE-2019-18397-dd25e494",
        "target": {
            "file": "lib/fribidi-bidi.c",
            "function": "fribidi_get_par_embedding_levels_ex"
        }
    }
]