CVE-2017-9250

Source
https://cve.org/CVERecord?id=CVE-2017-9250
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2017-9250.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2017-9250
Published
2017-05-28T20:29:00.217Z
Modified
2026-02-16T01:18:31.669326Z
Severity
  • 7.5 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H CVSS Calculator
Summary
[none]
Details

The lexerprocesscharliteral 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 jmemheapfreeblock function.

References

Affected packages

Git / github.com/jerryscript-project/jerryscript

Affected ranges

Type
GIT
Repo
https://github.com/jerryscript-project/jerryscript
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed

Database specific

vanir_signatures
[
    {
        "id": "CVE-2017-9250-cd0e1e24",
        "signature_version": "v1",
        "deprecated": false,
        "source": "https://github.com/jerryscript-project/jerryscript/commit/e58f2880df608652aff7fd35c45b242467ec0e79",
        "target": {
            "function": "lexer_process_char_literal",
            "file": "jerry-core/parser/js/js-lexer.c"
        },
        "digest": {
            "length": 1418.0,
            "function_hash": "26603491970781079697683319097974016813"
        },
        "signature_type": "Function"
    }
]
source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2017-9250.json"

Git / github.com/zherczeg/jerryscript

Affected ranges

Type
GIT
Repo
https://github.com/zherczeg/jerryscript
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed

Database specific

vanir_signatures
[
    {
        "id": "CVE-2017-9250-db52af29",
        "signature_version": "v1",
        "deprecated": false,
        "source": "https://github.com/zherczeg/jerryscript/commit/03a8c630f015f63268639d3ed3bf82cff6fa77d8",
        "target": {
            "function": "lexer_process_char_literal",
            "file": "jerry-core/parser/js/js-lexer.c"
        },
        "digest": {
            "length": 1418.0,
            "function_hash": "26603491970781079697683319097974016813"
        },
        "signature_type": "Function"
    }
]
source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2017-9250.json"