Every CVE Search/ Get API key

CVE-2022-40299

In Singular before 4.3.1, a predictable /tmp pathname is used (e.g., by sdb.cc), which allows...

7.8 HighFix available

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

0.34%Down 0.5 points since Sep 9, 2022
90%50%10%1%

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 HighCVSS: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 HighCVSS: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 HighCVSS: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 HighCVSS: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

Affected packages
PackageAffectedFixed
singular
Debian: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 less
1: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
singular
Debian: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
singular
Debian: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_jll
Julia
before 403.201.0+0
403.201.0+0
singular
Ubuntu: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
singular
Ubuntu:18.04:LTS
All versions, plus listed versions
1:4.1.0-p3+ds-21:4.1.0-p3+ds-2build1
None known
singular
Ubuntu: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
singular
Ubuntu:22.04:LTS
All versions, plus listed versions
1:4.1.1-p2+ds-4build31:4.2.1-p3+ds-1
None known
singular
Ubuntu: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
singular
Ubuntu:25.10
All versions, plus listed versions
1:4.4.1+ds-21:4.4.1-p3+ds-1
None known
singular
Ubuntu: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
singular
Ubuntu: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

History
RecordedChangedSources
aliasesEUVD
first indexedCVE 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

MoveEnter Open