Bug 2447200 (CVE-2026-32304) - CVE-2026-32304 locutusjs: Locutus: Arbitrary code execution via unsanitized parameters in create_function
Summary: CVE-2026-32304 locutusjs: Locutus: Arbitrary code execution via unsanitized p...
Keywords:
Status: NEW
Alias: CVE-2026-32304
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
high
high
Target Milestone: ---
Assignee: Product Security
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-03-12 22:02 UTC by OSIDB Bzimport
Modified: 2026-03-16 19:19 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2026-03-12 22:02:10 UTC
Locutus 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.


Note You need to log in before you can comment on or make changes to this bug.