{"answers":{"affected":"It affects 1 product.","exploited":"There is no known exploitation of CVE-2026-28364 in the wild and no public exploit code.","fix":"Upgrade to a fixed version.","what":"CVE-2026-28364 is a high-severity memory corruption vulnerability in OCaml, published on 27 Feb 2026. It can only be exploited from the same machine or local network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2026-28364 and fix it if it is affected.\n\nWhat it is: CVE-2026-28364 is a high-severity memory corruption vulnerability in OCaml, published on 27 Feb 2026. It can only be exploited from the same machine or local network, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2026-28364 in the wild and no public exploit code.\n\nAffected product: OCaml. No package-level version data is available, so check the vendor advisory linked from the reference page.\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2026-28364/ (Markdown: https://insights.sbomify.com/CVE-2026-28364/index.md)","id":"CVE-2026-28364","markdown":"https://insights.sbomify.com/CVE-2026-28364/index.md","name":"CVE-2026-28364","record":{"aliases":["AZL-78495","AZL-79502","DEBIAN-CVE-2026-28364","GHSA-g54x-7hpm-29q8","GHSA-j26j-m5xr-g23c","GHSA-m34r-cgq7-jhfm","OESA-2026-1522","OESA-2026-1523","OESA-2026-1524","OESA-2026-1525","OESA-2026-1526","OSEC-2026-01","OSEC-2026-18","OSEC-2026-23","SUSE-SU-2026:0800-1","SUSE-SU-2026:0830-1","UBUNTU-CVE-2026-28364","openSUSE-SU-2026:20368-1"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["code_execution"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"OCaml programming language","requires_auth":"none","summary":"A buffer over-read in OCaml's Marshal deserialization allows remote code execution via crafted data, requiring an upgrade to patched versions.","user_interaction":"not_required","vuln_class":"memory_corruption"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"mitre","cpe":[{"product":"ocaml","vendor":"ocaml"}],"cvss":{"score":7.9,"severity":"high","source":"cna","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:C/C:H/I:L/A:N","version":"3.1"},"cwes":[{"id":"CWE-125","name":"Out-of-bounds Read"},{"id":"CWE-126","name":"Buffer Over-read"}],"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.","ecosystems":["SUSE:Linux Enterprise High Performance Computing 15 SP4-ESPOS","SUSE:Linux Enterprise High Performance Computing 15 SP4-LTSS","SUSE:Linux Enterprise High Performance Computing 15 SP5-ESPOS","SUSE:Linux Enterprise High Performance Computing 15 SP5-LTSS","SUSE:Linux Enterprise Module for Development Tools 15 SP7","SUSE:Linux Enterprise Server 15 SP4-LTSS","SUSE:Linux Enterprise Server 15 SP5-LTSS","SUSE:Linux Enterprise Server 15 SP6-LTSS","SUSE:Linux Enterprise Server for SAP Applications 15 SP4","SUSE:Linux Enterprise Server for SAP Applications 15 SP5","SUSE:Linux Enterprise Server for SAP Applications 15 SP6","openSUSE:Leap 15.6","openSUSE:Leap 16.0"],"exploits":{"exploitdb":0,"first_seen":"2026-09-24","github_poc":1,"max_poc_stars":0,"metasploit":0,"nuclei":0,"refs":[{"date":"2026-09-24T12:02:23Z","kind":"github_poc","ref":"https://github.com/Akshay-M-Singh/ocaml-marshal-vulnerability","stars":0,"title":"I found an integer overflow that defeats OCaml's fix for CVE-2026-28364: heap memory disclosure and SIGBUS crashes via Marshal deserialization. PoCs, advisory, and proposed patch — fixed in OCaml 5.5.1 (OSEC-2026-18)."}],"tier":"poc_unverified"},"has_fix":true,"headline":"Memory corruption in OCaml","id":"CVE-2026-28364","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"memory_corruption","year":"2026"},"n_packages":13,"n_references":2,"next":{"headline":"Undertow: undertow: request smuggling via `\\r\\r\\r` as a header block terminator","id":"CVE-2026-28367"},"packages":[{"ecosystem":"SUSE:Linux Enterprise High Performance Computing 15 SP4-ESPOS","fixed":["4.05.0-150200.15.3.1"],"introduced":["0"],"last_affected":[],"package":"ocaml","purl":"pkg:rpm/suse/ocaml\u0026distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015%20SP4-ESPOS","source":"SUSE-SU-2026:0800-1"},{"ecosystem":"SUSE:Linux Enterprise High Performance Computing 15 SP4-LTSS","fixed":["4.05.0-150200.15.3.1"],"introduced":["0"],"last_affected":[],"package":"ocaml","purl":"pkg:rpm/suse/ocaml\u0026distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015%20SP4-LTSS","source":"SUSE-SU-2026:0800-1"},{"ecosystem":"SUSE:Linux Enterprise High Performance Computing 15 SP5-ESPOS","fixed":["4.05.0-150200.15.3.1"],"introduced":["0"],"last_affected":[],"package":"ocaml","purl":"pkg:rpm/suse/ocaml\u0026distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015%20SP5-ESPOS","source":"SUSE-SU-2026:0800-1"},{"ecosystem":"SUSE:Linux Enterprise High Performance Computing 15 SP5-LTSS","fixed":["4.05.0-150200.15.3.1"],"introduced":["0"],"last_affected":[],"package":"ocaml","purl":"pkg:rpm/suse/ocaml\u0026distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015%20SP5-LTSS","source":"SUSE-SU-2026:0800-1"},{"ecosystem":"SUSE:Linux Enterprise Module for Development Tools 15 SP7","fixed":["4.14.2-150600.3.3.1"],"introduced":["0"],"last_affected":[],"package":"ocaml","purl":"pkg:rpm/suse/ocaml\u0026distro=SUSE%20Linux%20Enterprise%20Module%20for%20Development%20Tools%2015%20SP7","source":"SUSE-SU-2026:0830-1"},{"ecosystem":"SUSE:Linux Enterprise Server 15 SP4-LTSS","fixed":["4.05.0-150200.15.3.1"],"introduced":["0"],"last_affected":[],"package":"ocaml","purl":"pkg:rpm/suse/ocaml\u0026distro=SUSE%20Linux%20Enterprise%20Server%2015%20SP4-LTSS","source":"SUSE-SU-2026:0800-1"},{"ecosystem":"SUSE:Linux Enterprise Server 15 SP5-LTSS","fixed":["4.05.0-150200.15.3.1"],"introduced":["0"],"last_affected":[],"package":"ocaml","purl":"pkg:rpm/suse/ocaml\u0026distro=SUSE%20Linux%20Enterprise%20Server%2015%20SP5-LTSS","source":"SUSE-SU-2026:0800-1"},{"ecosystem":"SUSE:Linux Enterprise Server 15 SP6-LTSS","fixed":["4.14.2-150600.3.3.1"],"introduced":["0"],"last_affected":[],"package":"ocaml","purl":"pkg:rpm/suse/ocaml\u0026distro=SUSE%20Linux%20Enterprise%20Server%2015%20SP6-LTSS","source":"SUSE-SU-2026:0830-1"},{"ecosystem":"SUSE:Linux Enterprise Server for SAP Applications 15 SP4","fixed":["4.05.0-150200.15.3.1"],"introduced":["0"],"last_affected":[],"package":"ocaml","purl":"pkg:rpm/suse/ocaml\u0026distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2015%20SP4","source":"SUSE-SU-2026:0800-1"},{"ecosystem":"SUSE:Linux Enterprise Server for SAP Applications 15 SP5","fixed":["4.05.0-150200.15.3.1"],"introduced":["0"],"last_affected":[],"package":"ocaml","purl":"pkg:rpm/suse/ocaml\u0026distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2015%20SP5","source":"SUSE-SU-2026:0800-1"},{"ecosystem":"SUSE:Linux Enterprise Server for SAP Applications 15 SP6","fixed":["4.14.2-150600.3.3.1"],"introduced":["0"],"last_affected":[],"package":"ocaml","purl":"pkg:rpm/suse/ocaml\u0026distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2015%20SP6","source":"SUSE-SU-2026:0830-1"},{"ecosystem":"openSUSE:Leap 15.6","fixed":["4.14.2-150600.3.3.1"],"introduced":["0"],"last_affected":[],"package":"ocaml","purl":"pkg:rpm/opensuse/ocaml\u0026distro=openSUSE%20Leap%2015.6","source":"SUSE-SU-2026:0830-1"},{"ecosystem":"openSUSE:Leap 16.0","fixed":["4.14.2-160000.4.1"],"introduced":["0"],"last_affected":[],"package":"ocaml","purl":"pkg:rpm/opensuse/ocaml\u0026distro=openSUSE%20Leap%2016.0","source":"openSUSE-SU-2026:20368-1"}],"prev":{"headline":"Security feature bypass in OpenClaw","id":"CVE-2026-28363"},"products":["OCaml"],"published":"2026-02-27","related":[{"cvss_score":9.8,"headline":"Integer overflow in n/a","id":"CVE-2018-9838","kev_date_added":null,"published":"2018-04-06"},{"cvss_score":9.8,"headline":"Privilege escalation in n/a","id":"CVE-2017-9772","kev_date_added":null,"published":"2017-06-23"},{"cvss_score":7.8,"headline":"Other in n/a","id":"CVE-2017-9779","kev_date_added":null,"published":"2017-09-07"},{"cvss_score":5.9,"headline":"Integer overflow in OCaml","id":"CVE-2026-34353","kev_date_added":null,"published":"2026-03-27"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"SUSE","prefix":"SUSE"},{"class":"attribution","licence":"CC BY 4.0","name":"SUSE","prefix":"openSUSE"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"},{"class":"open","licence":"CC0","name":"PoC-in-GitHub"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2026-07-15","vendors":["OCaml"]},"summary":"A buffer over-read in OCaml's Marshal deserialization allows remote code execution via crafted data, requiring an upgrade to patched versions.","url":"https://insights.sbomify.com/CVE-2026-28364/"}