Locutus brings stdlibs of other programming languages to JavaScript for educational purposes. Prior to…
Historical advisory recorded 25 Oct 2026 07:19:20 UTC. Read the latest advisory.
nvd · CVE-2026-32304
PublishedLocutus brings stdlibs of other programming languages to JavaScript for educational purposes. Prior to 3.0.14, the create_function(args, code) function passes both parameters directly to the Function constructor without any sanitization, allowing arbitrary code execution. This is distinct from CVE-2026-29091 which was call_user_func_array using eval() in v2.x. This finding affects create_function using new Function() in v3.x. This vulnerability is fixed in 3.0.14.
Read the publisher's advisoryAffected versions, risk and source history
nvd · CVE-2026-32304
PublishedNVD analysis and CPE criteria are source context, not proof that a package or your environment is affected. Complete affected data, logical configurations and SSVC are retained in the original JSON.
Source analysis status: Modified
Weakness classifications: CWE-94 · CWE-88
Original publisher date fields
published: 2026-03-13T19:54:41.830
lastModified: 2026-07-15T02:19:58.393
1 source CPE criteria · context only
- cpe:2.3:a:locutus:locutus:*:*:*:*:*:node.js:*:*
The original JSON retains the logical configuration operators, exclusions and version bounds.
No normalized affected-package data is projected for this source revision. The original publisher record may contain additional product and version evidence; this does not establish that a package is unaffected.
Original source record · Cite this exact observation · Complete original publisher JSON