cve.bz

CVE-2020-22628 libraw libraw: Classic Buffer Overflow

6.5 mediumExploit referenceEPSS 0.8%Fix available

Medium (6.5) in libraw libraw. EPSS 0.8% estimated probability of exploitation activity in the next 30 days.

On this page
Buffer Overflow vulnerability in LibRaw::stretch() function in libraw\src\postprocessing\aspect_ratio.cpp.

Severity

CVSS 3.1

6.5 medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
EPSS
0.8% (unchanged from 0.8% a week ago; 0.8% 30 days ago) estimated probability of exploitation activity in the next 30 days; 57th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: PoC · Automatable: no · Technical impact: partial, assessed 2024-10-03. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-120 Buffer Copy without Checking Size of Input (Classic Buffer Overflow)
Published
Modified
NVD analysis
Analyzed
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2020-22628 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2020-22628?via=ask-ai-copy and https://cve.bz/cve/CVE-2020-22628?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2020-22628 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
libraw:librawthrough 0.19.5

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian10libraw0.19.2-2+deb10u4DLA-3560-1
Debian12, 13, 14libraw0.20.0-4DEBIAN-CVE-2020-22628
Ubuntu16.04:LTS, 18.04:LTSkodi, dcraw, ufraw and 3 moreno fix listedUBUNTU-CVE-2020-22628
Ubuntu20.04:LTSlibraw0.19.5-1ubuntu1.3UBUNTU-CVE-2020-22628 USN-6377-1
Ubuntu20.04:LTS, 22.04:LTS, 24.04:LTS and 3 morekodi, dcraw, darktable and 2 moreno fix listedUBUNTU-CVE-2020-22628
UbuntuPro:16.04:LTSdigikam4:4.12.0-0ubuntu7+esm1USN-7266-1
UbuntuPro:16.04:LTS, Pro:18.04:LTSlibrawno fix listedUBUNTU-CVE-2020-22628
UbuntuPro:18.04:LTSdigikam4:5.6.0-0ubuntu10+esm1USN-7266-1
UbuntuPro:20.04:LTSdigikam4:6.4.0+dfsg-3ubuntu0.1~esm1UBUNTU-CVE-2020-22628 USN-7266-1
UbuntuPro:22.04:LTSdigikam4:7.5.0-3ubuntu0.1~esm1USN-7266-1
SUSELinux Enterprise Module for Desktop Applications 15 SP4, Linux Enterprise Module for Desktop Applications 15 SP5, Linux Enterprise Module for Package Hub 15 SP5 and 2 morelibraw0.20.2-150400.3.9.1SUSE-SU-2023:3968-1
SUSELinux Enterprise Software Development Kit 12 SP5, Linux Enterprise Workstation Extension 12 SP5libraw0.15.4-42.1SUSE-SU-2023:3967-1
SUSELinux Enterprise Workstation Extension 15 SP4, Linux Enterprise Workstation Extension 15 SP5libraw0.18.9-150000.3.23.1SUSE-SU-2023:3966-1
openSUSELeap 15.4libraw0.18.9-150000.3.23.1SUSE-SU-2023:3966-1
openSUSELeap 15.4, Leap 15.5libraw0.20.2-150400.3.9.1SUSE-SU-2023:3968-1
openSUSETumbleweedlibraw0.21.1-3.1openSUSE-SU-2024:13252-1

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; SUSE security data, CC BY 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · SUSE · openSUSE.

Red Hat

Red Hat rates this Moderate.

Red Hat's mitigation

Mitigation for this issue is either not available or the currently available options don't meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 7LibRawOut of support scope
Red Hat Enterprise Linux 8LibRawWill not fix
Red Hat Enterprise Linux 9LibRawAffected

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2020-22628.

Attack patterns (CAPEC)

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits. More on the page of CWE-120 (13).

References

Check your stackJSON