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

- Severity: High 7.7 (CVSS:3.1, scored by suse) `CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.25%, higher than 17% of CVEs (2026-12-01)
- Published: 2022-10-26T08:55:09.458Z
- Modified: 2026-06-17T04:45:14.233Z
- Weaknesses: CWE-59
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: suse

## 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.

(As written by CVE List.)

## Affected

- SUSE openSUSE Factory: from sendmail before 8.17.1-1.1
- opensuse factory: before 8.17.1-1.1

## Every score

- suse: CVSS:3.1 7.7 High `CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N`
- NVD: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://bugzilla.suse.com/show_bug.cgi?id=1204696> (issue-tracking, vendor-advisory)

## Sources

- CVE List: [CVE-2022-31256](https://www.cve.org/CVERecord?id=CVE-2022-31256), CVE Terms of Use, modified 2025-05-09
- NVD: [CVE-2022-31256](https://nvd.nist.gov/vuln/detail/CVE-2022-31256), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2022-31256 · Whole record: https://cve.day/CVE-2022-31256.json · Rebuilt by cve.day 2026-11-25T22:58:16.012Z
