Vulnerability · Published Sep 2, 2026 · Assigned by f5

CVE-2026-78689NGINX ngx_http_js_module vulnerablility

High 8.1

In plain English

A high-severity heap buffer overflow in NGINX JavaScript from F5. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.8% (higher than 55% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)8.1High
Exploit odds (30 days)0.8%top 44.5% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official 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.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Debian:12libnginx-mod-jsno fix listedDEBIAN-CVE-2026-78689
Debian:13libnginx-mod-jsno fix listedDEBIAN-CVE-2026-78689
Debian:14libnginx-mod-js1.0.1-1DEBIAN-CVE-2026-78689
Ubuntu:24.04:LTSlibnginx-mod-jsno fix listedUBUNTU-CVE-2026-78689
Ubuntu:26.10libnginx-mod-jsno fix listedUBUNTU-CVE-2026-78689

Affected products (as reported)

VendorProductVersions
F5 NGINX JavaScript 0.7.10 – before 1.0.1

Weakness: CWE-122 · Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H

References