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

- Priority: **Routine**
- Reason: Not severe (CVSS 7.7, local access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2022-10-26 · Modified: 2025-05-09
- Aliases: SUSE-SU-2022:3898-1, SUSE-SU-2022:3899-1
- Record: https://cvemate.com/vulnerability/CVE-2022-31256 · JSON: https://cvemate.com/vulnerability/CVE-2022-31256/json

## Description

```text
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.
```

## Signals

- CVSS: 7.8 high (v3.1, NVD) CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- EPSS: 0.251%, percentile 17.645%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected (first 20 of 28)

- opensuse factory: \< 8.17.1-1.1
- opensuse sendmail&distro=openSUSE Leap 15.3 (openSUSE): \< 8.15.2-150000.8.9.1
- opensuse sendmail&distro=openSUSE Leap 15.4 (openSUSE): \< 8.15.2-150000.8.9.1
- suse sendmail&distro=SUSE Enterprise Storage 6 (SUSE Linux Enterprise): \< 8.15.2-150000.8.9.1
- suse sendmail&distro=SUSE Enterprise Storage 7 (SUSE Linux Enterprise): \< 8.15.2-150000.8.9.1
- suse sendmail&distro=SUSE Linux Enterprise High Performance Computing 15 SP1-ESPOS (SUSE Linux Enterprise): \< 8.15.2-150000.8.9.1
- suse sendmail&distro=SUSE Linux Enterprise High Performance Computing 15 SP1-LTSS (SUSE Linux Enterprise): \< 8.15.2-150000.8.9.1
- suse sendmail&distro=SUSE Linux Enterprise High Performance Computing 15 SP2-ESPOS (SUSE Linux Enterprise): \< 8.15.2-150000.8.9.1
- suse sendmail&distro=SUSE Linux Enterprise High Performance Computing 15 SP2-LTSS (SUSE Linux Enterprise): \< 8.15.2-150000.8.9.1
- suse sendmail&distro=SUSE Linux Enterprise High Performance Computing 15-ESPOS (SUSE Linux Enterprise): \< 8.15.2-150000.8.9.1
- suse sendmail&distro=SUSE Linux Enterprise High Performance Computing 15-LTSS (SUSE Linux Enterprise): \< 8.15.2-150000.8.9.1
- suse sendmail&distro=SUSE Linux Enterprise Module for Basesystem 15 SP3 (SUSE Linux Enterprise): \< 8.15.2-150000.8.9.1
- suse sendmail&distro=SUSE Linux Enterprise Module for Basesystem 15 SP4 (SUSE Linux Enterprise): \< 8.15.2-150000.8.9.1
- suse sendmail&distro=SUSE Linux Enterprise Module for Legacy 12 (SUSE Linux Enterprise): \< 8.14.9-4.6.1
- suse sendmail&distro=SUSE Linux Enterprise Module for Package Hub 15 SP3 (SUSE Linux Enterprise): \< 8.15.2-150000.8.9.1
- suse sendmail&distro=SUSE Linux Enterprise Module for Package Hub 15 SP4 (SUSE Linux Enterprise): \< 8.15.2-150000.8.9.1
- suse sendmail&distro=SUSE Linux Enterprise Server 15 SP1-BCL (SUSE Linux Enterprise): \< 8.15.2-150000.8.9.1
- suse sendmail&distro=SUSE Linux Enterprise Server 15 SP1-LTSS (SUSE Linux Enterprise): \< 8.15.2-150000.8.9.1
- suse sendmail&distro=SUSE Linux Enterprise Server 15 SP2-BCL (SUSE Linux Enterprise): \< 8.15.2-150000.8.9.1
- suse sendmail&distro=SUSE Linux Enterprise Server 15 SP2-LTSS (SUSE Linux Enterprise): \< 8.15.2-150000.8.9.1

## References

- <https://bugzilla.suse.com/show_bug.cgi?id=1204696>
- <https://www.suse.com/support/update/announcement/2022/suse-su-20223898-1/>
- <https://bugzilla.suse.com/1202937>
- <https://bugzilla.suse.com/1204696>
- <https://www.suse.com/security/cve/CVE-2022-31256>
- <https://www.suse.com/support/update/announcement/2022/suse-su-20223899-1/>

---

Data as of 2026-12-05T03:09:20.164Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
