CVE-2026-78689 NGINX ngx_http_js_module vulnerablility
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: total
- Technology
- NginxUbuntuDebian
Description
Description
NGINX JavaScript (njs) has a vulnerability in the XML module's namespace prefix list parser, reachable through the xml.exclusiveC14n() method. An unauthenticated remote attacker can trigger it when an affected NGINX configuration passes an externally controlled XML namespace prefix list to that method. Both the njs and the QuickJS (qjs) engines are affected. A crafted prefix list causes an out-of-bounds write past the end of a heap allocation. With the njs engine, which is the engine used when the js_engine directive is absent, this corrupts adjacent objects and crashes the NGINX worker. With the QuickJS engine, the same call additionally leaks the prefix list on every invocation, causing worker memory to grow across requests. The official nginxinc/nginx-saml reference implementation is affected during SAML signature verification. It reads InclusiveNamespaces/@PrefixList from an untrusted SAML message and passes it to xml.exclusiveC14n() before the signature has been verified, so a valid SAML signature is not required. A crafted SAML Response, Assertion, LogoutRequest, or LogoutResponse is sufficient. Code execution has not been demonstrated and cannot be ruled out for all platforms, as the effect of the out-of-bounds write depends on conditions beyond the attacker's control.
Impact
This vulnerability allows remote attackers to cause a denial of service on the NGINX system, either through repeatable worker restarts or through worker memory growth or possibly trigger code execution. There is no control plane exposure; this is a data plane issue only.
Note: Software versions which have reached End of Technical Support (EoTS) are not evaluated.
Upgrade path
8 packages: 3 fixed, 5 with no fix yet.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| debian/libnginx-mod-js(Debian 12) | = 0.7.9-2; = 0.7.12-1; = 0.7.12-2; = 0.7.12-2~exp1 +19 more | No fix listed | No fix yet |
| debian/libnginx-mod-js(Debian 13) | = 0.8.9-1; = 0.9.1-1; = 0.9.4-1; = 0.9.6-1 +9 more | No fix listed | No fix yet |
| ubuntu/libnginx-mod-js(Ubuntu 24.04) | All versions | No fix listed | No fix yet |
| ubuntu/libnginx-mod-js(Ubuntu 26.04) | All versions | No fix listed | No fix yet |
| ubuntu/libnginx-mod-js(Ubuntu 26.10) | All versions | No fix listed | No fix yet |
| debian/libnginx-mod-js(Debian 14) | < 1.0.1-1; = 0.8.9-1; = 0.9.1-1; = 0.9.4-1 +8 more | 1.0.1-1 | Fixed |
| f5 nginx(Azure Linux 3.0) | < 1.30.4-1 | 1.30.4-1 | Fixed |
| f5 NGINX JavaScript | >= 0.7.10, < 1.0.1 | 1.0.1 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| f5 NGINX JavaScript | >= 0.7.10, < 1.0.1 | 1.0.1 |
| debian/libnginx-mod-js(Debian:12) | All versions | No fix listed |
| debian/libnginx-mod-js(Debian:12) | = 0.7.12-1 | No fix listed |
| debian/libnginx-mod-js(Debian:12) | = 0.7.12-2 | No fix listed |
| debian/libnginx-mod-js(Debian:12) | = 0.7.12-2~exp1 | No fix listed |
| debian/libnginx-mod-js(Debian:12) | = 0.7.12-2~exp2 | No fix listed |
| debian/libnginx-mod-js(Debian:12) | = 0.7.9-2 | No fix listed |
| debian/libnginx-mod-js(Debian:12) | = 0.8.0-1 | No fix listed |
| debian/libnginx-mod-js(Debian:12) | = 0.8.1-1 | No fix listed |
| debian/libnginx-mod-js(Debian:12) | = 0.8.2-1 | No fix listed |
| debian/libnginx-mod-js(Debian:12) | = 0.8.4-1 | No fix listed |
| debian/libnginx-mod-js(Debian:12) | = 0.8.5-1 | No fix listed |
| debian/libnginx-mod-js(Debian:12) | = 0.8.9-1 | No fix listed |
| debian/libnginx-mod-js(Debian:12) | = 0.9.1-1 | No fix listed |
| debian/libnginx-mod-js(Debian:12) | = 0.9.4-1 | No fix listed |
| debian/libnginx-mod-js(Debian:12) | = 0.9.6-1 | No fix listed |
| debian/libnginx-mod-js(Debian:12) | = 0.9.8-1 | No fix listed |
| debian/libnginx-mod-js(Debian:12) | = 0.9.9-1 | No fix listed |
| debian/libnginx-mod-js(Debian:12) | = 0.9.9-2 | No fix listed |
| debian/libnginx-mod-js(Debian:12) | = 1.0.0-1 | No fix listed |
| debian/libnginx-mod-js(Debian:12) | = 1.0.0-2 | No fix listed |
| debian/libnginx-mod-js(Debian:12) | = 1.0.0-3 | No fix listed |
| debian/libnginx-mod-js(Debian:12) | = 1.0.0-4 | No fix listed |
| debian/libnginx-mod-js(Debian:12) | = 1.0.1-1 | No fix listed |
| debian/libnginx-mod-js(Debian:13) | All versions | No fix listed |
Show 28 more
| Product | Affected versions | Fixed in |
|---|---|---|
| debian/libnginx-mod-js(Debian:13) | = 0.8.9-1 | No fix listed |
| debian/libnginx-mod-js(Debian:13) | = 0.9.1-1 | No fix listed |
| debian/libnginx-mod-js(Debian:13) | = 0.9.4-1 | No fix listed |
| debian/libnginx-mod-js(Debian:13) | = 0.9.6-1 | No fix listed |
| debian/libnginx-mod-js(Debian:13) | = 0.9.8-1 | No fix listed |
| debian/libnginx-mod-js(Debian:13) | = 0.9.9-1 | No fix listed |
| debian/libnginx-mod-js(Debian:13) | = 0.9.9-2 | No fix listed |
| debian/libnginx-mod-js(Debian:13) | = 1.0.0-1 | No fix listed |
| debian/libnginx-mod-js(Debian:13) | = 1.0.0-2 | No fix listed |
| debian/libnginx-mod-js(Debian:13) | = 1.0.0-3 | No fix listed |
| debian/libnginx-mod-js(Debian:13) | = 1.0.0-4 | No fix listed |
| debian/libnginx-mod-js(Debian:13) | = 1.0.1-1 | No fix listed |
| debian/libnginx-mod-js(Debian:14) | < 1.0.1-1 | 1.0.1-1 |
| debian/libnginx-mod-js(Debian:14) | = 0.8.9-1 | No fix listed |
| debian/libnginx-mod-js(Debian:14) | = 0.9.1-1 | No fix listed |
| debian/libnginx-mod-js(Debian:14) | = 0.9.4-1 | No fix listed |
| debian/libnginx-mod-js(Debian:14) | = 0.9.6-1 | No fix listed |
| debian/libnginx-mod-js(Debian:14) | = 0.9.8-1 | No fix listed |
| debian/libnginx-mod-js(Debian:14) | = 0.9.9-1 | No fix listed |
| debian/libnginx-mod-js(Debian:14) | = 0.9.9-2 | No fix listed |
| debian/libnginx-mod-js(Debian:14) | = 1.0.0-1 | No fix listed |
| debian/libnginx-mod-js(Debian:14) | = 1.0.0-2 | No fix listed |
| debian/libnginx-mod-js(Debian:14) | = 1.0.0-3 | No fix listed |
| debian/libnginx-mod-js(Debian:14) | = 1.0.0-4 | No fix listed |
| ubuntu/libnginx-mod-js(Ubuntu:24.04) | All versions | No fix listed |
| ubuntu/libnginx-mod-js(Ubuntu:26.04) | All versions | No fix listed |
| ubuntu/libnginx-mod-js(Ubuntu:26.10) | All versions | No fix listed |
| f5 nginx(Azure Linux:3.0) | < 1.30.4-1 | 1.30.4-1 |
References
- MSRC Security Update Guide vendor-advisory
- Security Update patch
- my.f5.com vendor-advisory
- Debian Security Tracker CVE-2026-78689 vendor-advisory
- Ubuntu CVE tracker vendor-advisory
- www.cve.org
- njs-1.0.1 version has been released, with fixes for access control bypass vulnerability in js_access (CVE-2026-18329), worker process crash vulnerability in ngx.fetch() (CVE-2026-78222), and heap buffer overflow vulnerability in xml.exclusiveC14n() (CVE-2026-78689). vendor-advisory
- ENISA EUVD EUVD-2026-70142 third-party-advisory