All reports
High

cfitsio: Unsafe use of sprintf() can allow a remote unauthenticated attacker to execute arbitrary code

Affected versions

Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported

Exploitation

CVE-2018-3846

Probability of exploitation in the next 30 days: 3.02%

FIRST EPSS · 2026-11-22

Description

In the ffgphd and ffgtkn functions in NASA CFITSIO 3.42, specially crafted images parsed via the library can cause a stack-based buffer overflow overwriting arbitrary data. An attacker can deliver an FIT image to trigger this vulnerability and potentially gain code execution.