{"schemaVersion":3,"id":"CVE-2020-22628","aliases":["SUSE-SU-2023:3966-1","SUSE-SU-2023:3967-1","SUSE-SU-2023:3968-1","UBUNTU-CVE-2020-22628","USN-6377-1","DEBIAN-CVE-2020-22628","DLA-3560-1","openSUSE-SU-2024:13252-1"],"status":"published","duplicateOf":null,"title":null,"description":"Buffer Overflow vulnerability in LibRaw::stretch() function in libraw\\src\\postprocessing\\aspect_ratio.cpp.","dates":{"published":"2023-08-22T00:00:00.000Z","modified":"2024-10-03T18:04:08.106Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":6.5,"severity":"medium","version":"3.1","versionLabel":"v3.1","source":"NVD","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"OSV · Ubuntu","score":6.5,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","exploitability":7.2,"impact":6,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Debian","score":6.5,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","exploitability":7.2,"impact":6,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":6.5,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.00772,"percentile":0.54935,"severity":"low","asOf":"2026-10-20T00:00:00.000Z","change":{"pp":0,"baselineDate":"2026-09-20T00:00:00.000Z","baselineScore":0.00772},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.00772,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.00772,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.00772,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.00772,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.00772,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.00772,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00772,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00772,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00772,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00772,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00772,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00772,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00772,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00772,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00772,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00772,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00772,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00772,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00772,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00772,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00772,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00772,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00772,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00772,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00772,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00772,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00772,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00772,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00772,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00772,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00772,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00772,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00772,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00772,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00772,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00772,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00772,"percentile":0.54935}],"last30":[{"date":"2026-09-20T00:00:00.000Z","score":0.00772,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00772,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00772,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00772,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00772,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00772,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00772,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00772,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00772,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00772,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00772,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00772,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00772,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00772,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00772,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00772,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00772,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00772,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00772,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00772,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00772,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00772,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00772,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00772,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00772,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00772,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00772,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00772,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00772,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00772,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00772,"percentile":0.54935}]},"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_LIBRAW_LIBRAW","name":"Libraw","source":"github","url":"https://github.com/LibRaw/LibRaw/commit/11909cc59e712e09b508dda729b99aeaac2b29ad","maturity":"poc","reliabilityScore":0.3,"verified":false,"type":null,"platforms":[],"requiresAuth":null,"exploitdb":null,"metasploit":null}],"exploitCount":1,"weaknesses":[{"id":"CWE-120","name":"Buffer Copy without Checking Size of Input ('Classic Buffer Overflow')","description":"The product copies an input buffer to an output buffer without verifying that the size of the input buffer is less than the size of the output buffer.","type":"weakness","status":"Incomplete","abstraction":"Base","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/120.html"}],"affected":[{"vendor":"debian","product":"libraw","name":"libraw","label":"libraw","ecosystem":"Debian","cpePart":null,"purl":"pkg:deb/debian/libraw","purlType":"deb","versions":[{"text":"< 0.20.0-4","noFixRecorded":false,"fixedIn":null},{"text":"< 0.19.2-2+deb10u4","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 0.20.0-4 | < 0.19.2-2+deb10u4","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"darktable","name":"darktable","label":"darktable","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/darktable","purlType":"deb","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"dcraw","name":"dcraw","label":"dcraw","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/dcraw","purlType":"deb","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"digikam","name":"digikam","label":"digikam","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/digikam","purlType":"deb","versions":[{"text":"< 4:6.4.0+dfsg-3ubuntu0.1~esm1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 4:6.4.0+dfsg-3ubuntu0.1~esm1","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"exactimage","name":"exactimage","label":"exactimage","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/exactimage","purlType":"deb","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"kodi","name":"kodi","label":"kodi","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/kodi","purlType":"deb","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"libraw","name":"libraw","label":"libraw","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/libraw","purlType":"deb","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null},{"text":"< 0.19.5-1ubuntu1.3","noFixRecorded":false,"fixedIn":null}],"versionsText":"All versions (No fix recorded) | < 0.19.5-1ubuntu1.3","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"rawtherapee","name":"rawtherapee","label":"rawtherapee","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/rawtherapee","purlType":"deb","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"ufraw","name":"ufraw","label":"ufraw","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/ufraw","purlType":"deb","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"libraw","product":"libraw","name":"LibRaw","label":"libraw","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≤ 0.19.5","noFixRecorded":false,"fixedIn":null}],"versionsText":"≤ 0.19.5","eol":null,"hubHref":"/vendor/libraw/libraw"},{"vendor":"opensuse","product":"libraw&distro=openSUSE Leap 15.4","name":"libraw","label":"libraw&distro=openSUSE Leap 15.4","ecosystem":"openSUSE","cpePart":null,"purl":"pkg:rpm/opensuse/libraw&distro=openSUSE Leap 15.4","purlType":"rpm","versions":[{"text":"< 0.18.9-150000.3.23.1","noFixRecorded":false,"fixedIn":null},{"text":"< 0.20.2-150400.3.9.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 0.18.9-150000.3.23.1 | < 0.20.2-150400.3.9.1","eol":null,"hubHref":null},{"vendor":"opensuse","product":"libraw&distro=openSUSE Leap 15.5","name":"libraw","label":"libraw&distro=openSUSE Leap 15.5","ecosystem":"openSUSE","cpePart":null,"purl":"pkg:rpm/opensuse/libraw&distro=openSUSE Leap 15.5","purlType":"rpm","versions":[{"text":"< 0.20.2-150400.3.9.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 0.20.2-150400.3.9.1","eol":null,"hubHref":null},{"vendor":"opensuse","product":"libraw&distro=openSUSE Tumbleweed","name":"libraw","label":"libraw&distro=openSUSE Tumbleweed","ecosystem":"openSUSE","cpePart":null,"purl":"pkg:rpm/opensuse/libraw&distro=openSUSE Tumbleweed","purlType":"rpm","versions":[{"text":"< 0.21.1-3.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 0.21.1-3.1","eol":null,"hubHref":null},{"vendor":"suse","product":"libraw&distro=SUSE Linux Enterprise Module for Desktop Applications 15 SP4","name":"libraw","label":"libraw&distro=SUSE Linux Enterprise Module for Desktop Applications 15 SP4","ecosystem":"SUSE Linux Enterprise","cpePart":null,"purl":"pkg:rpm/suse/libraw&distro=SUSE Linux Enterprise Module for Desktop Applications 15 SP4","purlType":"rpm","versions":[{"text":"< 0.20.2-150400.3.9.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 0.20.2-150400.3.9.1","eol":null,"hubHref":null},{"vendor":"suse","product":"libraw&distro=SUSE Linux Enterprise Module for Desktop Applications 15 SP5","name":"libraw","label":"libraw&distro=SUSE Linux Enterprise Module for Desktop Applications 15 SP5","ecosystem":"SUSE Linux Enterprise","cpePart":null,"purl":"pkg:rpm/suse/libraw&distro=SUSE Linux Enterprise Module for Desktop Applications 15 SP5","purlType":"rpm","versions":[{"text":"< 0.20.2-150400.3.9.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 0.20.2-150400.3.9.1","eol":null,"hubHref":null},{"vendor":"suse","product":"libraw&distro=SUSE Linux Enterprise Module for Package Hub 15 SP5","name":"libraw","label":"libraw&distro=SUSE Linux Enterprise Module for Package Hub 15 SP5","ecosystem":"SUSE Linux Enterprise","cpePart":null,"purl":"pkg:rpm/suse/libraw&distro=SUSE Linux Enterprise Module for Package Hub 15 SP5","purlType":"rpm","versions":[{"text":"< 0.20.2-150400.3.9.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 0.20.2-150400.3.9.1","eol":null,"hubHref":null},{"vendor":"suse","product":"libraw&distro=SUSE Linux Enterprise Software Development Kit 12 SP5","name":"libraw","label":"libraw&distro=SUSE Linux Enterprise Software Development Kit 12 SP5","ecosystem":"SUSE Linux Enterprise","cpePart":null,"purl":"pkg:rpm/suse/libraw&distro=SUSE Linux Enterprise Software Development Kit 12 SP5","purlType":"rpm","versions":[{"text":"< 0.15.4-42.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 0.15.4-42.1","eol":null,"hubHref":null},{"vendor":"suse","product":"libraw&distro=SUSE Linux Enterprise Workstation Extension 12 SP5","name":"libraw","label":"libraw&distro=SUSE Linux Enterprise Workstation Extension 12 SP5","ecosystem":"SUSE Linux Enterprise","cpePart":null,"purl":"pkg:rpm/suse/libraw&distro=SUSE Linux Enterprise Workstation Extension 12 SP5","purlType":"rpm","versions":[{"text":"< 0.15.4-42.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 0.15.4-42.1","eol":null,"hubHref":null},{"vendor":"suse","product":"libraw&distro=SUSE Linux Enterprise Workstation Extension 15 SP4","name":"libraw","label":"libraw&distro=SUSE Linux Enterprise Workstation Extension 15 SP4","ecosystem":"SUSE Linux Enterprise","cpePart":null,"purl":"pkg:rpm/suse/libraw&distro=SUSE Linux Enterprise Workstation Extension 15 SP4","purlType":"rpm","versions":[{"text":"< 0.18.9-150000.3.23.1","noFixRecorded":false,"fixedIn":null},{"text":"< 0.20.2-150400.3.9.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 0.18.9-150000.3.23.1 | < 0.20.2-150400.3.9.1","eol":null,"hubHref":null},{"vendor":"suse","product":"libraw&distro=SUSE Linux Enterprise Workstation Extension 15 SP5","name":"libraw","label":"libraw&distro=SUSE Linux Enterprise Workstation Extension 15 SP5","ecosystem":"SUSE Linux Enterprise","cpePart":null,"purl":"pkg:rpm/suse/libraw&distro=SUSE Linux Enterprise Workstation Extension 15 SP5","purlType":"rpm","versions":[{"text":"< 0.18.9-150000.3.23.1","noFixRecorded":false,"fixedIn":null},{"text":"< 0.20.2-150400.3.9.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 0.18.9-150000.3.23.1 | < 0.20.2-150400.3.9.1","eol":null,"hubHref":null}],"affectedCount":20,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://github.com/LibRaw/LibRaw/issues/269","label":"github.com/LibRaw/LibRaw/issues/269","hostname":"github.com","tags":["Exploit","Issue Tracking","Patch","Third Party Advisory"]},{"url":"https://lists.debian.org/debian-lts-announce/2023/09/msg00007.html","label":"lists.debian.org/debian-lts-announce/2023/09/msg00007.html","hostname":"lists.debian.org","tags":["Mailing List","Third Party Advisory"]},{"url":"https://www.suse.com/support/update/announcement/2023/suse-su-20233966-1/","label":"www.suse.com/support/update/announcement/2023/suse-su-20233966-1/","hostname":"www.suse.com","tags":["Advisory"]},{"url":"https://bugzilla.suse.com/1215308","label":"bugzilla.suse.com/1215308","hostname":"bugzilla.suse.com","tags":["REPORT"]},{"url":"https://www.suse.com/security/cve/CVE-2020-22628","label":"www.suse.com/security/cve/CVE-2020-22628","hostname":"www.suse.com","tags":["WEB"]},{"url":"https://www.suse.com/support/update/announcement/2023/suse-su-20233967-1/","label":"www.suse.com/support/update/announcement/2023/suse-su-20233967-1/","hostname":"www.suse.com","tags":["Advisory"]},{"url":"https://www.suse.com/support/update/announcement/2023/suse-su-20233968-1/","label":"www.suse.com/support/update/announcement/2023/suse-su-20233968-1/","hostname":"www.suse.com","tags":["Advisory"]},{"url":"https://ubuntu.com/security/CVE-2020-22628","label":"ubuntu.com/security/CVE-2020-22628","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://ubuntu.com/security/notices/USN-6377-1","label":"ubuntu.com/security/notices/USN-6377-1","hostname":"ubuntu.com","tags":["Advisory"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2020-22628","label":"www.cve.org/CVERecord?id=CVE-2020-22628","hostname":"www.cve.org","tags":["REPORT"]},{"url":"https://ubuntu.com/security/notices/USN-7266-1","label":"ubuntu.com/security/notices/USN-7266-1","hostname":"ubuntu.com","tags":["Advisory"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2020-22628","label":"security-tracker.debian.org/tracker/CVE-2020-22628","hostname":"security-tracker.debian.org","tags":["Advisory"]}],"lineage":{"upstream":[],"downstream":["USN-7266-1"],"duplicates":[],"related":["USN-7266-1"]},"timeline":[{"kind":"published","date":"2023-08-22T00:00:00.000Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2024-10-03T18:04:08.106Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":36,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-21T05:44:28.576Z","stale":false,"partial":false}}