# CVE-2020-12861: 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 execut…

- Severity: High 8.8 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 3.04%, higher than 87% of CVEs (2026-12-01)
- Public exploit code or proof of concept: 2 links below, marked "exploit"
- Published: 2020-06-24T00:00:00.000Z
- Modified: 2026-06-17T02:52:26.733Z
- Weaknesses: CWE-787
- Assigned by: mitre

## Description

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.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- sane-project sane_backends: before 1.0.30
- canonical ubuntu_linux: 16.04; 18.04; 20.04
- opensuse leap: 15.1; 15.2

## Every score

- NVD: CVSS:3.1 8.8 High `CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:2.0 7.9 High `AV:A/AC:M/Au:N/C:C/I:C/A:C`

## References

- <https://securitylab.github.com/advisories/GHSL-2020-075-libsane> (exploit, vendor-advisory)
- <http://packetstormsecurity.com/files/172841/SANE-Backends-Memory-Corruption-Code-Execution.html> (exploit)
- <https://alioth-lists.debian.net/pipermail/sane-announce/2020/000041.html> (mailing-list, patch, third-party-advisory)
- <https://usn.ubuntu.com/4470-1/> (third-party-advisory, vendor-advisory)
- <http://lists.opensuse.org/opensuse-security-announce/2020-10/msg00079.html> (mailing-list, third-party-advisory, vendor-advisory)
- <http://lists.opensuse.org/opensuse-security-announce/2020-11/msg00003.html> (mailing-list, third-party-advisory, vendor-advisory)

## Sources

- CVE List: [CVE-2020-12861](https://www.cve.org/CVERecord?id=CVE-2020-12861), CVE Terms of Use, modified 2024-08-04
- NVD: [CVE-2020-12861](https://nvd.nist.gov/vuln/detail/CVE-2020-12861), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2020-12861 · Whole record: https://cve.day/CVE-2020-12861.json · Rebuilt by cve.day 2026-11-25T22:57:53.100Z
