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.
Validate event type against expected type, report a corrupt stream on mismatch.
If the runtime events producer and consumer run in separate processes, and the producer can be tricked into producing malformed data.
{
"cwe": [
"CWE-20",
"CWE-122"
],
"human_link": "https://github.com/ocaml/security-advisories/tree/main/advisories/2026/OSEC-2026-26.md",
"osv": "https://github.com/ocaml/security-advisories/tree/generated-osv/2026/OSEC-2026-26.json"
}