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…
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
- CWE
- CWE-787
Report tools
Action score
36
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.
Is your version affected? Check itNoroxi 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 helpAffected 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.
| Vendor | Product | CPE |
|---|---|---|
| sane-project | sane backends | cpe:2.3:o:sane-project:sane_backends |
| canonical | ubuntu linux | cpe:2.3:o:canonical:ubuntu_linux |
| opensuse | leap | cpe:2.3:o:opensuse:leap |
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.
| Ecosystem | Package | Affected range | Fix |
|---|---|---|---|
| Alpine:v3.12 | sane | before 1.0.30-r0 | 1.0.30-r0 |
| Debian:12 | sane-backends | before 1.0.31-2 | 1.0.31-2 |
| openSUSE:Leap 15.1 | sane-backends | before 1.0.31-lp151.6.3.1 | 1.0.31-lp151.6.3.1 |
| openSUSE:Leap 15.2 | sane-backends | before 1.0.31-lp152.7.3.1 | 1.0.31-lp152.7.3.1 |
| Red Hat:enterprise_linux:8::appstream | sane-backends | before 0:1.0.27-19.el8_2.1 | 0:1.0.27-19.el8_2.1 |
| Red Hat:enterprise_linux:8::appstream | sane-backends-daemon | before 0:1.0.27-19.el8_2.1 | 0:1.0.27-19.el8_2.1 |
| Red Hat:enterprise_linux:8::appstream | sane-backends-daemon-debuginfo | before 0:1.0.27-19.el8_2.1 | 0:1.0.27-19.el8_2.1 |
| Red Hat:enterprise_linux:8::appstream | sane-backends-debuginfo | before 0:1.0.27-19.el8_2.1 | 0:1.0.27-19.el8_2.1 |
| Red Hat:enterprise_linux:8::appstream | sane-backends-debugsource | before 0:1.0.27-19.el8_2.1 | 0:1.0.27-19.el8_2.1 |
| Red Hat:enterprise_linux:8::appstream | sane-backends-devel | before 0:1.0.27-19.el8_2.1 | 0:1.0.27-19.el8_2.1 |
| Red Hat:enterprise_linux:8::appstream | sane-backends-doc | before 0:1.0.27-19.el8_2.1 | 0:1.0.27-19.el8_2.1 |
| Red Hat:enterprise_linux:8::appstream | sane-backends-drivers-cameras | before 0:1.0.27-19.el8_2.1 | 0:1.0.27-19.el8_2.1 |
| Red Hat:enterprise_linux:8::appstream | sane-backends-drivers-cameras-debuginfo | before 0:1.0.27-19.el8_2.1 | 0:1.0.27-19.el8_2.1 |
| Red Hat:enterprise_linux:8::appstream | sane-backends-drivers-scanners | before 0:1.0.27-19.el8_2.1 | 0:1.0.27-19.el8_2.1 |
| Red Hat:enterprise_linux:8::appstream | sane-backends-drivers-scanners-debuginfo | before 0:1.0.27-19.el8_2.1 | 0:1.0.27-19.el8_2.1 |
| Red Hat:enterprise_linux:8::appstream | sane-backends-libs | before 0:1.0.27-19.el8_2.1 | 0:1.0.27-19.el8_2.1 |
| Red Hat:enterprise_linux:8::appstream | sane-backends-libs-debuginfo | before 0:1.0.27-19.el8_2.1 | 0:1.0.27-19.el8_2.1 |
| Red Hat:rhel_e4s:8.0::appstream | sane-backends | before 0:1.0.27-19.el8_0.1 | 0:1.0.27-19.el8_0.1 |
| Red Hat:rhel_e4s:8.0::appstream | sane-backends-daemon | before 0:1.0.27-19.el8_0.1 | 0:1.0.27-19.el8_0.1 |
| Red Hat:rhel_e4s:8.0::appstream | sane-backends-daemon-debuginfo | before 0:1.0.27-19.el8_0.1 | 0:1.0.27-19.el8_0.1 |
| Red Hat:rhel_e4s:8.0::appstream | sane-backends-debuginfo | before 0:1.0.27-19.el8_0.1 | 0:1.0.27-19.el8_0.1 |
| Red Hat:rhel_e4s:8.0::appstream | sane-backends-debugsource | before 0:1.0.27-19.el8_0.1 | 0:1.0.27-19.el8_0.1 |
| Red Hat:rhel_e4s:8.0::appstream | sane-backends-devel | before 0:1.0.27-19.el8_0.1 | 0:1.0.27-19.el8_0.1 |
| Red Hat:rhel_e4s:8.0::appstream | sane-backends-doc | before 0:1.0.27-19.el8_0.1 | 0:1.0.27-19.el8_0.1 |
+21
Same product
sane-project: all recordsOther 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 / package | Fixed version | Source |
|---|---|---|
| alpine:sane | 1.0.30-r0 · Alpine:v3.12 | Package registry (OSV) |
| debian:sane-backends | 1.0.31-2 · Debian:12 | Package registry (OSV) |
| opensuse:sane-backends | 1.0.31-lp151.6.3.1 · openSUSE:Leap 15.1 | Package registry (OSV) |
| red hat:sane-backends | 0:1.0.27-19.el8_2.1 · Red Hat:enterprise_linux:8::appstream | Package registry (OSV) |
| red hat:sane-backends-daemon | 0:1.0.27-19.el8_2.1 · Red Hat:enterprise_linux:8::appstream | Package registry (OSV) |
| red hat:sane-backends-daemon-debuginfo | 0:1.0.27-19.el8_2.1 · Red Hat:enterprise_linux:8::appstream | Package registry (OSV) |
| red hat:sane-backends-debuginfo | 0:1.0.27-19.el8_2.1 · Red Hat:enterprise_linux:8::appstream | Package registry (OSV) |
| red hat:sane-backends-debugsource | 0:1.0.27-19.el8_2.1 · Red Hat:enterprise_linux:8::appstream | Package registry (OSV) |
| red hat:sane-backends-devel | 0:1.0.27-19.el8_2.1 · Red Hat:enterprise_linux:8::appstream | Package registry (OSV) |
| red hat:sane-backends-doc | 0:1.0.27-19.el8_2.1 · Red Hat:enterprise_linux:8::appstream | Package registry (OSV) |
| red hat:sane-backends-drivers-cameras | 0:1.0.27-19.el8_2.1 · Red Hat:enterprise_linux:8::appstream | Package registry (OSV) |
| red hat:sane-backends-drivers-cameras-debuginfo | 0:1.0.27-19.el8_2.1 · Red Hat:enterprise_linux:8::appstream | Package registry (OSV) |
| red hat:sane-backends-drivers-scanners | 0:1.0.27-19.el8_2.1 · Red Hat:enterprise_linux:8::appstream | Package registry (OSV) |
| red hat:sane-backends-drivers-scanners-debuginfo | 0:1.0.27-19.el8_2.1 · Red Hat:enterprise_linux:8::appstream | Package registry (OSV) |
| red hat:sane-backends-libs | 0:1.0.27-19.el8_2.1 · Red Hat:enterprise_linux:8::appstream | Package registry (OSV) |
| suse:sane-backends | 1.0.31-6.3.2 · SUSE:Linux Enterprise Module for Desktop Applications 15 SP1 | Package 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 WriteCVSS 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.
Change log (1)
- Fix✗ → ✓
For records you follow, these changes also arrive as notifications. →
References
Show all references (3 more)Show less
Vendor advisories and official records. Exploit/PoC links are deliberately left out.