cve.bz

CVE-2020-12862 Out-of-bounds Read

4.3 mediumExploit referenceEPSS 1.1%

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

On this page
An out-of-bounds read in SANE Backends before 1.0.30 may allow a malicious device connected to the same local network as the victim to read important information, such as the ASLR offsets of the program, aka GHSL-2020-082.

Severity

CVSS 3.1

4.3 medium
CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
EPSS
1.1% (unchanged from 1.1% a week ago; 1.1% 30 days ago) estimated probability of exploitation activity in the next 30 days; 66th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CWE
CWE-125 Out-of-bounds Read
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-12862 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2020-12862?via=ask-ai-copy and https://cve.bz/cve/CVE-2020-12862?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-12862 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
debian:debian_linux9.0
opensuse:leap15.1
opensuse:leap15.2

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian9sane-backends1.0.25-4.1+deb9u1DLA-2332-1
Debian12, 13, 14sane-backends1.0.31-2DEBIAN-CVE-2020-12862
Ubuntu16.04:LTSsane-backends1.0.25+git20150528-1ubuntu2.16.04.3UBUNTU-CVE-2020-12862 USN-4470-1
Ubuntu18.04:LTSsane-backends1.0.27-1~experimental3ubuntu2.3UBUNTU-CVE-2020-12862 USN-4470-1
Ubuntu20.04:LTSsane-backends1.0.29-0ubuntu5.1UBUNTU-CVE-2020-12862 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-12862

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

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

Attack patterns (CAPEC)

  • CAPEC-540 Overread Buffers Likelihood: Low · Severity: High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON