Skip to content
Noroxi
NVD / CVE Program· CNA mitre

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 execute…

HighCVSS 8.8 · v3.1—No exploit Fix available

Noroxi assessment

Priority: Monitor (action score 36/100)

  • The sources we track (CISA KEV, Exploit-DB, Metasploit, Nuclei, GitHub) show no public exploit code or exploitation in the wild.
  • Probability of exploitation in the next 30 days: 3% (FIRST EPSS); higher than 87.7% of all records.
  • Someone on the same network segment can trigger it. No account or password is required. No user action is required. No special conditions are required; it is repeatable.
  • Fixed version: sane (Alpine:v3.12) 1.0.30-r0; sane-backends (Debian:12) 1.0.31-2; sane-backends (openSUSE:Leap 15.1) 1.0.31-lp151.6.3.1.

Low priority for now. Upgrade to sane (Alpine:v3.12) 1.0.30-r0; sane-backends (Debian:12) 1.0.31-2; sane-backends (openSUSE:Leap 15.1) 1.0.31-lp151.6.3.1 or later.

Generated automatically from the record's data: CVSS (NVD and CNA), CISA KEV and SSVC, FIRST EPSS, exploit sources, fixed versions. How we calculate it

Primary sources: NVD · CVE.org · FIRST EPSS

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.

Published
Jun 24, 2020
Updated
Jun 16, 2026
EPSS
3.0% · 87th percentile

Report tools

JSON

Action score

36

Monitor

Low priority for now.

CVSS
35 / 40 · 8.8 / 10
CISA KEV
0 / 30 · Not listed
EPSS
1 / 30 · 3.0%

Get told when this record changes

  • Not in KEV: no record of exploitation in the wild
  • No public exploit code on record
  • A fix has been released

If any of these changes, we'll tell you in the daily email digest.

Follow CVE-2020-12861

When you'll hear from us

  • when it enters CISA KEV
  • when exploit code appears or is weaponized
  • when the record is updated (including a fixed version)
  • when EPSS rises 20 points in a week

One daily email digest (06:00 UTC); connect a webhook for KEV listings and weaponized exploits every 10 minutes on paid plans, on the hour on the free plan.

Your free account also gets you

  • CVE alerts: add the products and versions you run, get the new CVEs that affect them
  • Uptime monitoring: 1 site, instant email when it goes down
  • Add your domain: subdomains and takeover risk scanned every week (1 domain)
  • 10 scans an hour on the security tools, at most 30 a day (3 a day without an account), an API key and MCP
  • All your scans in one panel: findings, what changed in the last scan, a report per domain or per client (PDF, share link)
All free tools
Is your version affected? Check it

Noroxi analysis

What does it mean in your environment?

The assessment above is generated automatically from the record's data; it doesn't know your environment. Our team verifies on your systems whether this vulnerability is actually exploitable and which mitigation is enough.

We use this product, ask for help

Affected systems

Is your version affected?

Pick the product and type the version you run. It's compared with this record's version ranges in your browser; the version isn't sent anywhere.

VendorProduct
sane-projectsane backends
canonicalubuntu linux
opensuseleap

Affected versions

NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.

  • canonical ubuntu linux16.04
  • canonical ubuntu linux18.04
  • canonical ubuntu linux20.04
  • opensuse leap15.1
  • opensuse leap15.2
  • sane-project sane backendsbefore 1.0.30

Package-level exposure

OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.

EcosystemPackageAffected rangeFix
Alpine:v3.12sanebefore 1.0.30-r01.0.30-r0
Debian:12sane-backendsbefore 1.0.31-21.0.31-2
openSUSE:Leap 15.1sane-backendsbefore 1.0.31-lp151.6.3.11.0.31-lp151.6.3.1
openSUSE:Leap 15.2sane-backendsbefore 1.0.31-lp152.7.3.11.0.31-lp152.7.3.1
Red Hat:enterprise_linux:8::appstreamsane-backendsbefore 0:1.0.27-19.el8_2.10:1.0.27-19.el8_2.1
Red Hat:enterprise_linux:8::appstreamsane-backends-daemonbefore 0:1.0.27-19.el8_2.10:1.0.27-19.el8_2.1
Red Hat:enterprise_linux:8::appstreamsane-backends-daemon-debuginfobefore 0:1.0.27-19.el8_2.10:1.0.27-19.el8_2.1
Red Hat:enterprise_linux:8::appstreamsane-backends-debuginfobefore 0:1.0.27-19.el8_2.10:1.0.27-19.el8_2.1
Red Hat:enterprise_linux:8::appstreamsane-backends-debugsourcebefore 0:1.0.27-19.el8_2.10:1.0.27-19.el8_2.1
Red Hat:enterprise_linux:8::appstreamsane-backends-develbefore 0:1.0.27-19.el8_2.10:1.0.27-19.el8_2.1
Red Hat:enterprise_linux:8::appstreamsane-backends-docbefore 0:1.0.27-19.el8_2.10:1.0.27-19.el8_2.1
Red Hat:enterprise_linux:8::appstreamsane-backends-drivers-camerasbefore 0:1.0.27-19.el8_2.10:1.0.27-19.el8_2.1
Red Hat:enterprise_linux:8::appstreamsane-backends-drivers-cameras-debuginfobefore 0:1.0.27-19.el8_2.10:1.0.27-19.el8_2.1
Red Hat:enterprise_linux:8::appstreamsane-backends-drivers-scannersbefore 0:1.0.27-19.el8_2.10:1.0.27-19.el8_2.1
Red Hat:enterprise_linux:8::appstreamsane-backends-drivers-scanners-debuginfobefore 0:1.0.27-19.el8_2.10:1.0.27-19.el8_2.1
Red Hat:enterprise_linux:8::appstreamsane-backends-libsbefore 0:1.0.27-19.el8_2.10:1.0.27-19.el8_2.1
Red Hat:enterprise_linux:8::appstreamsane-backends-libs-debuginfobefore 0:1.0.27-19.el8_2.10:1.0.27-19.el8_2.1
Red Hat:rhel_e4s:8.0::appstreamsane-backendsbefore 0:1.0.27-19.el8_0.10:1.0.27-19.el8_0.1
Red Hat:rhel_e4s:8.0::appstreamsane-backends-daemonbefore 0:1.0.27-19.el8_0.10:1.0.27-19.el8_0.1
Red Hat:rhel_e4s:8.0::appstreamsane-backends-daemon-debuginfobefore 0:1.0.27-19.el8_0.10:1.0.27-19.el8_0.1
Red Hat:rhel_e4s:8.0::appstreamsane-backends-debuginfobefore 0:1.0.27-19.el8_0.10:1.0.27-19.el8_0.1
Red Hat:rhel_e4s:8.0::appstreamsane-backends-debugsourcebefore 0:1.0.27-19.el8_0.10:1.0.27-19.el8_0.1
Red Hat:rhel_e4s:8.0::appstreamsane-backends-develbefore 0:1.0.27-19.el8_0.10:1.0.27-19.el8_0.1
Red Hat:rhel_e4s:8.0::appstreamsane-backends-docbefore 0:1.0.27-19.el8_0.10:1.0.27-19.el8_0.1

+21

Other highest-scoring records for the same primary product.

  • CVE-2020-12865A 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…
    32Monitor
  • CVE-2023-46047An issue in Sane 1.2.1 allows a local attacker to execute arbitrary code via a crafted file to the sanei_configure_attach() function.
    29Monitor
  • CVE-2023-46052Sane 1.2.1 heap bounds overwrite in init_options() from backend/test.c via a long init_mode string in a configuration file.
    28Monitor

