CVE-2023-31907 Memory corruption in n/a

High 7.8 Published Updated

A heap-buffer-overflow in Jerryscript allows attackers to execute arbitrary code or cause denial of service via crafted JavaScript.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Local or same network only
Victim action needed
A user has to click or open something
Fix
None listed

What is CVE-2023-31907?

CVE-2023-31907 is a high-severity memory corruption vulnerability in Jerryscript Jerryscript, published on 10 May 2023. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.

Official description

Jerryscript 3.0.0 was discovered to contain a heap-buffer-overflow via the component scanner_literal_is_created at /jerry-core/parser/js/js-scanner-util.c.

Weakness: CWE-787

Which versions are affected by CVE-2023-31907?

It affects 1 product.

Products include Jerryscript Jerryscript.

How do I fix CVE-2023-31907?

No fix has been published for CVE-2023-31907 yet. Limit exposure of the affected software until one is available.

Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.

Is CVE-2023-31907 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2023-31907 exists.

All Jerryscript Jerryscript vulnerabilities

Sources

Also known as GHSA-2v54-2cxh-57c7, UBUNTU-CVE-2023-31907.

Is CVE-2023-31907 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free