{"id":"OSEC-2026-26","aliases":["OSEC-2026-26"],"related":[],"kind":"vulnerability","state":"published","title":"runtime_events user event name-based type confusion","summary":"ANT-2026-DTBY2HWS \n\nCustom events maintains a cache of user events, it is possible to have a corrupt stream that has a valid message with one message type (which can be custom/unit/span/int) and then has the same event with a different message type.\n\nThis would never be encountered in a real program but can lead to a crash.\n\n## Fix\n\nValidate event type against expected type, report a corrupt stream on mismatch.\n\n## Am I affected?\n\nIf the runtime events producer and consumer run in separate processes, and the producer can be tricked into producing malformed data.\n\n## Timeline\n\n- 2026-08-24: vulnerability was found\n- 2026-08-27: forwarded report to security@ocaml.org\n- 2027-10-20: fix merged to trunk","summaryFormat":"markdown","summarySource":"osec","descriptions":[{"lang":"en","text":"ANT-2026-DTBY2HWS \n\nCustom events maintains a cache of user events, it is possible to have a corrupt stream that has a valid message with one message type (which can be custom/unit/span/int) and then has the same event with a different message type.\n\nThis would never be encountered in a real program but can lead to a crash.\n\n## Fix\n\nValidate event type against expected type, report a corrupt stream on mismatch.\n\n## Am I affected?\n\nIf the runtime events producer and consumer run in separate processes, and the producer can be tricked into producing malformed data.\n\n## Timeline\n\n- 2026-08-24: vulnerability was found\n- 2026-08-27: forwarded report to security@ocaml.org\n- 2027-10-20: fix merged to trunk","format":"markdown","source":"osec"}],"published":"2026-10-23T21:30:00.000Z","modified":"2026-11-19T10:30:04.710Z","severities":[{"scorer":"OCaml Security Advisories","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:L/AC:L/AT:P/PR:L/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:P"}],"cwes":[],"affected":[{"ranges":[{"type":"ecosystem","introduced":"5.0.0","status":"affected","fixed":"5.5.2"}],"ecosystem":"opam","package":"ocaml","purl":"pkg:opam/ocaml","source":"osec"},{"ranges":[{"type":"git","introduced":"0","status":"affected","fixed":"ac2fae847a9c2c35ae3bba90a19adbe5d0cc6f59"},{"type":"git","introduced":"0","status":"affected","fixed":"de10a6b03a471821cb0b868223e5331b919f48c0"}],"repo":"https://github.com/ocaml/ocaml","source":"osec"}],"references":[],"credits":["Anthropic","Hannes Mehnert","Edwin Török","Sadiq Jaffer"],"sources":[{"source":"osec","name":"OCaml Security Advisories","id":"OSEC-2026-26","url":"https://osv.dev/vulnerability/OSEC-2026-26","licence":"CC0-1.0","modified":"2026-11-19T10:30:04.710Z"}],"updatedAt":"2026-11-25T22:56:18.366Z"}