cve.bz

CVE-2020-12866 NULL Pointer Dereference

5.7 mediumExploit referenceEPSS 1.0%

Medium (5.7). EPSS 1.0% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

CVSS 3.1

5.7 medium
CVSS:3.1/AV:A/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
EPSS
1.0% (unchanged from 1.0% a week ago; 1.0% 30 days ago) estimated probability of exploitation activity in the next 30 days; 65th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CWE
CWE-476 NULL Pointer Dereference
OWASP Top 10
A10:2025 Mishandling of Exceptional Conditions
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2020-12866 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2020-12866?via=ask-ai-copy and https://cve.bz/cve/CVE-2020-12866?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-12866 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
sane-project:sane_backendsbefore 1.0.30
canonical:ubuntu_linux16.04
canonical:ubuntu_linux18.04
canonical:ubuntu_linux20.04
opensuse:leap15.1
opensuse:leap15.2

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12, 13, 14sane-backends1.0.31-2DEBIAN-CVE-2020-12866
Ubuntu16.04:LTSsane-backends1.0.25+git20150528-1ubuntu2.16.04.3USN-4470-1
Ubuntu18.04:LTSsane-backends1.0.27-1~experimental3ubuntu2.3UBUNTU-CVE-2020-12866 USN-4470-1
Ubuntu20.04:LTSsane-backends1.0.29-0ubuntu5.1UBUNTU-CVE-2020-12866 USN-4470-1
SUSEEnterprise Storage 5, HPE Helion OpenStack 8, Linux Enterprise Server 12 SP2-BCL and 16 moresane-backends1.0.31-4.3.1SUSE-SU-2020:3125-1
SUSELinux Enterprise Module for Desktop Applications 15 SP1, Linux Enterprise Module for Desktop Applications 15 SP2, Linux Enterprise Module for Package Hub 15 SP1 and 1 moresane-backends1.0.31-6.3.2SUSE-SU-2020:3065-1
openSUSELeap 15.1sane-backends1.0.31-lp151.6.3.1openSUSE-SU-2020:1791-1
openSUSELeap 15.2sane-backends1.0.31-lp152.7.3.1openSUSE-SU-2020:1798-1
Alpinev3.12, v3.13, v3.14 and 10 moresane1.0.30-r0ALPINE-CVE-2020-12866

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; the Alpine secdb, CC BY-SA 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · SUSE · openSUSE · Alpine.

Red Hat

Red Hat rates this Moderate.

Red Hat's statement

The vulnerable code is a part of "driver for Epson ESC/I-2 scanners" which was first introduced in sane-backends-1.0.25. (via https://gitlab.com/sane-project/backends/-/commit/d72f4663c0ad6e6f779c15c8baf5f92b675ae19a) Therefore only versions of sane-backends shipped with Red Hat Enterprise Linux 8 is affected by this flaw.

Red Hat's mitigation

This flaw can be mitigated by limiting network scanner discovery to a trusted subnet via the "net" configuration in the "/etc/sane.d/epsonds.conf" configuration file. Also automatic network scanner discovery can be turned off by commenting out the line "net autodiscovery" in the same configuration file.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 5sane-backendsNot affected
Red Hat Enterprise Linux 6sane-backendsNot affected
Red Hat Enterprise Linux 7sane-backendsNot affected
Red Hat Enterprise Linux 8sane-backendsAffected

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-12866.

References

Check your stackJSON