CVE-2018-3846

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

Published Apr 16, 2018 CVSS 3.1 · 8.8 High EPSS 3.0% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
EUVD EUVD EUVD-2018-15632 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.
History
Type Values Removed Values Added
Metrics epss

{'score': 0.01518}

epss

{'score': 0.01884}

Weaknesses

Sources

Status
PUBLISHED
Assigner
talos
Published
Updated
Sep 17, 2024, 2:21 AM
Reserved
Jan 2, 2018, 12:00 AM
Status
Modified
Published
Apr 16, 2018, 4:29 PM
Modified
Jun 17, 2026, 1:57 AM
Severity
Important
Public date
Mar 10, 2018, 12:00 AM