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

Check todayData theft and tampering with local access.
7.7HIGH

Key Information:

Vendor

Suse

Vendor
CVE Published:
26 October 2022

Key facts

CVE-2022-31256 is a high severity (CVSS 7.7) vulnerability in Suse openSUSE Factory. No exploitation in the wild or public proof-of-concept has been recorded so far. Its EPSS score is 0.3%, the estimated probability of exploitation in the next 30 days. Fixed in openSUSE Factory 8.17.1-1.1.

How risky is it?

  • No: Needs local access
  • No: No public exploit code yet
  • No: No attacks seen yet
  • No: Not on CISA's exploited list

Our verdict

Check today

Find out if you're affected. If you are, patch.

What to do

1Update to a fixed version

Upgrade to one of these versions or later:

openSUSE Factory8.17.1-1.1
Read the vendor advisory ↗
2Why it's rated "Check today"
  • Its CVSS severity is high (7.7).

What is CVE-2022-31256?

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.

Affected Version(s)

openSUSE Factory sendmail < 8.17.1-1.1

References

ServiceAccount Impersonation Flaw in Fleet by SUSE

CVE-2026-41050
SuseRancher9.9CRITICAL

Command Injection Vulnerability in NeuVector Enforcer by NeuVector

CVE-2025-54469
SuseNeuvector9.9CRITICAL
View more Suse vulnerabilities...

CVSS V3.1

Score:
7.7
Severity:
HIGH
Confidentiality:
High
Integrity:
High
Availability:
High
Attack Vector:
Local
Attack Complexity:
Low
Privileges Required:
None
User Interaction:
None
Scope:
Unchanged

Timeline

  • Vulnerability published

  • Vulnerability Reserved

Credit

Matthias Gerstner and Filippo Bonazzi from SUSE
.