CVE-2020-12866
A NULL pointer dereference in SANE Backends before 1.0.30 allows a malicious device connected to...
CVE-2020-12866 is a medium vulnerability (CVSS 5.7) in Sane-project Sane Backends, published June 24, 2020. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 1.04%, the 64th percentile. Fixed in sane 1.0.30-r0.
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.
Attack profile
How easy it is to exploit
- Attack vector
- Adjacent network
- Complexity
- Low
- Privileges needed
- Low
- User interaction
- None
What an attacker can affect
- Confidentiality
- None
- Integrity
- None
- Availability
- High
Exploit likelihood
What each source reports
NVD Score used
5.7
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.
- Record
CVE-2020-12866- 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 - CVSS 2.0
- 2.7 Low
AV:A/AC:L/Au:S/C:N/I:N/A:P - Weakness
- CWE-476
- Updated
- 2026-11-02
CVE List No score
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.
- Record
CVE-2020-12866- Updated
- 2026-11-02
EUVDEUVD-2020-5148 No score
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.
- Record
EUVD-2020-5148- Updated
- 2026-11-03
GitHub AdvisoriesGHSA-q62j-4q9v-xgm7
5.7
A NULL pointer dereference in SANE Backends before 1.0.30 allows a malicious device connected to...
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.
- Record
GHSA-q62j-4q9v-xgm7- 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 - Weakness
- CWE-476
- Updated
- 2026-11-02
OSVALPINE-CVE-2020-12866
5.7
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.
- Record
ALPINE-CVE-2020-12866- 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 - Updated
- 2026-11-03
OSV
5.7
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.
- Record
CVE-2020-12866- 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 - Updated
- 2026-11-02
Show 9 moreShow less
OSVDEBIAN-CVE-2020-12866
5.7
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.
- Record
DEBIAN-CVE-2020-12866- 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 - Updated
- 2026-11-02
OSVUBUNTU-CVE-2020-12866
5.7
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.
- Record
UBUNTU-CVE-2020-12866- 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 - Updated
- 2026-11-02
OSVMGASA-2020-0360 No score
Updated sane packages fix security vulnerabilities
A heap buffer overflow in SANE Backends before 1.0.30 allows a malicious device connected to the same local network as the victim to execute arbitrary code, aka GHSL-2020-080. (CVE-2020-12861)
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. (CVE-2020-12862)
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-083. (CVE-2020-12863)
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-081. (CVE-2020-12864)
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. (CVE-2020-12865)
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. (CVE-2020-12866)
A NULL pointer dereference in sanei_epson_net_read 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, aka GHSL-2020-075. (CVE-2020-12867)
- Record
MGASA-2020-0360- Updated
- 2026-11-02
OSVopenSUSE-SU-2020:1791-1 No score
Security update for sane-backends
This update for sane-backends fixes the following issues:
sane-backends was updated to 1.0.31 to further improve hardware enablement for scanner devices (jsc#ECO-2418 jsc#SLE-15561 jsc#SLE-15560) and also fix various security issues:
- CVE-2020-12861,CVE-2020-12865: Fixed an out of bounds write (bsc#1172524)
- CVE-2020-12862,CVE-2020-12863,CVE-2020-12864,: Fixed an out of bounds read (bsc#1172524)
- CVE-2020-12866,CVE-2020-12867: Fixed a null pointer dereference (bsc#1172524)
The upstream changelogs can be found here:
- https://gitlab.com/sane-project/backends/-/releases/1.0.28
- https://gitlab.com/sane-project/backends/-/releases/1.0.29
- https://gitlab.com/sane-project/backends/-/releases/1.0.30
- https://gitlab.com/sane-project/backends/-/releases/1.0.31
This update was imported from the SUSE:SLE-15:Update update project.
- Record
openSUSE-SU-2020:1791-1- Updated
- 2026-11-02
OSVopenSUSE-SU-2020:1798-1 No score
Security update for sane-backends
This update for sane-backends fixes the following issues:
sane-backends was updated to 1.0.31 to further improve hardware enablement for scanner devices (jsc#ECO-2418 jsc#SLE-15561 jsc#SLE-15560) and also fix various security issues:
- CVE-2020-12861,CVE-2020-12865: Fixed an out of bounds write (bsc#1172524)
- CVE-2020-12862,CVE-2020-12863,CVE-2020-12864,: Fixed an out of bounds read (bsc#1172524)
- CVE-2020-12866,CVE-2020-12867: Fixed a null pointer dereference (bsc#1172524)
The upstream changelogs can be found here:
- https://gitlab.com/sane-project/backends/-/releases/1.0.28
- https://gitlab.com/sane-project/backends/-/releases/1.0.29
- https://gitlab.com/sane-project/backends/-/releases/1.0.30
- https://gitlab.com/sane-project/backends/-/releases/1.0.31
This update was imported from the SUSE:SLE-15:Update update project.
- Record
openSUSE-SU-2020:1798-1- Updated
- 2026-11-02
OSVopenSUSE-SU-2024:11366-1 No score
libsane1-1.0.32-1.6 on GA media
These are all security issues fixed in the libsane1-1.0.32-1.6 package on the GA media of openSUSE Tumbleweed.
- Record
openSUSE-SU-2024:11366-1- Updated
- 2026-11-02
OSVSUSE-SU-2020:3065-1 No score
Security update for sane-backends
This update for sane-backends fixes the following issues:
sane-backends was updated to 1.0.31 to further improve hardware enablement for scanner devices (jsc#ECO-2418 jsc#SLE-15561 jsc#SLE-15560) and also fix various security issues:
- CVE-2020-12861,CVE-2020-12865: Fixed an out of bounds write (bsc#1172524)
- CVE-2020-12862,CVE-2020-12863,CVE-2020-12864,: Fixed an out of bounds read (bsc#1172524)
- CVE-2020-12866,CVE-2020-12867: Fixed a null pointer dereference (bsc#1172524)
The upstream changelogs can be found here:
- Record
SUSE-SU-2020:3065-1- Updated
- 2026-11-02
OSVSUSE-SU-2020:3125-1 No score
Security update for sane-backends
This update for sane-backends fixes the following issues:
- sane-backends version upgrade to 1.0.31:
- sane-backends version upgrade to 1.0.30 fixes memory corruption bugs CVE-2020-12861, CVE-2020-12862, CVE-2020-12863, CVE-2020-12864, CVE-2020-12865, CVE-2020-12866, CVE-2020-12867 (bsc#1172524)
- sane-backends version upgrade to 1.0.31 to further improve hardware enablement for scanner devices (jsc#SLE-15561 and jsc#SLE-15560 with jsc#ECO-2418)
- The new escl backend cannot be provided for SLE12 because it requires more additional software (avahi-client, libcurl, and libpoppler-glib-devel) where in particular for libcurl the one that is in SLE12 (via libcurl-devel-7.37.0) is likely too old because with that building the escl backend fails with 'escl/escl.c:1267:34: error: 'CURLOPT_UNIX_SOCKET_PATH' undeclared curl_easy_setopt(handle, CURLOPT_UNIX_SOCKET_PATH'
- Record
SUSE-SU-2020:3125-1- Updated
- 2026-11-02
OSVUSN-4470-1 No score
sane-backends vulnerabilities
Kritphong Mongkhonvanit discovered that sane-backends incorrectly handled certain packets. A remote attacker could possibly use this issue to obtain sensitive memory information. This issue only affected Ubuntu 16.04 LTS. (CVE-2017-6318)
It was discovered that sane-backends incorrectly handled certain memory operations. A remote attacker could possibly use this issue to execute arbitrary code. This issue only applied to Ubuntu 18.04 LTS and Ubuntu 20.04 LTS. (CVE-2020-12861)
It was discovered that sane-backends incorrectly handled certain memory operations. A remote attacker could possibly use this issue to obtain sensitive information. (CVE-2020-12862, CVE-2020-12863)
It was discovered that sane-backends incorrectly handled certain memory operations. A remote attacker could possibly use this issue to obtain sensitive information. This issue only applied to Ubuntu 18.04 LTS and Ubuntu 20.04 LTS. (CVE-2020-12864)
It was discovered that sane-backends incorrectly handled certain memory operations. A remote attacker could possibly use this issue to execute arbitrary code. (CVE-2020-12865)
It was discovered that sane-backends incorrectly handled certain memory operations. A remote attacker could possibly use this issue to cause a denial of service. This issue only applied to Ubuntu 18.04 LTS and Ubuntu 20.04 LTS. (CVE-2020-12866)
It was discovered that sane-backends incorrectly handled certain memory operations. A remote attacker could possibly use this issue to cause a denial of service. (CVE-2020-12867)
- Record
USN-4470-1- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
saneAlpine:v3.12 |
before 1.0.30-r0 | 1.0.30-r0 |
saneAlpine:v3.13 |
before 1.0.30-r0 | 1.0.30-r0 |
saneAlpine:v3.14 |
before 1.0.30-r0 | 1.0.30-r0 |
saneAlpine:v3.15 |
before 1.0.30-r0 | 1.0.30-r0 |
saneAlpine:v3.16 |
before 1.0.30-r0 | 1.0.30-r0 |
saneAlpine:v3.17 |
before 1.0.30-r0 | 1.0.30-r0 |
saneAlpine:v3.18 |
before 1.0.30-r0 | 1.0.30-r0 |
saneAlpine:v3.19 |
before 1.0.30-r0 | 1.0.30-r0 |
saneAlpine:v3.20 |
before 1.0.30-r0 | 1.0.30-r0 |
saneAlpine:v3.21 |
before 1.0.30-r0 | 1.0.30-r0 |
Show 35 moreShow less
| Package | Affected | Fixed |
|---|---|---|
saneAlpine:v3.22 |
before 1.0.30-r0 | 1.0.30-r0 |
saneAlpine:v3.23 |
before 1.0.30-r0 | 1.0.30-r0 |
saneAlpine:v3.24 |
before 1.0.30-r0 | 1.0.30-r0 |
sane-backendsDebian:12 |
before 1.0.31-2 | 1.0.31-2 |
sane-backendsDebian:13 |
before 1.0.31-2 | 1.0.31-2 |
sane-backendsDebian:14 |
before 1.0.31-2 | 1.0.31-2 |
saneMageia:7 |
before 1.0.28-1.1.mga7 | 1.0.28-1.1.mga7 |
sane-backendsSUSE:Linux Enterprise Module for Desktop Applications 15 SP1 |
before 1.0.31-6.3.2 | 1.0.31-6.3.2 |
sane-backendsSUSE:Linux Enterprise Module for Desktop Applications 15 SP2 |
before 1.0.31-6.3.2 | 1.0.31-6.3.2 |
sane-backendsSUSE:Linux Enterprise Module for Package Hub 15 SP1 |
before 1.0.31-6.3.2 | 1.0.31-6.3.2 |
sane-backendsSUSE:Linux Enterprise Module for Package Hub 15 SP2 |
before 1.0.31-6.3.2 | 1.0.31-6.3.2 |
sane-backendsSUSE:HPE Helion OpenStack 8 |
before 1.0.31-4.3.1 | 1.0.31-4.3.1 |
sane-backendsSUSE:OpenStack Cloud 7 |
before 1.0.31-4.3.1 | 1.0.31-4.3.1 |
sane-backendsSUSE:OpenStack Cloud 8 |
before 1.0.31-4.3.1 | 1.0.31-4.3.1 |
sane-backendsSUSE:OpenStack Cloud 9 |
before 1.0.31-4.3.1 | 1.0.31-4.3.1 |
sane-backendsSUSE:OpenStack Cloud Crowbar 8 |
before 1.0.31-4.3.1 | 1.0.31-4.3.1 |
sane-backendsSUSE:OpenStack Cloud Crowbar 9 |
before 1.0.31-4.3.1 | 1.0.31-4.3.1 |
sane-backendsSUSE:Linux Enterprise Server for SAP Applications 12 SP2 |
before 1.0.31-4.3.1 | 1.0.31-4.3.1 |
sane-backendsSUSE:Linux Enterprise Server for SAP Applications 12 SP3 |
before 1.0.31-4.3.1 | 1.0.31-4.3.1 |
sane-backendsSUSE:Linux Enterprise Server for SAP Applications 12 SP4 |
before 1.0.31-4.3.1 | 1.0.31-4.3.1 |
sane-backendsSUSE:Linux Enterprise Software Development Kit 12 SP5 |
before 1.0.31-4.3.1 | 1.0.31-4.3.1 |
sane-backendsSUSE:Linux Enterprise Server 12 SP2-LTSS |
before 1.0.31-4.3.1 | 1.0.31-4.3.1 |
sane-backendsSUSE:Linux Enterprise Server 12 SP2-BCL |
before 1.0.31-4.3.1 | 1.0.31-4.3.1 |
sane-backendsSUSE:Linux Enterprise Server 12 SP3-LTSS |
before 1.0.31-4.3.1 | 1.0.31-4.3.1 |
sane-backendsSUSE:Linux Enterprise Server 12 SP3-BCL |
before 1.0.31-4.3.1 | 1.0.31-4.3.1 |
sane-backendsSUSE:Linux Enterprise Server 12 SP4-LTSS |
before 1.0.31-4.3.1 | 1.0.31-4.3.1 |
sane-backendsSUSE:Linux Enterprise Server 12 SP5 |
before 1.0.31-4.3.1 | 1.0.31-4.3.1 |
sane-backendsSUSE:Linux Enterprise Server for SAP Applications 12 SP5 |
before 1.0.31-4.3.1 | 1.0.31-4.3.1 |
sane-backendsSUSE:Linux Enterprise Workstation Extension 12 SP5 |
before 1.0.31-4.3.1 | 1.0.31-4.3.1 |
sane-backendsSUSE:Enterprise Storage 5 |
before 1.0.31-4.3.1 | 1.0.31-4.3.1 |
sane-backendsUbuntu:18.04:LTS |
before 1.0.27-1~experimental3ubuntu2.3, plus listed versions 1.0.27-1~experimental2ubuntu11.0.27-1~experimental2ubuntu21.0.27-1~experimental2ubuntu2.11.0.27-1~experimental3ubuntu11.0.27-1~experimental3ubuntu21.0.27-1~experimental3ubuntu2.11.0.27-1~experimental3ubuntu2.2 |
1.0.27-1~experimental3ubuntu2.3 |
sane-backendsUbuntu:20.04:LTS |
before 1.0.29-0ubuntu5.1, plus listed versions 1.0.27-3.2ubuntu31.0.27-3.2ubuntu41.0.29-0ubuntu5 |
1.0.29-0ubuntu5.1 |
sane-backendsUbuntu:16.04:LTS |
before 1.0.25+git20150528-1ubuntu2.16.04.3, plus listed versions 1.0.25+git20150528-1ubuntu21.0.25+git20150528-1ubuntu2.16.04.1 |
1.0.25+git20150528-1ubuntu2.16.04.3 |
sane-backendsopenSUSE:Leap 15.1 |
before 1.0.31-lp151.6.3.1 | 1.0.31-lp151.6.3.1 |
sane-backendsopenSUSE:Leap 15.2 |
before 1.0.31-lp152.7.3.1 | 1.0.31-lp152.7.3.1 |
History
| When | Changed | Sources |
|---|---|---|
| 2026-11-03 | affected, aliases, references | OSV |
| 2026-11-03 | aliases | EUVD |
| 2026-11-02 | created | CVE List, GitHub Advisories, NVD, OSV |
References
alioth-lists.debian.net/pipermail/sane-announce/2020/000041.html
securitylab.github.com/advisories/GHSL-2020-075-libsane
usn.ubuntu.com/4470-1
lists.opensuse.org/opensuse-security-announce/2020-10/msg00079.html
lists.opensuse.org/opensuse-security-announce/2020-11/msg00003.html
nvd.nist.gov/vuln/detail/CVE-2020-12866
Show 31 moreShow less
github.com/advisories/GHSA-q62j-4q9v-xgm7
security.alpinelinux.org/vuln/CVE-2020-12866
security-tracker.debian.org/tracker/CVE-2020-12866
advisories.mageia.org/MGASA-2020-0360.html
bugs.mageia.org/show_bug.cgi?id=26712
debian.org/lts/security/2020/dla-2231
debian.org/lts/security/2020/dla-2332
ubuntu.com/security/notices/USN-4470-1
suse.com/support/update/announcement/2020/suse-su-20203065-1
bugzilla.suse.com/1172524
suse.com/security/cve/CVE-2020-12861
suse.com/security/cve/CVE-2020-12862
suse.com/security/cve/CVE-2020-12863
suse.com/security/cve/CVE-2020-12864
suse.com/security/cve/CVE-2020-12865
suse.com/security/cve/CVE-2020-12866
suse.com/security/cve/CVE-2020-12867
suse.com/support/update/announcement/2020/suse-su-20203125-1
suse.com/security/cve/CVE-2017-6318
ubuntu.com/security/CVE-2020-12866
gitlab.com/sane-project/backends/-/releases/1.0.30
cve.org/CVERecord?id=CVE-2020-12866
ubuntu.com/security/CVE-2017-6318
ubuntu.com/security/CVE-2020-12861
ubuntu.com/security/CVE-2020-12862
ubuntu.com/security/CVE-2020-12863
ubuntu.com/security/CVE-2020-12864
ubuntu.com/security/CVE-2020-12865
ubuntu.com/security/CVE-2020-12867
lists.opensuse.org/archives/list/[email protected]/thread/3U4WY4I4GUOHWAMZSZJUGHR637TI46UN
lists.opensuse.org/archives/list/[email protected]/thread/P7WMIMV37TSUISYMGUPUUTKOLGSMIONS