CVEfocus › CVE database › CVE-2020-12865

CVE-2020-12865

CVSS 8.0 HighEPSS 1.5% (higher than 74% of CVEs)Published 2020-06-24Updated 2024-08-04Assigner: mitre

A heap buffer overflow in SANE Backends before 1.0.30 may allow a malicious device connected to the same local network as the victim to execute arbitrary code, aka GHSL-2020-084.

What to do

Fixed builds are available from Alpine, Debian, Red Hat, Ubuntu: see the table below for the fixed version per release.

Ubuntu has not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

26Fixed
1Fix pending
11Not affected

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 20.04sane-backendsFixed1.0.29-0ubuntu5.1UBUNTU-CVE-2020-12865
Ubuntu 18.04sane-backendsFixed1.0.27-1~experimental3ubuntu2.3UBUNTU-CVE-2020-12865
Ubuntu 16.04sane-backendsFixed1.0.25+git20150528-1ubuntu2.16.04.3UBUNTU-CVE-2020-12865
Ubuntu 14.04sane-backendsFix pending
Debian 14sane-backendsFixed1.0.31-2DEBIAN-CVE-2020-12865
Debian 13sane-backendsFixed1.0.31-2DEBIAN-CVE-2020-12865
Debian 12sane-backendsFixed1.0.31-2DEBIAN-CVE-2020-12865
Red Hat Enterprise Linux 8sane-backendsFixed0:1.0.27-19.el8_2.1RHSA-2020:2902
Red Hat Enterprise Linux 8sane-backends-daemonFixed0:1.0.27-19.el8_2.1RHSA-2020:2902
Red Hat Enterprise Linux 8sane-backends-develFixed0:1.0.27-19.el8_2.1RHSA-2020:2902
Red Hat Enterprise Linux 8sane-backends-docFixed0:1.0.27-19.el8_2.1RHSA-2020:2902
Red Hat Enterprise Linux 8sane-backends-drivers-camerasFixed0:1.0.27-19.el8_2.1RHSA-2020:2902
Red Hat Enterprise Linux 8sane-backends-drivers-scannersFixed0:1.0.27-19.el8_2.1RHSA-2020:2902
Red Hat Enterprise Linux 8sane-backends-libsFixed0:1.0.27-19.el8_2.1RHSA-2020:2902
Red Hat Enterprise Linux 7sane-backendsNot affected
Red Hat Enterprise Linux 7sane-backends-develNot affected
Red Hat Enterprise Linux 7sane-backends-docNot affected
Red Hat Enterprise Linux 7sane-backends-drivers-camerasNot affected
Red Hat Enterprise Linux 7sane-backends-drivers-scannersNot affected
Red Hat Enterprise Linux 7sane-backends-libsNot affected
Red Hat Enterprise Linux 6sane-backendsNot affected
Red Hat Enterprise Linux 6sane-backends-develNot affected
Red Hat Enterprise Linux 6sane-backends-libsNot affected
Red Hat Enterprise Linux 6sane-backends-libs-gphoto2Not affected
Red Hat Enterprise Linux 5sane-backendsNot affected
Alpine Linux 3.24saneFixed1.0.30-r0ALPINE-CVE-2020-12865
Alpine Linux 3.23saneFixed1.0.30-r0ALPINE-CVE-2020-12865
Alpine Linux 3.22saneFixed1.0.30-r0ALPINE-CVE-2020-12865
Alpine Linux 3.21saneFixed1.0.30-r0ALPINE-CVE-2020-12865
Alpine Linux 3.20saneFixed1.0.30-r0ALPINE-CVE-2020-12865
Alpine Linux 3.19saneFixed1.0.30-r0ALPINE-CVE-2020-12865
Alpine Linux 3.18saneFixed1.0.30-r0ALPINE-CVE-2020-12865
Alpine Linux 3.17saneFixed1.0.30-r0ALPINE-CVE-2020-12865
Alpine Linux 3.16saneFixed1.0.30-r0ALPINE-CVE-2020-12865
Alpine Linux 3.15saneFixed1.0.30-r0ALPINE-CVE-2020-12865
Alpine Linux 3.14saneFixed1.0.30-r0ALPINE-CVE-2020-12865
Alpine Linux 3.13saneFixed1.0.30-r0ALPINE-CVE-2020-12865
Alpine Linux 3.12saneFixed1.0.30-r0ALPINE-CVE-2020-12865

What the vendor says

As published in the CVE record by mitre, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

Vendor advisories:

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.