# CVE-2026-24783: soroban-fixed-point-math has Incorrect Rounding and Overflow Handling in Signed Fixed-Point Math with Negatives

- Severity: High 7.5 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.40%, higher than 36% of CVEs (2026-12-01)
- Published: 2026-01-27T22:04:18.006Z
- Modified: 2026-06-17T10:23:35.253Z
- Also known as: GHSA-x5m4-43jf-hh65
- Weaknesses: CWE-682
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: GitHub_M

## Description

soroban-fixed-point-math is a fixed-point math library for Soroban smart contacts. In versions 1.3.0 and 1.4.0, the `mulDiv(x, y, z)` function incorrectly handled cases where both the intermediate product $x * y$ and the divisor $z$ were negative. The logic assumed that if the intermediate product was negative, the final result must also be negative, neglecting the sign of $z$. This resulted in rounding being applied in the wrong direction for cases where both $x * y$ and $z$ were negative. 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`.  This error is present in all signed `FixedPoint` and `SorobanFixedPoint` implementations, including `i64`, `i128`, and `I256`. Versions 1.3.1 and 1.4.1 contain a patch. No known workarounds for this issue are available.

(As written by CVE List.)

## Affected

- script3 soroban-fixed-point-math: = 1.4.0; = 1.3.0; 1.3.0; 1.4.0
- soroban-fixed-point-math (crates.io): from 1.4.0 before 1.4.1; from 1.3.0 before 1.3.1

## Every score

- GitHub_M: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N`
- GitHub: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N`

## References

- <https://github.com/script3/soroban-fixed-point-math/security/advisories/GHSA-x5m4-43jf-hh65> (vendor-advisory, web)
- <https://github.com/script3/soroban-fixed-point-math/commit/c9233f7094198a49ed66a4d75786a8a3755c936a> (patch, web)
- <https://github.com/script3/soroban-fixed-point-math/releases/tag/v1.3.1> (product, release-notes, web)
- <https://github.com/script3/soroban-fixed-point-math/releases/tag/v1.4.1> (product, release-notes, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-24783> (advisory)
- <https://github.com/script3/soroban-fixed-point-math> (package)

## Sources

- CVE List: [CVE-2026-24783](https://www.cve.org/CVERecord?id=CVE-2026-24783), CVE Terms of Use, modified 2026-01-28
- GitHub Advisory Database: [GHSA-x5m4-43jf-hh65](https://github.com/advisories/GHSA-x5m4-43jf-hh65), CC-BY-4.0, modified 2026-02-03
- NVD: [CVE-2026-24783](https://nvd.nist.gov/vuln/detail/CVE-2026-24783), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2026-24783 · Whole record: https://cve.day/CVE-2026-24783.json · Rebuilt by cve.day 2026-11-25T22:59:13.251Z
