Affected versions
Ubuntu20.04:LTS/ocaml
- Affected versions
- * || =4.05.0-12ubuntu3 || =4.08.1-8
- Fixed version
- Not reported
Ubuntu22.04:LTS/ocaml
- Affected versions
- * || =4.11.1-4 || =4.11.1-5ubuntu1 || =4.13.1-3ubuntu1
- Fixed version
- Not reported
Ubuntu24.04:LTS/ocaml
- Affected versions
- * || =4.13.1-6ubuntu1 || =4.14.1-1ubuntu1
- Fixed version
- Not reported
Ubuntu25.10/ocaml
- Affected versions
- * || =5.3.0-2 || =5.3.0-3
- Fixed version
- Not reported
Ubuntu26.04:LTS/ocaml
- Affected versions
- * || =5.3.0-3 || =5.4.0-1ubuntu1 || =5.4.0-2ubuntu1 || =5.4.0-3ubuntu1
- Fixed version
- Not reported
Ubuntu26.10/ocaml
- Affected versions
- * || =5.4.0-3ubuntu1 || =5.4.1-1ubuntu1
- Fixed version
- Not reported
UbuntuPro:14.04:LTS/ocaml
- Affected versions
- * || =3.12.1-4ubuntu1 || =4.01.0-3ubuntu2 || =4.01.0-3ubuntu3 || =4.01.0-3ubuntu3.1 || =4.01.0-3ubuntu3.1+esm1
- Fixed version
- Not reported
UbuntuPro:16.04:LTS/ocaml
- Affected versions
- * || =4.01.0-4ubuntu1 || =4.02.3-5ubuntu1 || =4.02.3-5ubuntu2 || =4.02.3-5ubuntu2+esm1
- Fixed version
- Not reported
UbuntuPro:18.04:LTS/ocaml
- Affected versions
- * || =4.04.0-2ubuntu4 || =4.05.0-10ubuntu1 || =4.05.0-10ubuntu1+esm1
- Fixed version
- Not reported
Description
In OCaml before 4.14.3 and 5.x before 5.4.1, a buffer over-read in Marshal deserialization (runtime/intern.c) enables remote code execution through a multi-phase attack chain. The vulnerability stems from missing bounds validation in the readblock() function, which performs unbounded memcpy() operations using attacker-controlled lengths from crafted Marshal data.

