CVE-2022-25309

Source
https://nvd.nist.gov/vuln/detail/CVE-2022-25309
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-25309.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2022-25309
Downstream
Related
Published
2022-09-06T18:15:11Z
Modified
2025-10-21T06:59:46.099601Z
Severity
  • 5.5 (Medium) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H CVSS Calculator
Summary
[none]
Details

A heap-based buffer overflow flaw was found in the Fribidi package and affects the fribidicaprtltounicode() 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.

References

Affected packages

Git / github.com/fribidi/fribidi

Affected ranges

Type
GIT
Repo
https://github.com/fribidi/fribidi
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed

Affected versions

0.*

0.19.4
0.19.5
0.19.6
0.19.7

Other

FRIBIDI_0_19_1

v1.*

v1.0.0
v1.0.1
v1.0.10
v1.0.11
v1.0.2
v1.0.3
v1.0.4
v1.0.5
v1.0.6
v1.0.7
v1.0.8
v1.0.9

Database specific

vanir_signatures

[
    {
        "source": "https://github.com/fribidi/fribidi/commit/f22593b82b5d1668d1997dbccd10a9c31ffea3b3",
        "target": {
            "file": "lib/fribidi-char-sets-cap-rtl.c"
        },
        "signature_type": "Line",
        "deprecated": false,
        "signature_version": "v1",
        "id": "CVE-2022-25309-6b1a0181",
        "digest": {
            "line_hashes": [
                "195929187198682414254044189776245323940",
                "192186857396851327318030455048936161433",
                "78482243105926605707148988574504835089",
                "307809941047441329916853161326584498925"
            ],
            "threshold": 0.9
        }
    },
    {
        "source": "https://github.com/fribidi/fribidi/commit/f22593b82b5d1668d1997dbccd10a9c31ffea3b3",
        "target": {
            "function": "fribidi_cap_rtl_to_unicode",
            "file": "lib/fribidi-char-sets-cap-rtl.c"
        },
        "signature_type": "Function",
        "deprecated": false,
        "signature_version": "v1",
        "id": "CVE-2022-25309-d80ae002",
        "digest": {
            "function_hash": "303871518782851192660779115964107174272",
            "length": 1087.0
        }
    }
]