CVE-2018-7998
CVE-2018-7998 is a high-severity vulnerability in Libvips with a CVSS 3.x base score of 7.5. It is not currently listed as actively exploited by CISA, and its EPSS exploit-prediction score is low. The underlying weakness is classified as CWE-362.
Key facts
- Severity: High (CVSS 3.x base score 7.5)
- CVSS v2: 5.1
- EPSS exploit prediction: 2% (77th percentile)
- Actively exploited: Not listed in CISA KEV
- Weakness: CWE-362
- Affected product: Libvips
- Published:
- Last modified:
Description
In libvips before 8.6.3, a NULL function pointer dereference vulnerability was found in the vips_region_generate function in region.c, which allows remote attackers to cause a denial of service or possibly have unspecified other impact via a crafted image file. This occurs because of a race condition involving a failed delayed load and other worker threads.
Frequently asked questions
- What is CVE-2018-7998?
- In libvips before 8.6.3, a NULL function pointer dereference vulnerability was found in the vips_region_generate function in region.c, which allows remote attackers to cause a denial of service or possibly have unspecified other impact via a crafted image file. This occurs because of a race condition involving a failed delayed load and other worker threads.
- How severe is CVE-2018-7998?
- CVE-2018-7998 has a CVSS 3.x base score of 7.5, rated high severity. It is exploitable over network with high attack complexity, requires no privileges and user interaction. Impact on confidentiality is high, integrity high, and availability high.
- Is CVE-2018-7998 being actively exploited?
- It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 2% (77th percentile), an estimate of the probability of exploitation in the next 30 days.
- What products are affected by CVE-2018-7998?
- CVE-2018-7998 primarily affects Libvips. In total, 2 product configurations (CPEs) are listed as vulnerable; see the affected-products list for the exact versions.
- How do I fix CVE-2018-7998?
- Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround. Given its high severity, prioritise patching exposed systems.
- When was CVE-2018-7998 published?
- CVE-2018-7998 was published on 2018-03-09 and last updated on 2026-06-17.
References
- https://github.com/jcupitt/libvips/commit/20d840e6da15c1574b3ed998bc92f91d1e36c2a5
- https://github.com/jcupitt/libvips/issues/893
- https://lists.debian.org/debian-lts-announce/2018/03/msg00009.html
Affected products (2)
- cpe:2.3:a:libvips:libvips:*:*:*:*:*:*:*:*
- cpe:2.3:o:debian:debian_linux:7.0:*:*:*:*:*:*:*
More vulnerabilities in Libvips
- CVE-2019-17534 — High (CVSS 8.8): vips_foreign_load_gif_scan_image in foreign/gifload.c in libvips before 8.8.2 tries to access a color map before a…
- CVE-2025-59933 — High (CVSS 7.8): libvips is a demand-driven, horizontally threaded image processing library. For versions 8.17.1 and below, when libvips…
- CVE-2021-27847 — Medium (CVSS 6.5): Division-By-Zero vulnerability in Libvips 8.10.5 in the function vips_eye_point, eye.c#L83, and function…
- CVE-2025-29769 — Medium (CVSS 5.5): libvips is a demand-driven, horizontally threaded image processing library. The heifsave operation could incorrectly…
- CVE-2023-40032 — Medium (CVSS 5.5): libvips is a demand-driven, horizontally threaded image processing library. A specially crafted SVG input can cause…
- CVE-2026-3281 — Medium (CVSS 5.3): A vulnerability was detected in libvips 8.19.0. This affects the function vips_bandrank_build of the file…
Other CWE-362 (Race Condition) vulnerabilities
- CVE-2022-27626 — Critical (CVSS 10.0): A vulnerability regarding concurrent execution using shared resource with improper synchronization ('Race Condition')…
- CVE-2015-8556 — Critical (CVSS 10.0): Local privilege escalation vulnerability in the Gentoo QEMU package before 2.5.0-r1.
- CVE-2014-0703 — Critical (CVSS 10.0): Cisco Wireless LAN Controller (WLC) devices 7.4 before 7.4.110.0 distribute Aironet IOS software with a race condition…
- CVE-2010-1228 — Critical (CVSS 10.0): Multiple race conditions in the sandbox infrastructure in Google Chrome before 4.1.249.1036 have unspecified impact and…
- CVE-2008-6598 — Critical (CVSS 10.0): Multiple race conditions in WANPIPE before 3.3.6 have unknown impact and attack vectors related to "bri restart logic."
- CVE-2026-46137 — Critical (CVSS 9.8): In the Linux kernel, the following vulnerability has been resolved: mptcp: pm: ADD_ADDR rtx: fix potential…