mstdlib (aka the M Standard Library for C) 1.2.0 has incorrect file access control in situations where M_fs_perms_can_access attempts to delete an existing file (that lacks public read/write access) during a copy operation, related to fs/m_fs.c and fs/m_fs_path.c
Published Jul 13, 2018
9.8
CRITICALCVSS 3.0
EPSS 1.65%
Description
mstdlib (aka the M Standard Library for C) 1.2.0 has incorrect file access control in situations where M_fs_perms_can_access attempts to delete an existing file (that lacks public read/write access) during a copy operation, related to fs/m_fs.c and fs/m_fs_path.c. An attacker could create the file and then would have access to the data.
Affected products
Remediation
No remediation recorded yet.
Metrics
No CVSS v4.0 score for this CVE.
No CVSS v3.1 score for this CVE.
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
AV:N/AC:L/Au:N/C:P/I:P/A:P
This CVE is not in the KEV list.
No CISA SSVC assessment for this CVE yet.
Estimated probability of exploitation in the wild in the next 30 days (FIRST EPSS). As of Oct 1, 2026.
Score over time
2021–2026- EPSS v1
- EPSS v2
- EPSS v3
- EPSS v5
Percentile over time
- EPSS v1
- EPSS v2
- EPSS v3
- EPSS v5
Table of values (16 key points)
Flat stretches are collapsed; showing up to 120 newest points.
| Date | Score | Percentile | Model |
|---|---|---|---|
| Oct 1, 2026 | 1.65% (0.01653) | 75.68th | v5 (v2026.06.15) |
| Jun 15, 2026 | 1.65% (0.01653) | 73.40th | v5 (v2026.06.15) |
| Jul 20, 2024 | 0.21% (0.00213) | 59.83th | v3 (v2023.03.01) |
| Apr 25, 2024 | 0.21% (0.00213) | 58.93th | v3 (v2023.03.01) |
| Mar 15, 2024 | 0.21% (0.00206) | 57.82th | v3 (v2023.03.01) |
| Feb 8, 2024 | 0.18% (0.00180) | 54.15th | v3 (v2023.03.01) |
| Dec 4, 2023 | 0.24% (0.00245) | 62.21th | v3 (v2023.03.01) |
| Mar 7, 2023 | 0.24% (0.00235) | 59.82th | v3 (v2023.03.01) |
| Mar 6, 2023 | 0.89% (0.00885) | 27.89th | v2 (v2022.01.01) |
| Sep 10, 2022 | 0.89% (0.00885) | 26.24th | v2 (v2022.01.01) |
| Apr 1, 2022 | 0.89% (0.00885) | 24.24th | v2 (v2022.01.01) |
| Feb 4, 2022 | 0.89% (0.00885) | 10.50th | v2 (v2022.01.01) |
| Feb 3, 2022 | 0.62% (0.00624) | 17.80th | v1 |
| Jan 6, 2022 | 0.62% (0.00624) | 17.24th | v1 |
| Sep 1, 2021 | 0.62% (0.00624) | 45.04th | v1 |
| Apr 14, 2021 | 0.62% (0.00624) | 0.00th | v1 |
References (2)
- https://github.com/Monetra/mstdlib/commit/db124b8f607dd0a40a9aef2d4d468fad433522a7 x_refsource_CONFIRMPatchThird Party Advisory
- https://github.com/Monetra/mstdlib/issues/2 x_refsource_CONFIRMThird Party Advisory
| Link | Providers | Tags |
|---|---|---|
| https://github.com/Monetra/mstdlib/commit/db124b8f607dd0a40a9aef2d4d468fad433522a7 | x_refsource_CONFIRMPatchThird Party Advisory | |
| https://github.com/Monetra/mstdlib/issues/2 | x_refsource_CONFIRMThird Party Advisory |
Change history (0)
No recorded changes yet.