USN-8425-1: njs vulnerability
Publication date
11 June 2026
Overview
njs could be made to crash or run programs if it received a specially crafted input.
Releases
Packages
- libnginx-mod-js - A subset of JavaScript language to use in nginx
Details
It was discovered that njs did not properly handle certain client-
controlled variables when processing ngx.fetch() requests. An attacker
could possibly use this issue to trigger a heap buffer overflow, resulting
in arbitrary code execution or a denial of service.
It was discovered that njs did not properly handle certain client-
controlled variables when processing ngx.fetch() requests. An attacker
could possibly use this issue to trigger a heap buffer overflow, resulting
in arbitrary code execution or a denial of service.
Update instructions
In general, a standard system update will make all the necessary changes.
Learn more about how to get the fixes.The problem can be corrected by updating your system to the following package versions:
| Ubuntu Release | Package Version | ||
|---|---|---|---|
| 26.04 LTS resolute | libnginx-mod-http-js – 0.9.4-1ubuntu0.1~esm1 | ||
| libnginx-mod-stream-js – 0.9.4-1ubuntu0.1~esm1 | |||
| njs – 0.9.4-1ubuntu0.1~esm1 | |||
Reduce your security exposure
Ubuntu Pro provides ten-year security coverage to 25,000+ packages in Main and Universe repositories, and it is free for up to five machines.