Skip to content
Fencer Intel
medium 6.5

CVE-2020-22628 json

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

published 3y ago modified 4mo 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

Is CVE-2020-22628 in your stack? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.

Check with Fencer

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 LibRaw
    affected: workaround, no fix planned “Out of support scope”
  • Red Hat Enterprise Linux 8 LibRaw
    affected: workaround, no fix planned “Will not fix”
  • Red Hat Enterprise Linux 9 LibRaw
    affected: 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
2y ago

Exploit prediction

0.77% chance of exploitation in the next 30 days, higher than 55% of all scored CVEs (FIRST EPSS, 2026-11-09).

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

Sources

Fencer Intel 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.