{"schemaVersion":3,"id":"CVE-2022-25308","aliases":["ALPINE-CVE-2022-25308","UBUNTU-CVE-2022-25308","DEBIAN-CVE-2022-25308"],"status":"published","duplicateOf":null,"title":null,"description":"A stack-based buffer overflow flaw was found in the Fribidi package. This flaw allows an attacker to pass a specially crafted file to the Fribidi application, which leads to a possible memory leak or a denial of service.","dates":{"published":"2022-09-06T17:18:52.000Z","modified":"2024-08-03T04:36:06.972Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":7.8,"severity":"high","version":"3.1","versionLabel":"v3.1","source":"NVD","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"OSV · Alpine","score":7.8,"severity":"high","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","exploitability":4.6,"impact":9.8,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Ubuntu","score":7.8,"severity":"high","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","exploitability":4.6,"impact":9.8,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Debian","score":7.8,"severity":"high","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","exploitability":4.6,"impact":9.8,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":7.8,"severity":"high","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.00535,"percentile":0.44049,"severity":"low","asOf":"2026-10-20T00:00:00.000Z","change":{"pp":0,"baselineDate":"2026-09-20T00:00:00.000Z","baselineScore":0.00535},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.00535,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.00535,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.00535,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.00535,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.00535,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.00535,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00535,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00535,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00535,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00535,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00535,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00535,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00535,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00535,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00535,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00535,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00535,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00535,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00535,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00535,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00535,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00535,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00535,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00535,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00535,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00535,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00535,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00535,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00535,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00535,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00535,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00535,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00535,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00535,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00535,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00535,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00535,"percentile":0.44049}],"last30":[{"date":"2026-09-20T00:00:00.000Z","score":0.00535,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00535,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00535,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00535,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00535,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00535,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00535,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00535,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00535,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00535,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00535,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00535,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00535,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00535,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00535,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00535,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00535,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00535,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00535,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00535,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00535,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00535,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00535,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00535,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00535,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00535,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00535,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00535,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00535,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00535,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00535,"percentile":0.44049}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[{"id":"GITHUB_FRIBIDI_FRIBIDI","name":"Fribidi","source":"github","url":"https://github.com/fribidi/fribidi/issues/181","maturity":"poc","reliabilityScore":0.3,"verified":false,"type":null,"platforms":[],"requiresAuth":null,"exploitdb":null,"metasploit":null}],"exploitCount":1,"weaknesses":[{"id":"CWE-121","name":"Stack-based Buffer Overflow","description":"A stack-based buffer overflow condition is a condition where the buffer being overwritten is allocated on the stack (i.e., is a local variable or, rarely, a parameter to a function).","type":"weakness","status":"Draft","abstraction":"Variant","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/121.html"},{"id":"CWE-787","name":"Out-of-bounds Write","description":"The product writes data past the end, or before the beginning, of the intended buffer.","type":"weakness","status":"Draft","abstraction":"Base","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/787.html"}],"affected":[{"vendor":"alpine","product":"fribidi","name":"fribidi","label":"fribidi","ecosystem":"Alpine Linux","cpePart":null,"purl":"pkg:apk/alpine/fribidi","purlType":"apk","versions":[{"text":"< 1.0.12-r0","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 1.0.12-r0","eol":null,"hubHref":null},{"vendor":"debian","product":"fribidi","name":"fribidi","label":"fribidi","ecosystem":"Debian","cpePart":null,"purl":"pkg:deb/debian/fribidi","purlType":"deb","versions":[{"text":"< 1.0.8-2.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 1.0.8-2.1","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"fribidi","name":"fribidi","label":"fribidi","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/fribidi","purlType":"deb","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null},{"text":"< 0.19.7-1ubuntu0.1~esm1","noFixRecorded":false,"fixedIn":null},{"text":"< 0.19.7-2ubuntu0.1","noFixRecorded":false,"fixedIn":null},{"text":"< 1.0.8-2ubuntu0.1","noFixRecorded":false,"fixedIn":null},{"text":"< 1.0.8-2ubuntu3.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"All versions (No fix recorded) | < 0.19.7-1ubuntu0.1~esm1 | < 0.19.7-2ubuntu0.1 | < 1.0.8-2ubuntu0.1 | < 1.0.8-2ubuntu3.1","eol":null,"hubHref":null},{"vendor":"gnu","product":"fribidi","name":"fribidi","label":"fribidi","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"< 1.0.12","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 1.0.12","eol":null,"hubHref":"/vendor/gnu/fribidi"},{"vendor":"redhat","product":"enterprise_linux","name":"enterprise linux","label":"enterprise_linux","ecosystem":null,"cpePart":"o","purl":null,"purlType":null,"versions":[{"text":"8.0","noFixRecorded":false,"fixedIn":null},{"text":"9.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"8.0 | 9.0","eol":{"isEol":false,"eolDate":"2029-05-31T00:00:00.000Z","matchMethod":"cpe","cycle":{"name":"8","label":"8 (Upcoming ELS)","eolFrom":"2029-05-31T00:00:00.000Z","isLts":false,"isMaintained":true,"latestVersion":"8.10"},"product":{"name":"rhel","label":"Red Hat Enterprise Linux","category":"os"}},"hubHref":"/vendor/redhat/enterprise_linux"}],"affectedCount":5,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://github.com/fribidi/fribidi/issues/181","label":"github.com/fribidi/fribidi/issues/181","hostname":"github.com","tags":["X Refsource MISC","REPORT","Exploit","Patch","Third Party Advisory"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2047890","label":"bugzilla.redhat.com/show_bug.cgi?id=2047890","hostname":"bugzilla.redhat.com","tags":["X Refsource MISC","Issue Tracking","Third Party Advisory"]},{"url":"https://github.com/fribidi/fribidi/pull/184","label":"github.com/fribidi/fribidi/pull/184","hostname":"github.com","tags":["X Refsource MISC","Exploit","Third Party Advisory"]},{"url":"https://access.redhat.com/security/cve/CVE-2022-25308","label":"access.redhat.com/security/cve/CVE-2022-25308","hostname":"access.redhat.com","tags":["X Refsource MISC","REPORT","Third Party Advisory"]},{"url":"https://security.alpinelinux.org/vuln/CVE-2022-25308","label":"security.alpinelinux.org/vuln/CVE-2022-25308","hostname":"security.alpinelinux.org","tags":["Advisory"]},{"url":"https://ubuntu.com/security/CVE-2022-25308","label":"ubuntu.com/security/CVE-2022-25308","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://github.com/fribidi/fribidi/commit/ad3a19e6372b1e667128ed1ea2f49919884587e1","label":"github.com/fribidi/fribidi/commit/ad3a19e6372b1e667128ed1ea2f49919884587e1","hostname":"github.com","tags":["REPORT"]},{"url":"https://ubuntu.com/security/notices/USN-5366-1","label":"ubuntu.com/security/notices/USN-5366-1","hostname":"ubuntu.com","tags":["Advisory"]},{"url":"https://ubuntu.com/security/notices/USN-5366-2","label":"ubuntu.com/security/notices/USN-5366-2","hostname":"ubuntu.com","tags":["Advisory"]},{"url":"https://ubuntu.com/security/notices/USN-5922-1","label":"ubuntu.com/security/notices/USN-5922-1","hostname":"ubuntu.com","tags":["Advisory"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2022-25308","label":"www.cve.org/CVERecord?id=CVE-2022-25308","hostname":"www.cve.org","tags":["REPORT"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2022-25308","label":"security-tracker.debian.org/tracker/CVE-2022-25308","hostname":"security-tracker.debian.org","tags":["Advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-25308","label":"nvd.nist.gov/vuln/detail/CVE-2022-25308","hostname":"nvd.nist.gov","tags":["Oval","Advisory"]}],"lineage":{"upstream":[],"downstream":["DLA-2974-1","MGASA-2022-0136","RHSA-2022:7514","RHSA-2022:8011","SUSE-SU-2022:1844-1","SUSE-SU-2022:1845-1","SUSE-SU-2022:1898-1","SUSE-SU-2022:2029-1","USN-5366-1","USN-5366-2","USN-5922-1"],"duplicates":[],"related":["SUSE-SU-2022:1844-1","SUSE-SU-2022:1845-1","SUSE-SU-2022:1898-1","SUSE-SU-2022:2029-1","USN-5366-1","USN-5366-2","USN-5922-1"]},"timeline":[{"kind":"published","date":"2022-09-06T17:18:52.000Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2024-08-03T04:36:06.972Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":41,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-21T02:16:14.898Z","stale":false,"partial":false}}