CVE-2022-25139
njs through 0.7.0, used in NGINX, was discovered to contain a heap use-after-free in...
njs through 0.7.0, used in NGINX, was discovered to contain a heap use-after-free in njs_await_fulfilled.
Attack profile
How easy it is to exploit
- Attack vector
- Network
- Complexity
- Low
- Privileges needed
- None
- User interaction
- None
What an attacker can affect
- Confidentiality
- High
- Integrity
- High
- Availability
- High
Exploit likelihood
What each source reports
NVD Score used
9.8
njs through 0.7.0, used in NGINX, was discovered to contain a heap use-after-free in njs_await_fulfilled.
- Record
CVE-2022-25139- CVSS 3.1
- 9.8 Critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - CVSS 2.0
- 7.5 High
AV:N/AC:L/Au:N/C:P/I:P/A:P - Weakness
- CWE-416
- Updated
- 2026-11-02
CVE List No score
njs through 0.7.0, used in NGINX, was discovered to contain a heap use-after-free in njs_await_fulfilled.
- Record
CVE-2022-25139- Updated
- 2026-11-02
EUVDEUVD-2022-29882 No score
njs through 0.7.0, used in NGINX, was discovered to contain a heap use-after-free in njs_await_fulfilled.
- Record
EUVD-2022-29882- Updated
- 2026-11-03
GitHub AdvisoriesGHSA-7f37-mh9r-45hr
9.8
njs through 0.7.0, used in NGINX, was discovered to contain a heap use-after-free in...
njs through 0.7.0, used in NGINX, was discovered to contain a heap use-after-free in njs_await_fulfilled.
- Record
GHSA-7f37-mh9r-45hr- CVSS 3.1
- 9.8 Critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - Weakness
- CWE-416
- Updated
- 2026-11-02
OSVALPINE-CVE-2022-25139
9.8
njs through 0.7.0, used in NGINX, was discovered to contain a heap use-after-free in njs_await_fulfilled.
- Record
ALPINE-CVE-2022-25139- CVSS 3.1
- 9.8 Critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - Updated
- 2026-11-03
OSVBELL-CVE-2022-25139
9.8
CVE-2022-25139 does not affect BellSoft software
- Record
BELL-CVE-2022-25139- CVSS 3.1
- 9.8 Critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
OSV No score
njs through 0.7.0, used in NGINX, was discovered to contain a heap use-after-free in njs_await_fulfilled.
- Record
CVE-2022-25139- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
nginxAlpine:v3.16 |
before 1.20.2-r2 | 1.20.2-r2 |
nginxAlpine:v3.17 |
before 1.20.2-r2 | 1.20.2-r2 |
nginxAlpine:v3.18 |
before 1.20.2-r2 | 1.20.2-r2 |
nginxAlpine:v3.19 |
before 1.20.2-r2 | 1.20.2-r2 |
nginxAlpine:v3.20 |
before 1.20.2-r2 | 1.20.2-r2 |
nginxAlpine:v3.21 |
before 1.20.2-r2 | 1.20.2-r2 |
nginxAlpine:v3.22 |
before 1.20.2-r2 | 1.20.2-r2 |
nginxAlpine:v3.23 |
before 1.20.2-r2 | 1.20.2-r2 |
nginxAlpine:v3.24 |
before 1.20.2-r2 | 1.20.2-r2 |
njsAlpine:v3.15 |
before 0.7.3-r0 | 0.7.3-r0 |
Show 9 moreShow less
| Package | Affected | Fixed |
|---|---|---|
njsAlpine:v3.16 |
before 0.7.3-r0 | 0.7.3-r0 |
njsAlpine:v3.17 |
before 0.7.3-r0 | 0.7.3-r0 |
njsAlpine:v3.18 |
before 0.7.3-r0 | 0.7.3-r0 |
njsAlpine:v3.19 |
before 0.7.3-r0 | 0.7.3-r0 |
njsAlpine:v3.20 |
before 0.7.3-r0 | 0.7.3-r0 |
njsAlpine:v3.21 |
before 0.7.3-r0 | 0.7.3-r0 |
njsAlpine:v3.22 |
before 0.7.3-r0 | 0.7.3-r0 |
njsAlpine:v3.23 |
before 0.7.3-r0 | 0.7.3-r0 |
njsAlpine:v3.24 |
before 0.7.3-r0 | 0.7.3-r0 |
History
| Recorded | Changed | Sources |
|---|---|---|
| affected | OSV | |
| aliases | EUVD | |
| first indexed | CVE List, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2022-25139 is a critical vulnerability (CVSS 9.8) in F5 Njs, published February 14, 2022. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 1.63%, the 76th percentile. Fixed in nginx 1.20.2-r2.
References
github.com/nginx/njs/issues/451
github.com/nginx/njs/commit/6a07c2156a07ef307b6dcf3c2ca8571a5f1af7a6
security.netapp.com/advisory/ntap-20220303-0007
nvd.nist.gov/vuln/detail/CVE-2022-25139
github.com/advisories/GHSA-7f37-mh9r-45hr
security.alpinelinux.org/vuln/CVE-2022-25139
docs.bell-sw.com/security/cves/CVE-2022-25139
github.com/CVEProject/cvelistV5/tree/main/cves/2022/25xxx/CVE-2022-25139.json