CVE-2024-21525: Luomusha Node-Twain

High severity, CVSS 8.3. EPSS: 0.5% chance of exploitation in the next 30 days.

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

Published 2024-07-10. Last modified 2026-06-17.