GHSA-g7r5-x7cr-vm3vCriticalCVSS 9.8

Buffer overflow and format vulnerabilities in ncurses

Published
August 25, 2021
Last Modified
June 13, 2023

🔗 CVE IDs covered (1)

📋 Description

ncurses exposes functions from the ncurses library which:

  • Pass buffers without length to C functions that may write an arbitrary amount of data, leading to a buffer overflow. (instr, mvwinstr, etc)
  • Passes rust &str to strings expecting C format arguments, allowing hostile input to execute a format string attack, which trivially allows writing arbitrary data to stack memory (functions in the printw family).

🎯 Affected products1

  • rust/ncurses:<= 5.101.0

🔗 References (5)