OCaml 5.5.2

5.5.2

OCaml 5.5.2

Fixed 4
  • Fixed a miscompilation involving atomic loads
  • Fixed a miscompilation involving immediate range patterns
  • Fixed detection on macOS of functions available in future versions in the configuration
  • Fixed an infinite loop with user events in the runtime events library
Security 6
  • Fixed OSEC-2026-21: Str.string_partial_match security issue
  • Fixed OSEC-2026-22: potential overflow in data file handling in Unix.map_file
  • Fixed OSEC-2026-23: multiple issues in demarshaling
  • Fixed OSEC-2026-24: multiple issues in command quoting on Windows
  • Fixed OSEC-2026-25: hardened decoding of events in the runtime events library
  • Fixed OSEC-2026-26: maintained custom events cache integrity in the runtime events library

From OCaml

This patch release contains several security fixes:

  • Security fix OSEC-2026-21: Str.string_partial_match
  • Security fix OSEC-2026-22: potential overflow in data file inUnix.map_file
  • Security fix OSEC-2026-23: multiple issues in demarshaling
  • Security fix OSEC 2026-24: multiple issues in command quoting on Windows
  • Security fixOSEC-2026-25: runtime events library, harden decoding of events
  • Security fix OSEC-2026-26: runtime events library, maintain custom events cache integrity.

and four other safe and useful bugfixes

  • two miscompilation: with atomic loads, the other with immediate range patterns
  • macOS configuration: fix detection of function available in future versions
  • runtime events library, fix an infinite loop with user events

See detailed list of changes.

View original

Upgraded? How did it go?

Discussion