CVE-2022-31256: sendmail: mail to root privilege escalation via sm-client.pre script
Vulnerability summary
CVE-2022-31256 is a high (CVSS 7.8) vulnerability in opensuse factory. EPSS estimates a 0.25% chance of exploitation in the next 30 days, higher than 17.6% of scored vulnerabilities.
Not severe (CVSS 7.7, local access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Timeline
- 26-10-2022PublishedVulnerability first disclosed.
- 09-05-2025Last modifiedVulnerability information updated.
Description
A Improper Link Resolution Before File Access ('Link Following') vulnerability in a script called by the sendmail systemd service of openSUSE Factory allows local attackers to escalate from user mail to root. This issue affects: SUSE openSUSE Factory sendmail versions prior to 8.17.1-1.1.
CVSS metrics
2 scores · 2 sources · 1 version- CVE.orgCNA7.7HighCVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:NDiffers
EPSS trend
Probability
0.25%
Chance of exploitation in the next 30 days
Percentile
18%
Versus all other CVEs
30-day change
No change 0.00 pp
From 0.25% on 04-11-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Known conditions: local access, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.
Suse25 products
- sendmail&distro=SUSE Enterprise Storage 6< 8.15.2-150000.8.9.1
- sendmail&distro=SUSE Enterprise Storage 7< 8.15.2-150000.8.9.1
- sendmail&distro=SUSE Linux Enterprise High Performance Computing 15 SP1-ESPOS< 8.15.2-150000.8.9.1
- sendmail&distro=SUSE Linux Enterprise High Performance Computing 15 SP1-LTSS< 8.15.2-150000.8.9.1
- sendmail&distro=SUSE Linux Enterprise High Performance Computing 15 SP2-ESPOS< 8.15.2-150000.8.9.1
Opensuse3 products
- factory< 8.17.1-1.1
- sendmail&distro=openSUSE Leap 15.3< 8.15.2-150000.8.9.1
- sendmail&distro=openSUSE Leap 15.4< 8.15.2-150000.8.9.1
2 vendors · 28 products