Published before and after this one in the same product

  • ← EarlierCVE-2020-12867Jun 1, 2020 · 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…
    22Monitor
  • Later →CVE-2020-12862Jun 24, 2020 · 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…
    17Monitor
  • Later →CVE-2020-12863Jun 24, 2020 · 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…
    17Monitor

Remediation

Which version to upgrade to

Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.

Product / packageFixed versionSource
alpine:sane1.0.30-r0 · Alpine:v3.12Package registry (OSV)
debian:sane-backends1.0.31-2 · Debian:12Package registry (OSV)
opensuse:sane-backends1.0.31-lp151.6.3.1 · openSUSE:Leap 15.1Package registry (OSV)
red hat:sane-backends0:1.0.27-19.el8_2.1 · Red Hat:enterprise_linux:8::appstreamPackage registry (OSV)
red hat:sane-backends-daemon0:1.0.27-19.el8_2.1 · Red Hat:enterprise_linux:8::appstreamPackage registry (OSV)
red hat:sane-backends-daemon-debuginfo0:1.0.27-19.el8_2.1 · Red Hat:enterprise_linux:8::appstreamPackage registry (OSV)
red hat:sane-backends-debuginfo0:1.0.27-19.el8_2.1 · Red Hat:enterprise_linux:8::appstreamPackage registry (OSV)
red hat:sane-backends-debugsource0:1.0.27-19.el8_2.1 · Red Hat:enterprise_linux:8::appstreamPackage registry (OSV)
red hat:sane-backends-devel0:1.0.27-19.el8_2.1 · Red Hat:enterprise_linux:8::appstreamPackage registry (OSV)
red hat:sane-backends-doc0:1.0.27-19.el8_2.1 · Red Hat:enterprise_linux:8::appstreamPackage registry (OSV)
red hat:sane-backends-drivers-cameras0:1.0.27-19.el8_2.1 · Red Hat:enterprise_linux:8::appstreamPackage registry (OSV)
red hat:sane-backends-drivers-cameras-debuginfo0:1.0.27-19.el8_2.1 · Red Hat:enterprise_linux:8::appstreamPackage registry (OSV)
red hat:sane-backends-drivers-scanners0:1.0.27-19.el8_2.1 · Red Hat:enterprise_linux:8::appstreamPackage registry (OSV)
red hat:sane-backends-drivers-scanners-debuginfo0:1.0.27-19.el8_2.1 · Red Hat:enterprise_linux:8::appstreamPackage registry (OSV)
red hat:sane-backends-libs0:1.0.27-19.el8_2.1 · Red Hat:enterprise_linux:8::appstreamPackage registry (OSV)
suse:sane-backends1.0.31-6.3.2 · SUSE:Linux Enterprise Module for Desktop Applications 15 SP1Package registry (OSV)

Exploit status

No known public exploit

No public exploit has been observed yet. That doesn't mean you're safe, only that the bar is a little higher.

Research context

For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.

Timeline

From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.

No dated events beyond publication.

Not on record for this CVE: EPSS history · patch commit or PR link · researcher credit · variant or chain candidate · public bounty program.

Technical details

Attack conditions

  • Someone on the same network segment can trigger it.
  • No account or password is required.
  • No user action is required.
  • No special conditions are required; it is repeatable.

If successful

Confidentiality
high · data can be read
Integrity
high · data or configuration can be modified
Availability
high · the service can be disrupted
Attack vector
Adjacent
Attack complexity
Low
Privileges required
None
User interaction
None
Scope
Unchanged
Confidentiality impact
High
Integrity impact
High
Availability impact
High

Weakness class (CWE)

CWE-787 · Out-of-bounds Write

CVSS vector

CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

nvd-primary

Attack context

MITRE CAPEC attack patterns and ATT&CK techniques for this weakness class (CWE). A starting point for detection rules and threat hunting.

MITRE has no CAPEC/ATT&CK mapping for this CWE.

References

All records