CVE-2020-22628 json
Buffer Overflow vulnerability in LibRaw::stretch() function in libraw\src\postprocessing\aspect_ratio.cpp.
published 2023-08-22 3 y ago modified 2026-06-17 4 mo ago also EUVD-2020-15388
- cvss
- 6.5
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.8%
- EPSS 0.8% chance of exploitation in 30 days, percentile 55%
- public exploits
- 0
- none known
Summary
Buffer Overflow vulnerability in LibRaw::stretch() function in libraw\src\postprocessing\aspect_ratio.cpp.
Patch / fix
- libraw Debian 14, Debian 13, Debian 12 0.20.0-4
debian advisories DEBIAN-CVE-2020-22628
- libraw Ubuntu 20.04 LTS 0.19.5-1ubuntu1.3
- digikam Ubuntu Pro 20.04 LTS 4:6.4.0+dfsg-3ubuntu0.1~esm1
ubuntu advisories UBUNTU-CVE-2020-22628
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- libraw SLE Workstation Extension 15 SP5, SLE Workstation Extension 15 SP4, SLE Module for Package Hub 15 SP5 +4 more 0.20.2-150400.3.9.1
- libraw SLE Workstation Extension 12 SP5, SLE Software Development Kit 12 SP5 0.15.4-42.1
- libraw SLE Workstation Extension 15 SP5, SLE Workstation Extension 15 SP4, openSUSE Leap 15.4 0.18.9-150000.3.23.1
suse advisories SUSE-SU-2023:3968-1SUSE-SU-2023:3967-1SUSE-SU-2023:3966-1
- libraw openSUSE Tumbleweed 0.21.1-3.1
opensuse advisories openSUSE-SU-2024:13252-1
- github.com/LibRaw/LibRaw/issues/269 advisory
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2020-22628 updated cvss 6.5
libraw: Out of bounds read in LibRaw::stretch() function in libraw\src\postprocessing\aspect_ratio.cpp
-
Red Hat Enterprise Linux 7 LibRawaffected: workaround, no fix planned “Out of support scope”
-
Red Hat Enterprise Linux 8 LibRawaffected: workaround, no fix planned “Will not fix”
-
Red Hat Enterprise Linux 9 LibRawaffected: workaround, no fix available
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- Proof of concept is public
- Automatable
- no
- Technical impact
- partial
- Assessed
- 2 y ago
Exploit prediction
0.77% chance of exploitation in the next 30 days, higher than 55% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- github.com https://github.com/LibRaw/LibRaw/issues/269 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.1 | 6.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H |
Classification
- Weakness
-
- CWE-120 Buffer Copy without Checking Size of Input
References
-
github.com
/LibRaw/LibRaw/issues/269
exploit, issue-tracking, patch, third-party-advisory
-
lists.debian.org
/debian-lts-announce/2023/09/msg00007.html
mailing-list, third-party-advisory
Sources
- CVE List CVE-2020-22628
- NVD CVE-2020-22628
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.