Skip to content
Fencer Intel
medium 5.7

CVE-2020-12866 json

A NULL pointer dereference in SANE Backends before 1.0.30 allows a malicious device connected to the same local network as the victim to ca…

published 6y ago modified 4mo ago also EUVD-2020-5148

cvss
5.7
version 3.1, NVD
cisa kev
Not listed
not in CISA's catalog
epss
1.0%
EPSS 1.0% chance of exploitation in 30 days, percentile 64%
public exploits
0
none known

Summary

A NULL pointer dereference in SANE Backends before 1.0.30 allows a malicious device connected to the same local network as the victim to cause a denial of service, GHSL-2020-079.

Patch / fix

  • sane-project sane_backends 1.0.30
  • sane-backends Debian 14, Debian 13, Debian 12 1.0.31-2

debian advisories DEBIAN-CVE-2020-12866

  • sane-backends Ubuntu 18.04 LTS 1.0.27-1~experimental3ubuntu2.3
  • sane-backends Ubuntu 20.04 LTS 1.0.29-0ubuntu5.1

ubuntu advisories UBUNTU-CVE-2020-12866

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

  • sane-backends SLES for SAP 12 SP5, SLES for SAP 12 SP4, SLES for SAP 12 SP3 +16 more 1.0.31-4.3.1
  • sane-backends SLE Module for Package Hub 15 SP2, SLE Module for Package Hub 15 SP1, SLE Module for Desktop Applications 15 SP2 +1 more 1.0.31-6.3.2

suse advisories SUSE-SU-2020:3125-1SUSE-SU-2020:3065-1

  • sane-backends openSUSE Leap 15.2 1.0.31-lp152.7.3.1
  • sane-backends openSUSE Leap 15.1 1.0.31-lp151.6.3.1

opensuse advisories openSUSE-SU-2020:1798-1openSUSE-SU-2020:1791-1

  • sane Alpine 3.24, Alpine 3.23, Alpine 3.22 +10 more 1.0.30-r0

alpine advisories ALPINE-CVE-2020-12866

Alpine secdb © Alpine Linux, from https://secdb.alpinelinux.org via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0

Is CVE-2020-12866 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-12866 updated cvss 5.7

sane-backends: null pointer dereference in epsonds_net_read in epsonds-net.c

  • Red Hat Enterprise Linux 8 sane-backends, sane-backends-libs, sane-backends-daemon, sane-backends-drivers-cameras, sane-backends-drivers-scanners
    affected: workaround, no fix available
  • Red Hat Enterprise Linux 5 sane-backends Red Hat Enterprise Linux 6 sane-backends, sane-backends-libs, sane-backends-libs-gphoto2 Red Hat Enterprise Linux 7 sane-backends, sane-backends-libs, sane-backends-drivers-cameras, sane-backends-drivers-scanners
    not affected: vulnerable code not present

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

Exploit prediction

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

Exploits and checks

  • securitylab.github.com https://securitylab.github.com/advisories/GHSL-2020-075-libsane referenced PoC, tagged "exploit" by a source, unverified

CVSS scores

assigned by version score vector
NVD 3.1 5.7 CVSS:3.1/AV:A/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
NVD 2.0 2.7 AV:A/AC:L/Au:S/C:N/I:N/A:P

Classification

Weakness

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.