# CVE-2024-21525

## Summary

- **CVE ID:** CVE-2024-21525
- **Severity:** HIGH
- **CVSS Score:** 8.3 (CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:L/E:P)
- **CWE:** CWE-703
- **Published:** Jul 10, 2024
- **Last Modified:** Mar 13, 2026

## Description

All versions of the package node-twain are vulnerable to Improper Check or Handling of Exceptional Conditions due to the length of the source data not being checked. Creating a new twain.TwainSDK with a productName or productFamily, manufacturer, version.info property of length >= 34 chars leads to a buffer overflow vulnerability.

## Affected Products

- n/a — node-twain (0)

## References

- [CNA](https://security.snyk.io/vuln/SNYK-JS-NODETWAIN-6421153)
- [CNA](https://gist.github.com/dellalibera/55b87634a6c360e5be22a715f0566c99)

## Exploitation Prediction (EPSS)

- **EPSS Score:** 0.55%
- **EPSS Percentile:** 44.4

---
_Exported from OnDuty AI Vulnerability Intelligence on 2026-09-18._