nginx njs 0.7.2 is affected suffers from Use-after-free in njsfunctionframealloc() when it try to invoke from a restored frame saved with njsfunctionframesave().
{
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/27xxx/CVE-2022-27007.json",
"cna_assigner": "mitre"
}"2026-07-22T02:24:44Z"
[
{
"signature_version": "v1",
"target": {
"file": "src/njs_function.c"
},
"id": "CVE-2022-27007-7ea5bcb3",
"signature_type": "Line",
"deprecated": false,
"digest": {
"threshold": 0.9,
"line_hashes": [
"138421633129488864937735872599000506234",
"27039259651221790653411306071683155797",
"331539492576269881793117942121947427386",
"329790762949194910835705026888280855784",
"127358985363884583393220151483745842230",
"61914521830780938963912752065750193512"
]
},
"source": "https://github.com/nginx/njs/commit/ad48705bf1f04b4221a5f5b07715ac48b3160d53"
},
{
"signature_version": "v1",
"target": {
"file": "src/njs_function.c",
"function": "njs_function_frame_save"
},
"id": "CVE-2022-27007-a72d8ace",
"signature_type": "Function",
"deprecated": false,
"digest": {
"function_hash": "254256718481189875352576299876034585016",
"length": 992.0
},
"source": "https://github.com/nginx/njs/commit/ad48705bf1f04b4221a5f5b07715ac48b3160d53"
}
]
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-27007.json"