CVE-2024-21525

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.

Scoring

Severity
HIGH
CVSS base score
8.3
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:L/E:P
EPSS probability
0.55%
CWE
CWE-703
Published
2024-07-10
Last modified
2026-03-13

Affected products

Weakness type

Related vulnerabilities

Markdown version · Browse all CVEs