Skip to content
Heist/ feed
Back to feed
High

Security advisory

Type: advisorySources: OSVCVE: CVE-2017-9250

The lexer_process_char_literal function in jerry-core/parser/js/js-lexer.c in JerryScript 1.0 does not skip memory allocation for empty strings, which allows remote attackers to cause a denial of service (NULL pointer dereference and application crash) via malformed JavaScript source code, related to the jmem_heap_free_block function.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2017-9250
Confirmed fixed CVEs
Not specified
Updated in this feed
31 Oct 2026, 12:15 UTC · Revision 1

Source evidence

CVE-2017-9250

core-osv · Original source

Published 28 May 2017, 20:29 UTC

The lexer_process_char_literal function in jerry-core/parser/js/js-lexer.c in JerryScript 1.0 does not skip memory allocation for empty strings, which allows remote attackers to cause a denial of service (NULL pointer dereference and application crash) via malformed JavaScript source code, related to the jmem_heap_free_block function.

osv:CVE-2017-9250
Complete source record
{
  "id": "7fce3f1413e10513df4672330094ca8876f282d04fb9a079361385c9322f7331",
  "url": "https://osv.dev/vulnerability/CVE-2017-9250",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2017-9250",
    "summary": "The lexer_process_char_literal function in jerry-core/parser/js/js-lexer.c in JerryScript 1.0 does not skip memory allocation for empty strings, which allows remote attackers to cause a denial of service (NULL pointer dereference and application crash) via malformed JavaScript source code, related to the jmem_heap_free_block function.",
    "evidence": "osv:CVE-2017-9250",
    "products": [],
    "severity": "high",
    "structured": {
      "id": "CVE-2017-9250",
      "aliases": [
        "CVE-2017-9250"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/jerryscript-project/jerryscript",
              "type": "GIT",
              "events": [
                {
                  "introduced": "63f739e5a0f64abb4e3d2ed103a2f2813c1f2257"
                },
                {
                  "last_affected": "63f739e5a0f64abb4e3d2ed103a2f2813c1f2257"
                },
                {
                  "fixed": "e58f2880df608652aff7fd35c45b242467ec0e79"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:jerryscript:jerryscript:1.0:-:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "1.0-NA"
                      },
                      {
                        "last_affected": "1.0-NA"
                      }
                    ],
                    "source": "CPE_STRING"
                  },
                  {
                    "range": [
                      {
                        "fixed": "e58f2880df608652aff7fd35c45b242467ec0e79"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  }
                ]
              }
            }
          ],
          "versions": [
            "1.0-NA",
            "v1.0"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2017-9250.json",
            "vanir_signatures": [
              {
                "id": "CVE-2017-9250-cd0e1e24",
                "digest": {
                  "length": 1418,
                  "function_hash": "26603491970781079697683319097974016813"
                },
                "source": "https://github.com/jerryscript-project/jerryscript/commit/e58f2880df608652aff7fd35c45b242467ec0e79",
                "target": {
                  "file": "jerry-core/parser/js/js-lexer.c",
                  "function": "lexer_process_char_literal"
                },
                "deprecated": false,
                "signature_type": "Function",
                "signature_version": "v1"
              }
            ],
            "vanir_signatures_modified": "2026-10-20T13:24:59Z"
          }
        },
        {
          "ranges": [
            {
              "repo": "https://github.com/zherczeg/jerryscript",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "03a8c630f015f63268639d3ed3bf82cff6fa77d8"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "range": [
                      {
                        "fixed": "03a8c630f015f63268639d3ed3bf82cff6fa77d8"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  }
                ]
              }
            }
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2017-9250.json",
            "vanir_signatures": [
              {
                "id": "CVE-2017-9250-db52af29",
                "digest": {
                  "length": 1418,
                  "function_hash": "26603491970781079697683319097974016813"
                },
                "source": "https://github.com/zherczeg/jerryscript/commit/03a8c630f015f63268639d3ed3bf82cff6fa77d8",
                "target": {
                  "file": "jerry-core/parser/js/js-lexer.c",
                  "function": "lexer_process_char_literal"
                },
                "deprecated": false,
                "signature_type": "Function",
                "signature_version": "v1"
              }
            ],
            "vanir_signatures_modified": "2026-10-20T13:24:59Z"
          }
        }
      ],
      "modified": "2026-10-20T13:24:59.708831485Z",
      "provider": "osv",
      "references": [
        "https://github.com/zherczeg/jerryscript/commit/03a8c630f015f63268639d3ed3bf82cff6fa77d8",
        "https://github.com/jerryscript-project/jerryscript/commit/e58f2880df608652aff7fd35c45b242467ec0e79",
        "https://github.com/jerryscript-project/jerryscript/issues/1821"
      ],
      "provider_metadata": {}
    },
    "related_cves": [
      {
        "value": "CVE-2017-9250",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 387646,
  "published_at": "2017-05-28T20:29:00.217+00:00"
}