CVE-2019-15548 Buffer overflow and format vulnerabilities in ncurses

Critical 9.8 Published Updated

Buffer overflows in the Rust ncurses crate allow attackers to execute arbitrary code or cause denial of service via mishandled C function interactions.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2019-15548?

CVE-2019-15548 is a critical memory corruption vulnerability in n/a, published on 26 Aug 2019. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

An issue was discovered in the ncurses crate through 5.99.0 for Rust. There are instr and mvwinstr buffer overflows because interaction with C functions is mishandled.

Weakness: CWE-119

Which versions are affected by CVE-2019-15548?

2 open source packages ship an affected version, including ncurses. It affects 1 product.

PackageAffectedFixed in
ncurses crates.ioAll versions to 5.101.0None
ncurses crates.ioAll versions to 5.101.0None

Products include Ncurses Project Ncurses.

How do I fix CVE-2019-15548?

No fix has been published for CVE-2019-15548 yet. Limit exposure of the affected software until one is available.

Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.

Is CVE-2019-15548 being exploited?

There is no known exploitation of CVE-2019-15548 in the wild and no public exploit code.

Sources

Also known as GHSA-g7r5-x7cr-vm3v, UBUNTU-CVE-2019-15548.

Is CVE-2019-15548 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free