CVE Database›Document archive›CVE-2018-3846

CVE-2018-3846

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

Loading…

Severity

Important

Red Hat Product Security

7.4

CVSS 3.0

Review impact separately from score.

Published · March 10, 2018

Updated · June 30, 2026

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.

CVSS score applicability

The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.

Mitigation

No mitigation is specified in collected source.

CVSS / CWE

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

CWE-20 · Improper Input Validation