Red Hat VEX
RHVEX-CVE-2026-33939
handlebars.js: Handlebars.js: Denial of Service via malformed decorator syntax in template compilation
Details
A flaw was found in Handlebars.js. A remote attacker can exploit this by submitting a malformed Handlebars template that includes decorator syntax referencing an unregistered decorator. When the application attempts to compile this template without proper error handling, it triggers an unhandled TypeError. This error causes the Node.js process to crash, resulting in a Denial of Service (DoS) for the affected application.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Red Hat:enterprise_linux:8 | 389-ds-base | All versions, will not be fixed |
| Red Hat:enterprise_linux:8 | 389-ds-base-devel | All versions, will not be fixed |
| Red Hat:enterprise_linux:8 | 389-ds-base-legacy-tools | All versions, will not be fixed |
| Red Hat:enterprise_linux:8 | 389-ds-base-libs | All versions, will not be fixed |
| Red Hat:enterprise_linux:8 | 389-ds-base-snmp | All versions, will not be fixed |
| Red Hat:enterprise_linux:8 | cockpit-389-ds | All versions, will not be fixed |
| Red Hat:enterprise_linux:8 | mozjs60 | All versions, no fix yet |
| Red Hat:enterprise_linux:8 | mozjs60-devel | All versions, no fix yet |
| Red Hat:enterprise_linux:8 | python3-lib389 | All versions, will not be fixed |
| Red Hat:enterprise_linux:9 | firefox | All versions, no fix yet |
| Red Hat:enterprise_linux:9 | firefox-x11 | All versions, no fix yet |
References
- https://access.redhat.com/security/cve/CVE-2026-33939
- https://bugzilla.redhat.com/show_bug.cgi?id=2452508
- https://www.cve.org/CVERecord?id=CVE-2026-33939
- https://nvd.nist.gov/vuln/detail/CVE-2026-33939
- https://github.com/handlebars-lang/handlebars.js/commit/68d8df5a88e0a26fe9e6084c5c6aaebe67b07da2
- https://github.com/handlebars-lang/handlebars.js/releases/tag/v4.7.9
- https://github.com/handlebars-lang/handlebars.js/security/advisories/GHSA-9cx6-37pm-9jff