Vulnerabilities / CVE-2015-8869

critical

CVE-2015-8869

ocaml: sizes arguments are sign-extended from 32 to 64 bits

Published Modified CWE 119, 200
In the Trivy database since at least 24 Oct 2026, 07:11 UTCWhen it arrived before that build is not recorded.

Severity by source

NVD9.1CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H
Red Hat4.4AV:L/AC:M/Au:N/C:P/I:P/A:P

Trivy's own label is CRITICAL. Rated critical by NVD. Rated lower by Red Hat (medium), Oracle (medium), Ubuntu (medium).

Description

OCaml before 4.03.0 does not properly handle sign extensions, which allows remote attackers to conduct buffer overflow attacks or obtain sensitive information as demonstrated by a long string to the String.copy function.

Affected packages and fixed versions

SourcePackageFixed in
debian 11ocaml4.02.3-9
debian 12ocaml4.02.3-9
debian 13ocaml4.02.3-9
debian 14ocaml4.02.3-9
debian 7ocaml3.12.1-4+deb7u1
debian 8ocamlno fix listed
echoocaml4.02.3-9
Oracle Linux 6libguestfs, libguestfs-devel, libguestfs-java and 20 more1:1.20.11-20.el6 and 1 more
Oracle Linux 7libguestfs, libguestfs-bash-completion, libguestfs-devel and 35 more1:1.32.7-3.el7 and 1 more
ubuntu 14.04ocaml4.01.0-3ubuntu3.1
ubuntu 14.04-ESMocaml4.01.0-3ubuntu3.1
ubuntu 16.04-ESMocaml4.02.3-5ubuntu2+esm1
Show all 71 entries from 12 sources
SourcePackageFixed in
debian 11ocaml4.02.3-9
debian 12ocaml4.02.3-9
debian 13ocaml4.02.3-9
debian 14ocaml4.02.3-9
debian 7ocaml3.12.1-4+deb7u1
debian 8ocamlno fix listed
echoocaml4.02.3-9
Oracle Linux 6libguestfs1:1.20.11-20.el6
Oracle Linux 6libguestfs-devel1:1.20.11-20.el6
Oracle Linux 6libguestfs-java1:1.20.11-20.el6
Oracle Linux 6libguestfs-java-devel1:1.20.11-20.el6
Oracle Linux 6libguestfs-javadoc1:1.20.11-20.el6
Oracle Linux 6libguestfs-tools1:1.20.11-20.el6
Oracle Linux 6libguestfs-tools-c1:1.20.11-20.el6
Oracle Linux 6ocaml3.11.2-5.el6
Oracle Linux 6ocaml-camlp43.11.2-5.el6
Oracle Linux 6ocaml-camlp4-devel3.11.2-5.el6
Oracle Linux 6ocaml-docs3.11.2-5.el6
Oracle Linux 6ocaml-emacs3.11.2-5.el6
Oracle Linux 6ocaml-labltk3.11.2-5.el6
Oracle Linux 6ocaml-labltk-devel3.11.2-5.el6
Oracle Linux 6ocaml-libguestfs1:1.20.11-20.el6
Oracle Linux 6ocaml-libguestfs-devel1:1.20.11-20.el6
Oracle Linux 6ocaml-ocamldoc3.11.2-5.el6
Oracle Linux 6ocaml-runtime3.11.2-5.el6
Oracle Linux 6ocaml-source3.11.2-5.el6
Oracle Linux 6ocaml-x113.11.2-5.el6
Oracle Linux 6perl-Sys-Guestfs1:1.20.11-20.el6
Oracle Linux 6python-libguestfs1:1.20.11-20.el6
Oracle Linux 6ruby-libguestfs1:1.20.11-20.el6
Oracle Linux 7libguestfs1:1.32.7-3.el7
Oracle Linux 7libguestfs-bash-completion1:1.32.7-3.el7
Oracle Linux 7libguestfs-devel1:1.32.7-3.el7
Oracle Linux 7libguestfs-gfs21:1.32.7-3.el7
Oracle Linux 7libguestfs-gobject1:1.32.7-3.el7
Oracle Linux 7libguestfs-gobject-devel1:1.32.7-3.el7
Oracle Linux 7libguestfs-gobject-doc1:1.32.7-3.el7
Oracle Linux 7libguestfs-inspect-icons1:1.32.7-3.el7
Oracle Linux 7libguestfs-java1:1.32.7-3.el7
Oracle Linux 7libguestfs-java-devel1:1.32.7-3.el7
Oracle Linux 7libguestfs-javadoc1:1.32.7-3.el7
Oracle Linux 7libguestfs-man-pages-ja1:1.32.7-3.el7
Oracle Linux 7libguestfs-man-pages-uk1:1.32.7-3.el7
Oracle Linux 7libguestfs-rescue1:1.32.7-3.el7
Oracle Linux 7libguestfs-rsync1:1.32.7-3.el7
Oracle Linux 7libguestfs-tools1:1.32.7-3.el7
Oracle Linux 7libguestfs-tools-c1:1.32.7-3.el7
Oracle Linux 7libguestfs-xfs1:1.32.7-3.el7
Oracle Linux 7lua-guestfs1:1.32.7-3.el7
Oracle Linux 7ocaml4.01.0-22.7.el7_2
Oracle Linux 7ocaml-camlp44.01.0-22.7.el7_2
Oracle Linux 7ocaml-camlp4-devel4.01.0-22.7.el7_2
Oracle Linux 7ocaml-compiler-libs4.01.0-22.7.el7_2
Oracle Linux 7ocaml-docs4.01.0-22.7.el7_2
Oracle Linux 7ocaml-emacs4.01.0-22.7.el7_2
Oracle Linux 7ocaml-labltk4.01.0-22.7.el7_2
Oracle Linux 7ocaml-labltk-devel4.01.0-22.7.el7_2
Oracle Linux 7ocaml-libguestfs1:1.32.7-3.el7
Oracle Linux 7ocaml-libguestfs-devel1:1.32.7-3.el7
Oracle Linux 7ocaml-ocamldoc4.01.0-22.7.el7_2
Oracle Linux 7ocaml-runtime4.01.0-22.7.el7_2
Oracle Linux 7ocaml-source4.01.0-22.7.el7_2
Oracle Linux 7ocaml-x114.01.0-22.7.el7_2
Oracle Linux 7perl-Sys-Guestfs1:1.32.7-3.el7
Oracle Linux 7python-libguestfs1:1.32.7-3.el7
Oracle Linux 7ruby-libguestfs1:1.32.7-3.el7
Oracle Linux 7virt-dib1:1.32.7-3.el7
Oracle Linux 7virt-v2v1:1.32.7-3.el7
ubuntu 14.04ocaml4.01.0-3ubuntu3.1
ubuntu 14.04-ESMocaml4.01.0-3ubuntu3.1
ubuntu 16.04-ESMocaml4.02.3-5ubuntu2+esm1

References

All 20 references

Vulnerability data compiled from the Trivy vulnerability database (trivy-db, Aqua Security, Apache License 2.0), which aggregates third-party advisories. CVE records are published by The MITRE Corporation under the CVE Terms of Use; CVE is a trademark of MITRE. This product uses data from the NVD API but is not endorsed or certified by the NVD. Severity, titles and advisory data from the GitHub Advisory Database (CC BY 4.0), Red Hat security data (CC BY 4.0) and the other sources linked on each entry. Entries may be summarised or re-formatted; the linked original is the authoritative record.