CVE-2022-25139 json
njs through 0.7.0, used in NGINX, was discovered to contain a heap use-after-free in njs_await_fulfilled.
published 2022-02-14 4 y ago modified 2026-06-17 4 mo ago also EUVD-2022-29882
- cvss
- 9.8
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 1.6%
- EPSS 1.6% chance of exploitation in 30 days, percentile 76%
- public exploits
- 0
- none known
Summary
njs through 0.7.0, used in NGINX, was discovered to contain a heap use-after-free in njs_await_fulfilled.
Patch / fix
- f5 njs 0.7.2
- njs Alpine 3.24, Alpine 3.23, Alpine 3.22 +7 more 0.7.3-r0
- nginx Alpine 3.24, Alpine 3.23, Alpine 3.22 +6 more 1.20.2-r2
alpine advisories ALPINE-CVE-2022-25139
Alpine secdb © Alpine Linux, from https://secdb.alpinelinux.org via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- github.com/nginx/njs@6a07c21 commit
- github.com/nginx/njs/issues/451 advisory
Exploit prediction
1.63% chance of exploitation in the next 30 days, higher than 76% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- github.com https://github.com/nginx/njs/issues/451 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.1 | 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | 2.0 | 7.5 | AV:N/AC:L/Au:N/C:P/I:P/A:P |
Classification
- Weakness
-
- CWE-416 Use After Free
References
-
github.com
/nginx/njs/commit/6a07c2156a07ef307b6dcf3c2ca8571a5f1af7a6
patch, third-party-advisory
-
github.com
/nginx/njs/issues/451
exploit, issue-tracking, patch, third-party-advisory
-
security.netapp.com
/advisory/ntap-20220303-0007/
third-party-advisory
Sources
- CVE List CVE-2022-25139
- NVD CVE-2022-25139
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.