# CVE-2020-12865: 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 exe…

- Severity: High 8.0 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:A/AC:L/PR:L/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): 1.46%, higher than 74% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2020-06-24T12:52:38.000Z
- Modified: 2026-06-17T02:52:27.250Z
- Weaknesses: CWE-787
- Assigned by: mitre

## Description

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.

(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
- debian debian_linux: 9.0
- opensuse leap: 15.1; 15.2

## Every score

- NVD: CVSS:3.1 8.0 High `CVSS:3.1/AV:A/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:2.0 5.2 Medium `AV:A/AC:L/Au:S/C:P/I:P/A:P`

## References

- <https://securitylab.github.com/advisories/GHSL-2020-075-libsane> (exploit, third-party-advisory)
- <https://alioth-lists.debian.net/pipermail/sane-announce/2020/000041.html> (mailing-list, release-notes, third-party-advisory)
- <https://lists.debian.org/debian-lts-announce/2020/08/msg00029.html> (mailing-list, third-party-advisory)
- <https://usn.ubuntu.com/4470-1/> (third-party-advisory, vendor-advisory)
- <https://lists.debian.org/debian-lts-announce/2020/10/msg00010.html> (mailing-list, third-party-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-12865](https://www.cve.org/CVERecord?id=CVE-2020-12865), CVE Terms of Use, modified 2024-08-04
- NVD: [CVE-2020-12865](https://nvd.nist.gov/vuln/detail/CVE-2020-12865), Public domain, modified 2026-06-17

---

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