# CVE-2022-40299: In Singular before 4.3.1, a predictable /tmp pathname is used (e.g., by sdb.cc), which allows local users to gain the privileges of other u…

- Severity: High 7.8 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- 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.34%, higher than 29% of CVEs (2026-12-02)
- Public exploit code or proof of concept: 2 links below, marked "exploit"
- Published: 2022-09-09T00:18:03.000Z
- Modified: 2026-06-17T05:01:15.883Z
- Weaknesses: CWE-330
- Assigned by: mitre

## Description

In Singular before 4.3.1, a predictable /tmp pathname is used (e.g., by sdb.cc), which allows local users to gain the privileges of other users via a procedure in a file under /tmp. NOTE: this CVE Record is about sdb.cc and similar files in the Singular interface that have predictable /tmp pathnames; this CVE Record is not about the lack of a safe temporary-file creation capability in the Singular language.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- singular singular: before 4.3.1

## References

- <https://github.com/Singular/Singular/issues/1137> (exploit, issue-tracking, patch, third-party-advisory)
- <http://michael.orlitzky.com/cves/cve-2022-40299.xhtml> (exploit, third-party-advisory)
- <https://github.com/Singular/Singular/commit/5f28fbf066626fa9c4a8f0e6408c0bb362fb386c> (patch, third-party-advisory)

## Sources

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

---

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