CVE-2023-43338
CWE-787Published: September 23, 2023· Updated: Jun 17, 2026
Official Description
Cesanta mjs v2.20.0 was discovered to contain a function pointer hijacking vulnerability via the function mjs_get_ptr(). This vulnerability allows attackers to execute arbitrary code via a crafted input.
Risk Analysis
Cesanta mjs contains a function pointer hijacking vulnerability that allows arbitrary code execution via crafted input. The critical CVSS score highlights the danger of this memory-related flaw.
No public exploit is currently known, and it is not tracked in the KEV catalog. The vulnerability is remotely exploitable.
Update to a version of mjs that addresses the function pointer vulnerability.
Technical Analysis
CVE-2023-43338 can be exploited remotely over the network without requiring physical or adjacent access, significantly expanding the attack surface for threat actors.
The vulnerability requires no privileges and no user interaction, making it a prime target for automated exploitation campaigns and worm-like propagation.
A successful exploit results in complete confidentiality breach (data exposure), full integrity compromise (data manipulation), availability disruption (denial of service), with a CVSS base score of 9.8.
From a weakness classification perspective (CWE-787): Out-of-bounds write vulnerabilities can lead to data corruption, crashes, or arbitrary code execution.
CVSS v3.1 Vector Breakdown
Affected Vendors & Products
Exploit & PoC Resources
Official Patches & Advisories
All References (2)
Quick Facts
Related CVEs (CWE-787)
Recommended Actions
- →Apply vendor patches immediately
- →Monitor CVE-2023-43338 in threat intel feeds
- →Review IDS/IPS signatures for exploitation attempts