{"id":"CVE-2018-14043","aliases":["EUVD-2018-5970","GHSA-h432-5g5p-5gfj"],"status":"published","title":"mstdlib (aka the M Standard Library for C) 1.2.0 has incorrect file access control in situations...","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.","severity":{"version":"3.0","score":9.8,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-08","score":0.01653,"percentile":0.76701,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":false},"cwes":["CWE-732"],"published":"2018-07-13T14:00:00Z","modified":"2026-06-17T01:40:31Z","products":[{"vendor":"monetra","product":"mstdlib"}],"references":[{"url":"https://github.com/Monetra/mstdlib/issues/2","tags":["x_refsource_CONFIRM","x_transferred","Third Party Advisory"]},{"url":"https://github.com/Monetra/mstdlib/commit/db124b8f607dd0a40a9aef2d4d468fad433522a7","tags":["x_refsource_CONFIRM","x_transferred","Patch","Third Party Advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2018-14043"},{"url":"https://github.com/advisories/GHSA-h432-5g5p-5gfj"}],"sources":{"cve":[{"id":"CVE-2018-14043","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.","status":"published","published":"2018-07-13T14:00:00Z","modified":"2024-09-16T16:22:38.555Z","updated_at":"2026-11-02T14:35:00.589142Z"}],"euvd":[{"id":"EUVD-2018-5970","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.","status":"published","published":"2018-07-13T14:00:00Z","modified":"2024-09-16T16:22:38Z","updated_at":"2026-11-03T00:55:52.590586Z"}],"ghsa":[{"id":"GHSA-h432-5g5p-5gfj","title":"mstdlib (aka the M Standard Library for C) 1.2.0 has incorrect file access control in situations...","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.","status":"published","published":"2022-05-13T01:49:53Z","modified":"2023-02-02T05:01:46Z","cvss":[{"version":"3.0","score":9.8,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"cwes":["CWE-732"],"updated_at":"2026-11-02T14:51:15.657685Z"}],"nvd":[{"id":"CVE-2018-14043","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.","status":"published","published":"2018-07-13T14:29:00.37Z","modified":"2026-06-17T01:40:31.987Z","cvss":[{"version":"3.0","score":9.8,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical","assessor":"primary"},{"version":"2.0","score":7.5,"vector":"AV:N/AC:L/Au:N/C:P/I:P/A:P","level":"high","assessor":"primary"}],"cwes":["CWE-732"],"updated_at":"2026-11-02T14:04:32.929986Z"}]}}
