# CVE-2025-54884: Vision UI security-kit.js: Potential Uncontrolled Resource Allocation Vulnerability

- Severity: High 8.7 (CVSS:4.0, scored by GitHub_M) `CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA: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.44%, higher than 40% of CVEs (2026-12-01)
- Published: 2025-08-05T23:37:28.995Z
- Modified: 2026-06-17T09:40:51.897Z
- Weaknesses: CWE-400, CWE-770
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: GitHub_M

## Description

Vision UI is a collection of enterprise-grade, dependency-free modules for modern web projects. In versions 1.4.0 and below, the generateSecureId and getSecureRandomInt functions in security-kit versions prior to 3.5.0 (packaged in Vision UI 1.4.0 and below) are vulnerable to Denial of Service (DoS) attacks. The generateSecureId(length) function directly used the length parameter to size a Uint8Array buffer, allowing attackers to exhaust server memory through repeated requests for large IDs since the previous 1024 limit was insufficient. The getSecureRandomInt(min, max) function calculated buffer size based on the range between min and max, where large ranges caused excessive memory allocation and CPU-intensive rejection-sampling loops that could hang the thread. This issue is fixed in version 1.5.0.

(As written by CVE List.)

## Affected

- DavidOsipov Vision-ui: < 1.5.0

## References

- <https://github.com/DavidOsipov/Vision-ui/security/advisories/GHSA-gg28-wc2c-jjj3>
- <https://github.com/DavidOsipov/Vision-ui/commit/74802cd688b661a35e638fc96938d65ca7c05ff5>
- <https://github.com/DavidOsipov/Vision-ui/releases/tag/1.5.0>

## Sources

- CVE List: [CVE-2025-54884](https://www.cve.org/CVERecord?id=CVE-2025-54884), CVE Terms of Use, modified 2025-08-06
- NVD: [CVE-2025-54884](https://nvd.nist.gov/vuln/detail/CVE-2025-54884), Public domain, modified 2026-06-17

---

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