7.8

CVE-2022-31256: sendmail: mail to root privilege escalation via sm-client.pre script

Modified
AliasesSUSE-SU-2022:3898-1SUSE-SU-2022:3899-1
Published 26-10-2022Last modified 09-05-2025

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.

Priority
Routine

Not severe (CVSS 7.7, local access); no exploitation reported by the 5 checked sources

Source freshness unavailable

How is this decided?
CVSS score
7.8/10
010
High · v3.1 (NVD)
EPSS score
0.25%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits0No public exploits recorded

Timeline

  1. 26-10-2022
    PublishedVulnerability first disclosed.
  2. 09-05-2025
    Last 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

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

04-11-202604-12-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Version check

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

References

6 links