CVE-2022-25309

Source
https://cve.org/CVERecord?id=CVE-2022-25309
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2022-25309.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2022-25309
Downstream
Related
Published
2022-09-06T18:15:11.493Z
Modified
2026-04-16T00:01:35.111434736Z
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.

Database specific
{
    "unresolved_ranges": [
        {
            "cpe": "cpe:2.3:o:redhat:enterprise_linux:8.0:*:*:*:*:*:*:*",
            "source": "CPE_FIELD",
            "extracted_events": [
                {
                    "last_affected": "8.0"
                }
            ]
        },
        {
            "cpe": "cpe:2.3:o:redhat:enterprise_linux:9.0:*:*:*:*:*:*:*",
            "source": "CPE_FIELD",
            "extracted_events": [
                {
                    "last_affected": "9.0"
                }
            ]
        }
    ]
}
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
Fixed
Database specific
{
    "cpe": "cpe:2.3:a:gnu:fribidi:*:*:*:*:*:*:*:*",
    "source": [
        "CPE_FIELD",
        "REFERENCES"
    ],
    "extracted_events": [
        {
            "introduced": "0"
        },
        {
            "fixed": "1.0.12"
        }
    ]
}

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

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2022-25309.json"
vanir_signatures_modified
"2026-04-12T04:42:05Z"
vanir_signatures
[
    {
        "signature_version": "v1",
        "source": "https://github.com/fribidi/fribidi/commit/f22593b82b5d1668d1997dbccd10a9c31ffea3b3",
        "signature_type": "Line",
        "digest": {
            "line_hashes": [
                "195929187198682414254044189776245323940",
                "192186857396851327318030455048936161433",
                "78482243105926605707148988574504835089",
                "307809941047441329916853161326584498925"
            ],
            "threshold": 0.9
        },
        "target": {
            "file": "lib/fribidi-char-sets-cap-rtl.c"
        },
        "id": "CVE-2022-25309-6b1a0181",
        "deprecated": false
    },
    {
        "signature_version": "v1",
        "source": "https://github.com/fribidi/fribidi/commit/f22593b82b5d1668d1997dbccd10a9c31ffea3b3",
        "digest": {
            "length": 1087.0,
            "function_hash": "303871518782851192660779115964107174272"
        },
        "signature_type": "Function",
        "deprecated": false,
        "id": "CVE-2022-25309-d80ae002",
        "target": {
            "function": "fribidi_cap_rtl_to_unicode",
            "file": "lib/fribidi-char-sets-cap-rtl.c"
        }
    }
]