{"id":"CVE-2018-1000052","details":"fmtlib version prior to version 4.1.0 (before commit 0555cea5fc0bf890afe0071a558e44625a34ba85) contains a Memory corruption (SIGSEGV), CWE-134 vulnerability in fmt::print() library function that can result in Denial of Service. This attack appear to be exploitable via Specifying an invalid format specifier in the fmt::print() function results in a SIGSEGV (memory corruption, invalid write). This vulnerability appears to have been fixed in after commit 8cf30aa2be256eba07bb1cefb998c52326e846e7.","modified":"2026-07-08T14:13:28.673309Z","published":"2018-02-09T23:29:01.837Z","references":[{"type":"REPORT","url":"https://github.com/fmtlib/fmt/issues/642"},{"type":"FIX","url":"https://github.com/fmtlib/fmt/commit/8cf30aa2be256eba07bb1cefb998c52326e846e7"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/fmtlib/fmt","events":[{"introduced":"0"},{"fixed":"135ab5cf71ed731fc9fa0653051e7d4884a3652f"},{"fixed":"8cf30aa2be256eba07bb1cefb998c52326e846e7"}],"database_specific":{"cpe":"cpe:2.3:a:fmt:fmt:*:*:*:*:*:*:*:*","extracted_events":[{"introduced":"0"},{"fixed":"4.1.0"}],"source":["CPE_RANGE","REFERENCES"]}}],"versions":["4.0.0","3.0.0","2.0.0","1.1.0","1.0.0","0.12.0","v0.11.0","0.10.0","0.9.0","0.8.0"],"database_specific":{"vanir_signatures":[{"id":"CVE-2018-1000052-03a3f6b0","signature_type":"Line","signature_version":"v1","source":"https://github.com/fmtlib/fmt/commit/8cf30aa2be256eba07bb1cefb998c52326e846e7","target":{"file":"fmt/format.h"},"deprecated":false,"digest":{"threshold":0.9,"line_hashes":["110591803394114351941914458806589760721","287810283929934154825607901014832827640","212250017826160587350969036080949245993","127986707911165185366547703139121270059","311532370314298645239276907197314443023","293857183114200540885559026665483317773","309151260092442257579592463455938576168","307624301098919803971134373174490442590","70364650391352051818610078987705462671","252725868438599145184231759417438568108"]}},{"deprecated":false,"digest":{"function_hash":"265989882403154873678894996918983833800","length":1762},"id":"CVE-2018-1000052-5b6658cc","signature_type":"Function","signature_version":"v1","source":"https://github.com/fmtlib/fmt/commit/8cf30aa2be256eba07bb1cefb998c52326e846e7","target":{"file":"fmt/format.h","function":"prepare_int_buffer"}}],"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2018-1000052.json","vanir_signatures_modified":"2026-07-08T14:13:28Z"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"}]}