Critical
Security advisory
njs through 0.3.1, used in NGINX, has a heap-based buffer overflow in Array.prototype.push after a resize, related to njs_array_prototype_push in njs/njs_array.c, because of njs_array_expand size mishandling.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2019-11839
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 31 Oct 2026, 10:34 UTC · Revision 1
Source evidence
njs through 0.3.1, used in NGINX, has a heap-based buffer overflow in Array.prototype.push after a resize, related to njs_array_prototype_push in njs/njs_array.c, because of njs_array_expand size mishandling.
osv:CVE-2019-11839
Complete source record
{
"id": "81fb72d4b3204e41855854b5105a4a6d1257b0209dc2f9b3e641b48d40465e4e",
"url": "https://osv.dev/vulnerability/CVE-2019-11839",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "CVE-2019-11839",
"summary": "njs through 0.3.1, used in NGINX, has a heap-based buffer overflow in Array.prototype.push after a resize, related to njs_array_prototype_push in njs/njs_array.c, because of njs_array_expand size mishandling.",
"evidence": "osv:CVE-2019-11839",
"products": [],
"severity": "critical",
"structured": {
"id": "CVE-2019-11839",
"aliases": [
"CVE-2019-11839"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/nginx/njs",
"type": "GIT",
"events": [
{
"introduced": "0"
},
{
"last_affected": "615a52fb5736f6320f49b92ddf23849703b64ef6"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:f5:njs:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "0"
},
{
"last_affected": "0.3.1"
}
],
"source": "CPE_RANGE"
}
]
}
}
],
"versions": [
"0.3.1",
"0.3.0",
"0.2.8",
"0.2.7",
"0.2.6",
"0.2.5",
"0.2.4",
"0.2.3",
"0.2.2",
"0.2.1",
"0.2.0",
"0.1.15",
"0.1.14",
"0.1.13",
"0.1.12",
"0.1.11",
"0.1.10",
"0.1.9",
"0.1.8",
"0.1.7",
"0.1.6",
"0.1.5",
"0.1.4",
"0.1.3",
"0.1.2",
"0.1.1",
"0.1.0"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2019-11839.json"
}
}
],
"modified": "2026-10-20T10:50:42.206393896Z",
"provider": "osv",
"references": [
"https://github.com/nginx/njs/issues/152"
],
"provider_metadata": {}
},
"related_cves": [
{
"value": "CVE-2019-11839",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 382025,
"published_at": "2019-05-09T14:29:00.637+00:00"
}