{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2024-22857","published":"2024-03-07T01:15:52.640000Z","last_modified":"2026-06-17T07:11:50.197000Z","status":"Deferred","cvss":{"version":"3.1","score":9.8,"severity":"CRITICAL","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","source":"134c704f-9b21-4f2e-91b3-4a467353bcc0","primary":false},"auth":false,"cwes":["CWE-122"],"cpes":[],"cpes_truncated":false,"vendors":["zlog_project"],"products":["zlog_project/zlog"],"ssvc":{"exploitation":"poc","automatable":"no","technical_impact":"total"},"epss":{"score":0.02018,"percentile":0.81613,"date":"2026-11-30","model_version":"v2026.06.15"},"cat":"app","platform":"multi","eol":false,"packages":[],"severity":"critical","priority_score":74,"links":{"html_es":"/es/cve/CVE-2024-22857/","html_en":"/en/cve/CVE-2024-22857/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2024-22857","cve_org":"https://www.cve.org/CVERecord?id=CVE-2024-22857"},"untrusted":{"vendor_name":"zlog_project","product_name":"zlog","desc_en":"Heap based buffer flow in zlog v1.1.0 to v1.2.17 in zlog_rule_new().The size of record_name is MAXLEN_PATH(1024) + 1 but file_path may have data upto MAXLEN_CFG_LINE(MAXLEN_PATH*4) + 1. So a check was missing in zlog_rule_new() while copying the record_name from file_path + 1 which caused the buffer overflow. An attacker can exploit this vulnerability to overwrite the zlog_record_fn record_func function pointer to get arbitrary code execution or potentially cause remote code execution (RCE).","affected":[{"untrusted_vendor":"zlog_project","untrusted_product":"zlog","versions":[]}],"references":[{"url":"https://github.com/HardySimpson/zlog/","tags":[]},{"url":"https://github.com/HardySimpson/zlog/blob/1a7b1a6fb956b92a4079ccc91f30da21f34ca063/src/rule.h#L30","tags":[]},{"url":"https://github.com/HardySimpson/zlog/pull/251","tags":[]},{"url":"https://www.cybersecurity-help.cz/vdb/SB2024022842","tags":[]},{"url":"https://www.ebryx.com/blogs/arbitrary-code-execution-in-zlog-cve-2024-22857","tags":[]}]}}