Nginx NJS v0.7.2 was discovered to contain a segmentation violation in the function njs_array_convert_to_slow_array at src/njs_array.c.
{
"cna_assigner": "mitre",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/31xxx/CVE-2022-31306.json"
}"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-31306.json"
[
{
"deprecated": false,
"digest": {
"line_hashes": [
"339780529824448762995081143268585307509",
"307618025260381001810494025737045594026",
"172528107696331865071435248872457299656"
],
"threshold": 0.9
},
"id": "CVE-2022-31306-28554a97",
"signature_type": "Line",
"signature_version": "v1",
"source": "https://github.com/nginx/njs/commit/81af26364c21c196dd21fb5e14c7fa9ce7debd17",
"target": {
"file": "src/njs_array.c"
}
},
{
"deprecated": false,
"digest": {
"function_hash": "215556108678597644341992690666548962217",
"length": 534
},
"id": "CVE-2022-31306-4b4f7ba4",
"signature_type": "Function",
"signature_version": "v1",
"source": "https://github.com/nginx/njs/commit/81af26364c21c196dd21fb5e14c7fa9ce7debd17",
"target": {
"file": "src/njs_array.c",
"function": "njs_array_convert_to_slow_array"
}
},
{
"deprecated": false,
"digest": {
"line_hashes": [
"190712008055766476213710584150190909322",
"278877165799828088263803208765066226626",
"22499050152622226168925891562274199600"
],
"threshold": 0.9
},
"id": "CVE-2022-31306-fb559019",
"signature_type": "Line",
"signature_version": "v1",
"source": "https://github.com/nginx/njs/commit/81af26364c21c196dd21fb5e14c7fa9ce7debd17",
"target": {
"file": "src/test/njs_unit_test.c"
}
}
]
"2026-08-12T13:32:31Z"