CVE-2022-40299
In Singular before 4.3.1, a predictable /tmp pathname is used (e.g., by sdb.cc), which allows...
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.
Attack profile
How easy it is to exploit
- Attack vector
- Local
- Complexity
- Low
- Privileges needed
- Low
- User interaction
- None
What an attacker can affect
- Confidentiality
- High
- Integrity
- High
- Availability
- High
Exploit likelihood
What each source reports
NVD Score used
7.8
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.
- Record
CVE-2022-40299- 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 - Weakness
- CWE-330
- Updated
- 2026-11-02
CVE List No score
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.
- Record
CVE-2022-40299- Updated
- 2026-11-02
EUVDEUVD-2022-43596 No score
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.
- Record
EUVD-2022-43596- Updated
- 2026-11-03
GitHub AdvisoriesGHSA-92qh-jj8j-74cv
7.8
In Singular before 4.3.1, a predictable /tmp pathname is used (e.g., by sdb.cc), which allows...
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.
- Record
GHSA-92qh-jj8j-74cv- 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 - Weakness
- CWE-269
- Updated
- 2026-11-02
OSVJLSEC-2026-289
7.8
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.
- Record
JLSEC-2026-289- 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 - Updated
- 2026-11-02
OSVUBUNTU-CVE-2022-40299
7.8
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.
- Record
UBUNTU-CVE-2022-40299- 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 - Updated
- 2026-11-02
OSV No score
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.
- Record
CVE-2022-40299- Updated
- 2026-11-02
OSVDEBIAN-CVE-2022-40299 No score
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.
- Record
DEBIAN-CVE-2022-40299- Updated
- 2026-11-03
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
singularDebian:12 |
All versions, plus listed versions 1:4.3.1-p3+ds-21:4.3.2+ds-11:4.3.2+ds-21:4.3.2+ds-31:4.3.2-p10+ds-1 Show 25 moreShow less1:4.3.2-p10+ds-1.11:4.3.2-p10+ds-1.1~exp11:4.3.2-p16+ds-11:4.3.2-p16+ds-1~exp11:4.3.2-p3+ds-11:4.3.2-p4+ds-11:4.3.2-p7+ds-11:4.3.2-p8+ds-11:4.3.2-p9+ds-11:4.4.0+ds-11:4.4.0+ds-21:4.4.0+ds-31:4.4.0+ds-41:4.4.0-p2+ds-11:4.4.0-p3+ds-11:4.4.0-p5+ds-11:4.4.0-p6+ds-11:4.4.0-p7+ds-11:4.4.0-p8+ds-11:4.4.1+ds-11:4.4.1+ds-21:4.4.1+ds-31:4.4.1-p3+ds-11:4.4.1-p5+ds-11:4.4.1.5+ds-2 |
None known |
singularDebian:13 |
All versions, plus listed versions 1:4.4.1+ds-21:4.4.1+ds-31:4.4.1-p3+ds-11:4.4.1-p5+ds-11:4.4.1.5+ds-2 |
None known |
singularDebian:14 |
All versions, plus listed versions 1:4.4.1+ds-21:4.4.1+ds-31:4.4.1-p3+ds-11:4.4.1-p5+ds-11:4.4.1.5+ds-2 |
None known |
Singular_jllJulia |
before 403.201.0+0 | 403.201.0+0 |
singularUbuntu:16.04:LTS |
All versions, plus listed versions 4.0.2-p2+ds-24.0.2-p2+ds-34.0.3+ds-1 |
None known |
singularUbuntu:18.04:LTS |
All versions, plus listed versions 1:4.1.0-p3+ds-21:4.1.0-p3+ds-2build1 |
None known |
singularUbuntu:20.04:LTS |
All versions, plus listed versions 1:4.1.1-p2+ds-3build11:4.1.1-p2+ds-41:4.1.1-p2+ds-4build11:4.1.1-p2+ds-4build2 |
None known |
singularUbuntu:22.04:LTS |
All versions, plus listed versions 1:4.1.1-p2+ds-4build31:4.2.1-p3+ds-1 |
None known |
singularUbuntu:24.04:LTS |
All versions, plus listed versions 1:4.3.2-p7+ds-11:4.3.2-p8+ds-11:4.3.2-p10+ds-11:4.3.2-p10+ds-1build11:4.3.2-p10+ds-1.11:4.3.2-p10+ds-1.1build1 |
None known |
singularUbuntu:25.10 |
All versions, plus listed versions 1:4.4.1+ds-21:4.4.1-p3+ds-1 |
None known |
singularUbuntu:26.10 |
All versions, plus listed versions 1:4.4.1-p5+ds-1build11:4.4.1.5+ds-21:4.4.1.5+ds-2build1 |
None known |
singularUbuntu:26.04:LTS |
All versions, plus listed versions 1:4.4.1-p3+ds-11:4.4.1-p5+ds-11:4.4.1-p5+ds-1build1 |
None known |
History
| Recorded | Changed | Sources |
|---|---|---|
| aliases | EUVD | |
| first indexed | CVE List, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2022-40299 is a high vulnerability (CVSS 7.8) in Singular, published September 9, 2022. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 0.34%, the 27th percentile. Fixed in Singular_jll 403.201.0+0.
References
github.com/Singular/Singular/issues/1137
github.com/Singular/Singular/commit/5f28fbf066626fa9c4a8f0e6408c0bb362fb386c
michael.orlitzky.com/cves/cve-2022-40299.xhtml
nvd.nist.gov/vuln/detail/CVE-2022-40299
github.com/advisories/GHSA-92qh-jj8j-74cv
github.com/CVEProject/cvelistV5/tree/main/cves/2022/40xxx/CVE-2022-40299.json
security-tracker.debian.org/tracker/CVE-2022-40299
ubuntu.com/security/CVE-2022-40299
cve.org/CVERecord?id=CVE-2022-40299