All reports
High

cfitsio: Stack-based buffer overflow in ffghtb() allows for potential code execution

Affected versions

Affected versions
Unknown
Fixed version
Not reported

Exploitation

CVE-2018-3849

Probability of exploitation in the next 30 days: 3.64%

FIRST EPSS · 2026-11-22

Description

In the ffghtb function 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.