CVE-2020-12865: Buffer Overflow

Published Jun 24, 2020
·
Updated

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.

Affected Software

8 affected componentsFixes available
Sane-project Sane Backends<1.0.30
Canonical Ubuntu Linux=16.04
Canonical Ubuntu Linux=18.04
Canonical Ubuntu Linux=20.04
Debian Debian Linux=9.0
openSUSE Leap=15.1
openSUSE Leap=15.2
debian/sane-backends
1.0.31-4.11.2.1-21.3.1-31.4.0-1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade debian/sane-backends to a version that resolves this vulnerability.

    Fixed in 1.0.31-4.1Fixed in 1.2.1-2Fixed in 1.3.1-3Fixed in 1.4.0-1
  2. Upgrade

    Upgrade SANE Backends to a version that resolves this vulnerability.

    Fixed in 1.0.30
  3. Compensating control

    Mitigate exposure by preventing untrusted/malicious devices on the same local network from being connected to the victim’s system (e.g., isolate the host/network segment or restrict access to the local network-attached devices).

Event History

Jun 24, 2020
CVE Published
via MITRE·12:52 PM
Data Sourced
via MITRE·12:52 PM
Description
Data Sourced
via NVD·01:15 PM
DescriptionSeverityWeaknessAffected Software
Jan 11, 2024
Data Sourced
via Launchpad·11:39 PM
Description
Feb 20, 2026
Data Sourced
via Ubuntu·12:17 AM
RemedyDescriptionSeverityAffected Software
Data Sourced
via Debian·12:18 AM
DescriptionAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2020-12865?

CVE-2020-12865 has been assigned a high severity rating due to its potential for remote code execution.

2

How do I fix CVE-2020-12865?

To fix CVE-2020-12865, upgrade the SANE Backends package to version 1.0.30 or later.

3

Which versions of SANE Backends are affected by CVE-2020-12865?

SANE Backends versions prior to 1.0.30 are affected by CVE-2020-12865.

4

Can CVE-2020-12865 be exploited remotely?

Yes, a malicious device on the same local network can exploit CVE-2020-12865.

5

What systems are impacted by CVE-2020-12865?

CVE-2020-12865 affects systems running SANE Backends versions before 1.0.30, including various Linux distributions.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203