PT-2026-5030 · Unknown · Soroban-Fixed-Point-Math

CVE-2026-24783

·

Publicado

2026-01-27

·

Atualizado

2026-03-02

CVSS v3.1

7.5

Alta

VetorAV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
Name of the Vulnerable Software and Affected Versions soroban-fixed-point-math versions 1.3.0 through 1.4.0
Description The mulDiv(x, y, z) function in soroban-fixed-point-math incorrectly handles cases where both the intermediate product x * y and the divisor z are negative. The logic incorrectly assumes that if the intermediate product is negative, the final result must also be negative, neglecting the sign of z. This results in rounding being applied in the wrong direction when both x * y and z are negative. This issue affects all signed FixedPoint and SorobanFixedPoint implementations, including i64, i128, and I256. For the i64 implementation, a negative overflow can occur because the code does not check against i64::MIN. The functions most at risk are fixed div floor and fixed div ceil, as they often use non-constant numbers as the divisor z in mulDiv.
Recommendations Versions 1.3.0 should be upgraded to version 1.3.1. Versions 1.4.0 should be upgraded to version 1.4.1.

Exploit

Correção

Encontrou algum problema na descrição? Tem algo a acrescentar? Fique à vontade para nos escrever 👾

Enumeração de Fraquezas

Identificadores relacionados

CVE-2026-24783
GHSA-X5M4-43JF-HH65

Produtos afetados

Soroban-Fixed-Point-Math