#VU12593 Integer overflow in OCaml - CVE-2018-9838


| Updated: 2018-05-14

Vulnerability identifier: #VU12593

Vulnerability risk: High

CVSSv4.0: 8.1 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:U/U:Amber]

CVE-ID: CVE-2018-9838

CWE-ID: CWE-190

Exploitation vector: Network

Exploit availability: No

Vulnerable software:
OCaml
Universal components / Libraries / Scripting languages

Vendor: OCaml

Description
The vulnerability allows a remote attacker to cause DoS condition or execute arbitrary code on the target system.

The weakness exists in the caml_ba_deserialize function in byterun/bigarray.c in the standard library due to integer overflow when marshalled data is accepted from an untrusted source. A remote attacker can cause the service to crash or execute arbitrary code.

Successful exploitation of the vulnerability may result in system compromise.

Mitigation
Update to version 4.07.0.

Vulnerable software versions

OCaml: 4.06.0


External links
https://caml.inria.fr/mantis/view.php?id=7765


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the Internet.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.


Latest bulletins with this vulnerability