cfitsio: Stack-based buffer overflow in ffghtb() allows for potential code execution
Published Apr 16, 2018
8.8
HIGHCVSS 3.1
EPSS 3.64%
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.
Affected products
-
- Version NASA CFITSIO 3.42StatusaffectedConstraints-
- Version
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | ||||||
|---|---|---|---|---|---|---|---|---|---|
| Talos | Nasa Cfitsio | n/a |
|
Configuration 2
- 28
No data.
Red Hat Enterprise Linux 8
cfitsio
Will not fix
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Enterprise Linux 8 | cfitsio | Will not fix | n/a |
No package ranges for this CVE.
Remediation
No remediation recorded yet.
Metrics
No CVSS v4.0 score for this CVE.
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
CVSS:3.0/AV:L/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
1 other source (CVE.org) ▾
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
AV:N/AC:M/Au:N/C:P/I:P/A:P
This CVE is not in the KEV list.
No CISA SSVC assessment for this CVE yet.
Estimated probability of exploitation in the wild in the next 30 days (FIRST EPSS). As of Oct 1, 2026.
Score over time
2021–2026- EPSS v1
- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Percentile over time
- EPSS v1
- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Table of values (25 key points)
Flat stretches are collapsed; showing up to 120 newest points.
| Date | Score | Percentile | Model |
|---|---|---|---|
| Oct 1, 2026 | 3.64% (0.03643) | 89.21th | v5 (v2026.06.15) |
| Jun 15, 2026 | 4.03% (0.04034) | 89.24th | v5 (v2026.06.15) |
| Sep 7, 2025 | 1.23% (0.01229) | 78.39th | v4 (v2025.03.14) |
| Mar 30, 2025 | 2.24% (0.02242) | 83.07th | v4 (v2025.03.14) |
| Mar 29, 2025 | 4.89% (0.04888) | 82.24th | v4 (v2025.03.14) |
| Mar 17, 2025 | 1.83% (0.01827) | 81.70th | v4 (v2025.03.14) |
| Dec 12, 2024 | 0.42% (0.00423) | 75.10th | v3 (v2023.03.01) |
| Mar 22, 2024 | 0.42% (0.00423) | 73.81th | v3 (v2023.03.01) |
| Feb 8, 2024 | 0.43% (0.00429) | 73.75th | v3 (v2023.03.01) |
| Nov 8, 2023 | 0.43% (0.00429) | 71.54th | v3 (v2023.03.01) |
| Oct 17, 2023 | 0.32% (0.00317) | 66.99th | v3 (v2023.03.01) |
| Sep 7, 2023 | 0.35% (0.00348) | 68.26th | v3 (v2023.03.01) |
| Jul 8, 2023 | 0.38% (0.00381) | 69.27th | v3 (v2023.03.01) |
| May 8, 2023 | 0.49% (0.00493) | 72.60th | v3 (v2023.03.01) |
| Apr 10, 2023 | 0.62% (0.00623) | 75.73th | v3 (v2023.03.01) |
| Mar 8, 2023 | 0.62% (0.00617) | 75.51th | v3 (v2023.03.01) |
| Mar 7, 2023 | 0.55% (0.00549) | 73.95th | v3 (v2023.03.01) |
| Mar 6, 2023 | 2.58% (0.02578) | 82.08th | v2 (v2022.01.01) |
| Jan 11, 2023 | 2.58% (0.02578) | 81.46th | v2 (v2022.01.01) |
| Apr 1, 2022 | 2.51% (0.02509) | 80.08th | v2 (v2022.01.01) |
| Feb 4, 2022 | 2.51% (0.02509) | 58.60th | v2 (v2022.01.01) |
| Feb 3, 2022 | 1.46% (0.01458) | 32.87th | v1 |
| Jan 6, 2022 | 1.46% (0.01458) | 32.17th | v1 |
| Sep 1, 2021 | 1.46% (0.01458) | 72.29th | v1 |
| Apr 14, 2021 | 1.46% (0.01458) | 0.00th | v1 |
References (8)
- https://access.redhat.com/security/cve/CVE-2018-3849 Vendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=1568185 Issue Tracking
- https://heasarc.gsfc.nasa.gov/FTP/software/fitsio/c/docs/changes2.txt
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/K46I2MFPCEOGC5LLDXZSWPB3EBPON3KA/ vendor-advisoryx_refsource_FEDORA
- https://nvd.nist.gov/vuln/detail/CVE-2018-3849
- https://security.gentoo.org/glsa/202101-24 vendor-advisoryx_refsource_GENTOOThird Party Advisory
- https://www.cve.org/CVERecord?id=CVE-2018-3849
- https://www.talosintelligence.com/vulnerability_reports/TALOS-2018-0531 x_refsource_MISCExploitTechnical DescriptionThird Party Advisory
| Link | Providers | Tags |
|---|---|---|
| https://access.redhat.com/security/cve/CVE-2018-3849 | Vendor Advisory | |
| https://bugzilla.redhat.com/show_bug.cgi?id=1568185 | Issue Tracking | |
| https://heasarc.gsfc.nasa.gov/FTP/software/fitsio/c/docs/changes2.txt | ||
| https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/K46I2MFPCEOGC5LLDXZSWPB3EBPON3KA/ | vendor-advisoryx_refsource_FEDORA | |
| https://nvd.nist.gov/vuln/detail/CVE-2018-3849 | ||
| https://security.gentoo.org/glsa/202101-24 | vendor-advisoryx_refsource_GENTOOThird Party Advisory | |
| https://www.cve.org/CVERecord?id=CVE-2018-3849 | ||
| https://www.talosintelligence.com/vulnerability_reports/TALOS-2018-0531 | x_refsource_MISCExploitTechnical DescriptionThird Party Advisory |
Change history (0)
No recorded changes yet.