PT-2026-135866
Publicado
2026-10-23
·
Atualizado
2026-10-23
Descrição por
CVSS 4.0
5.5
MédiaMétricasAV:L/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:H/SC:N/SI:N/SA:N/E:P
ANT-2026-6W9NPC2Q mmap dimension product integer overflow
Fix
Use
caml umul overflow instead of * when multiplying bigarray dimensions, which detects integer overflows and raise Failure.
Negative positions are also rejected by raising Invalid argument.Am I affected?
If either the dimensions or the file size in a call to
Unix.map file from your code is user controllable then you are potentially affected.Score notes
The vulnerability is in a library, and the CVSS score is calculated under worst case assumptions. For an actual application the score will depend on how much an attacker can control the input to this function (if at all).
Timeline
- 2026-08-24: vulnerability was found
- 2026-08-27: forwarded report to security@ocaml.org
- 2026-09-29: fix merged to trunk
Explorabilidade
Correção
Fornecedores
Produtos afetados
Identificadores relacionados
Encontrou algum problema na descrição? Tem algo a acrescentar? Fique à vontade para nos escrever 👾