Advisory Details

February 3rd, 2025

NI Vision Builder AI JPG File Parsing Stack-based Buffer Overflow Remote Code Execution Vulnerability

ZDI-25-078
ZDI-CAN-22884

CVE ID CVE-2024-12740
CVSS SCORE 7.8, AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
AFFECTED VENDORS NI
AFFECTED PRODUCTS Vision Builder AI
VULNERABILITY DETAILS

This vulnerability allows remote attackers to execute arbitrary code on affected installations of NI Vision Builder AI. User interaction is required to exploit this vulnerability in that the target must visit a malicious page or open a malicious file.

The specific flaw exists within the parsing of JPG files referenced from a VBAI file. The issue results from the lack of proper validation of the length of user-supplied data prior to copying it to a stack-based buffer. An attacker can leverage this vulnerability to execute code in the context of the current process.

ADDITIONAL DETAILS NI has issued an update to correct this vulnerability. More details can be found at:
https://www.ni.com/en/support/security/available-critical-and-security-updates-for-ni-software/dependency-on-vulnerable-third-party-component-exposes-vulnerabi.html
DISCLOSURE TIMELINE
  • 2024-01-17 - Vulnerability reported to vendor
  • 2025-02-03 - Coordinated public release of advisory
  • 2025-02-03 - Advisory Updated
CREDIT kimiya
BACK TO ADVISORIES