Advisory Database
  • Advisories
  • Dependency Scanning
  1. cargo
  2. ›
  3. ncurses
  4. ›
  5. CVE-2019-15547

CVE-2019-15547: Mishandling of format strings in ncurses

August 25, 2021 (updated June 13, 2023)

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).

References

  • github.com/RustSec/advisory-db/issues/106
  • github.com/advisories/GHSA-32v7-ghpr-c8hg
  • github.com/jeaye/ncurses-rs
  • github.com/jeaye/ncurses-rs/issues/172
  • nvd.nist.gov/vuln/detail/CVE-2019-15547
  • rustsec.org/advisories/RUSTSEC-2019-0006.html

Code Behaviors & Features

Detect and mitigate CVE-2019-15547 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions up to 5.101.0

Solution

Unfortunately, there is no solution available yet.

Impact 7.5 HIGH

CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N

Learn more about CVSS

Weakness

  • CWE-134: Use of Externally-Controlled Format String

Source file

cargo/ncurses/CVE-2019-15547.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:17:08 +0000.