{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "versions": [
              {
                "introduced": "0"
              },
              {
                "last_affected": "0.3.1"
              }
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "last_affected": "615a52fb5736f6320f49b92ddf23849703b64ef6"
            }
          ],
          "repo": "https://github.com/nginx/njs",
          "type": "GIT"
        }
      ]
    }
  ],
  "details": "njs through 0.3.1, used in NGINX, has a segmentation fault in String.prototype.toBytes for negative arguments, related to nxt_utf8_next in nxt/nxt_utf8.h and njs_string_offset in njs/njs_string.c.",
  "id": "CVE-2019-11837",
  "modified": "2026-03-13T21:54:53.859804946Z",
  "published": "2019-05-09T14:29:00.510Z",
  "references": [
    {
      "type": "REPORT",
      "url": "https://github.com/nginx/njs/issues/155"
    }
  ],
  "severity": [
    {
      "score": "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H",
      "type": "CVSS_V3"
    }
  ]
}