CVE-2024-42331 is a use-after-free vulnerability in the es_browser_ctor method of the src/libs/zbxembed/browser.c file. The method retrieves a heap pointer from the Duktape JavaScript engine, which is later used by browser_push_error in src/libs/zbxembed/browser_error.c. If the heap pointer is freed by garbage collection before use, a use-after-free condition occurs. This vulnerability has a low CVSS score of 3.3 and does not impact confidentiality or integrity but may cause availability issues.