Home / CVE-2024-22857
CVE-2024-22857: is it exploited, and which versions are affected and fixed?
CVE-2024-22857 is a heap buffer overflow vulnerability. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 16:39 UTC). The record names no affected version range. No fixed version is listed in the sources yet; check the vendor advisory. Severity: Critical (9.8, CVSS 3.1, from CISA-ADP).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 16:39 UTC, CVE record November 19, 2026, 07:11 UTC and NVD November 19, 2026, 07:31 UTC.
What is CVE-2024-22857?
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).
From the CVE record by mitre, last updated August 27, 2024, 19:45 UTC.
How severe is CVE-2024-22857?
| Score | Version | Vector | Source |
|---|---|---|---|
| Critical 9.8 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H | CISA-ADP |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2024-22857 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: poc; automatable: no; technical impact: total (CISA ADP, August 27, 2024)
- EPSS
- 1.69% probability of exploitation activity in the next 30 days, percentile 77.8 (FIRST EPSS, scores of December 3, 2026)
What kind of flaw is it?
- CWE-122 Heap-based Buffer Overflow
Where are the vendor advisories and references?
- https://github.com/HardySimpson/zlog/
- https://github.com/HardySimpson/zlog/blob/1a7b1a6fb956b92a4079ccc91f30da21f34ca063/src/rule.h#L30
- https://www.cybersecurity-help.cz/vdb/SB2024022842
- https://github.com/HardySimpson/zlog/pull/251
- https://www.ebryx.com/blogs/arbitrary-code-execution-in-zlog-cve-2024-22857
When was it published, and where is the official record?
- Reserved
- January 11, 2024
- Published
- March 7, 2024, 00:00 UTC
- CVE record updated
- August 27, 2024, 19:45 UTC by mitre
- NVD
- Deferred, last modified June 17, 2026, 07:11 UTC
- Last checked
- CVE list November 19, 2026, 07:11 UTC; NVD November 19, 2026, 07:31 UTC; KEV December 3, 2026, 16:39 UTC; EPSS December 3, 2026
- Official record
- cve.org · NVD
Which other CVEs were published on March 7, 2024?
- Mar 7, 2024CVE-2024-2272 keerti1924 Online-Book-Store-Website: SQL injection
- Mar 7, 2024CVE-2024-2271 keerti1924 Online-Book-Store-Website: SQL injection
- Mar 7, 2024CVE-2024-2270 keerti1924 Online-Book-Store-Website: cross-site scripting (XSS)
- Mar 7, 2024CVE-2024-2269 keerti1924 Online-Book-Store-Website: SQL injection
- Mar 7, 2024CVE-2024-2268 keerti1924 Online-Book-Store-Website: unrestricted file upload
- Mar 7, 2024CVE-2024-2267 keerti1924 Online-Book-Store-Website
- Mar 7, 2024CVE-2024-2266 keerti1924 Secret-Coder-PHP-Project: cross-site scripting (XSS)
- Mar 7, 2024CVE-2024-2265 keerti1924 PHP-MYSQL-User-Login-System: inclusion of Sensitive Information in Source Code
Every CVE published on March 7, 2024
Questions about CVE-2024-22857
Is CVE-2024-22857 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 16:39 UTC. FIRST's EPSS gives it a 1.69% chance of exploitation activity in the next 30 days (scores of December 3, 2026).
Which version fixes CVE-2024-22857?
None of the sources (the CVE record, the NVD and GitHub's reviewed advisories) lists a fixed version yet. Check the vendor's advisory in the references.
How severe is CVE-2024-22857?
Critical (9.8, CVSS 3.1, from CISA-ADP). The severity table above shows each score with its source.
Where is the official record of CVE-2024-22857?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.