# OSEC-2026-26: runtime_events user event name-based type confusion

- Severity: not scored yet
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Published: 2026-10-23T21:30:00.000Z
- Modified: 2026-11-19T10:30:04.710Z

## Description

ANT-2026-DTBY2HWS 

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

This would never be encountered in a real program but can lead to a crash.

## Fix

Validate event type against expected type, report a corrupt stream on mismatch.

## Am I affected?

If the runtime events producer and consumer run in separate processes, and the producer can be tricked into producing malformed data.

## Timeline

- 2026-08-24: vulnerability was found
- 2026-08-27: forwarded report to security@ocaml.org
- 2027-10-20: fix merged to trunk

(As written by OCaml Security Advisories.)

## Affected

- ocaml (opam): from 5.0.0 before 5.5.2
- https://github.com/ocaml/ocaml: before ac2fae847a9c2c35ae3bba90a19adbe5d0cc6f59; before de10a6b03a471821cb0b868223e5331b919f48c0

## Sources

- OCaml Security Advisories: [OSEC-2026-26](https://osv.dev/vulnerability/OSEC-2026-26), CC0-1.0, modified 2026-11-19

---

Page: https://cve.day/OSEC-2026-26 · Whole record: https://cve.day/OSEC-2026-26.json · Rebuilt by cve.day 2026-11-25T22:56:18.366Z
