Out-of-bounds Read Affecting ocaml-camlp4 package, versions *


Severity

Recommended
0.0
high
0
10

Based on CentOS security rating.

Threat Intelligence

EPSS
0.04% (14th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Out-of-bounds Read vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-CENTOS6-OCAMLCAMLP4-15543956
  • published14 Mar 2026
  • disclosed27 Feb 2026

Introduced: 27 Feb 2026

CVE-2026-28364  (opens in a new tab)
CWE-125  (opens in a new tab)

How to fix?

There is no fixed version for Centos:6 ocaml-camlp4.

NVD Description

Note: Versions mentioned in the description apply only to the upstream ocaml-camlp4 package and not the ocaml-camlp4 package as distributed by Centos. See How to fix? for Centos:6 relevant fixed versions and status.

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.

CVSS Base Scores

version 3.1