Vulnerability in Davidosipov Vision-Ui
CVE-2025-54883
- CVSS
- Not scored
- Public exploits
- None known
- EPSS
- 0.004 · 37.2th percentile
- Published
- 2025-08-06
What to do
- Fixed in
1.5.0- Affected
- 1 affected product
Vision UI is a collection of enterprise-grade, dependency-free modules for modern web projects. In versions 1.4.0 and below, the getSecureRandomInt function in security-kit versions prior to 3.5.0 (packaged in Vision-ui <= 1.4.0) contains a critical cryptographic weakness. Due to a silent 32-bit integer overflow in its internal masking logic, the function fails to produce a uniform distribution of random numbers when the requested range between min and max is larger than 2³². The root cause is the use of a 32-bit bitwise left-shift operation (<<) to generate a bitmask for the rejection sampling algorithm. This causes the mask to be incorrect for any range requiring 32 or more bits of entropy. This issue is fixed in version 1.5.0.
Published · last modified .
EPSS exploit prediction
EPSS 0.004, 37.2th percentile (last changed ); unchanged over 30 days. About EPSS.
Affected products
- Davidosipov Vision-Ui — versions < 1.5.0
Weakness classification (CWE)
Public exploits and proof-of-concept code
Also mentioned in 1 other repository (ARPSyndicate/cve-scores). These reference the CVE in a list, notes or a scanner and are not exploit code for it.