CVE-2018-1152
libjpeg-turbo 1.5.90 is vulnerable to a denial of service vulnerability caused by a divide by...
libjpeg-turbo 1.5.90 is vulnerable to a denial of service vulnerability caused by a divide by zero when processing a crafted BMP image.
Attack profile
How easy it is to exploit
- Attack vector
- Network
- Complexity
- Low
- Privileges needed
- None
- User interaction
- Required
What an attacker can affect
- Confidentiality
- None
- Integrity
- None
- Availability
- High
Exploit likelihood
What each source reports
NVD Score used
6.5
libjpeg-turbo 1.5.90 is vulnerable to a denial of service vulnerability caused by a divide by zero when processing a crafted BMP image.
- Record
CVE-2018-1152- CVSS 3.0
- 6.5 Medium
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H - CVSS 2.0
- 4.3 Medium
AV:N/AC:M/Au:N/C:N/I:N/A:P - Weakness
- CWE-369
- Updated
- 2026-11-02
CVE List No score
libjpeg-turbo 1.5.90 is vulnerable to a denial of service vulnerability caused by a divide by zero when processing a crafted BMP image.
- Record
CVE-2018-1152- Updated
- 2026-11-02
EUVDEUVD-2018-11790 No score
libjpeg-turbo 1.5.90 is vulnerable to a denial of service vulnerability caused by a divide by zero when processing a crafted BMP image.
- Record
EUVD-2018-11790- Updated
- 2026-11-03
GitHub AdvisoriesGHSA-fr7x-fw4f-wmvr
6.5
libjpeg-turbo 1.5.90 is vulnerable to a denial of service vulnerability caused by a divide by...
libjpeg-turbo 1.5.90 is vulnerable to a denial of service vulnerability caused by a divide by zero when processing a crafted BMP image.
- Record
GHSA-fr7x-fw4f-wmvr- CVSS 3.0
- 6.5 Medium
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H - Weakness
- CWE-369
- Updated
- 2026-11-02
OSVALPINE-CVE-2018-1152
6.5
libjpeg-turbo 1.5.90 is vulnerable to a denial of service vulnerability caused by a divide by zero when processing a crafted BMP image.
- Record
ALPINE-CVE-2018-1152- CVSS 3.0
- 6.5 Medium
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H - Updated
- 2026-11-02
OSVBELL-CVE-2018-1152
6.5
CVE-2018-1152 does not affect BellSoft software
- Record
BELL-CVE-2018-1152- CVSS 3.0
- 6.5 Medium
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H - Updated
- 2026-11-02
Show 10 moreShow less
OSV
6.5
libjpeg-turbo 1.5.90 is vulnerable to a denial of service vulnerability caused by a divide by zero when processing a crafted BMP image.
- Record
CVE-2018-1152- CVSS 3.0
- 6.5 Medium
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H - Updated
- 2026-11-02
OSVDEBIAN-CVE-2018-1152
6.5
libjpeg-turbo 1.5.90 is vulnerable to a denial of service vulnerability caused by a divide by zero when processing a crafted BMP image.
- Record
DEBIAN-CVE-2018-1152- CVSS 3.0
- 6.5 Medium
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H - Updated
- 2026-11-02
OSVUBUNTU-CVE-2018-1152
6.5
libjpeg-turbo 1.5.90 is vulnerable to a denial of service vulnerability caused by a divide by zero when processing a crafted BMP image.
- Record
UBUNTU-CVE-2018-1152- CVSS 3.0
- 6.5 Medium
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H - Updated
- 2026-11-02
OSVMGASA-2018-0327 No score
Updated libjpeg packages fix security vulnerabilities
Updated libjpeg package fixes security vulnerabilities:
It was found that libjpeg is vulnerable to a denial of service vulnerability caused by a divide by zero when processing a crafted BMP image (CVE-2018-1152).
It was found that libjpeg had a defect where, due to a mishandled EOF, a specially crafted malformed input file (specifically a file with a valid Targa header but incomplete pixel data) would cause cjpeg to generate a file that was potentially thousands of times larger than the input file (CVE-2018-11813).
- Record
MGASA-2018-0327- Updated
- 2026-11-02
OSVopenSUSE-SU-2019:1118-1 No score
Security update for libjpeg-turbo
This update for libjpeg-turbo fixes the following issues:
The following security vulnerabilities were addressed:
- CVE-2018-14498: Fixed a heap-based buffer over read in get_8bit_row function which could allow to an attacker to cause denial of service (bsc#1128712).
- CVE-2018-11813: Fixed the end-of-file mishandling in read_pixel in rdtarga.c, which allowed remote attackers to cause a denial-of-service via crafted JPG files due to a large loop (bsc#1096209)
- CVE-2018-1152: Fixed a denial of service in start_input_bmp() rdbmp.c caused by a divide by zero when processing a crafted BMP image (bsc#1098155)
This update was imported from the SUSE:SLE-15:Update update project.
- Record
openSUSE-SU-2019:1118-1- Updated
- 2026-11-02
OSVopenSUSE-SU-2024:10952-1 No score
libjpeg-turbo-2.1.1-65.2 on GA media
These are all security issues fixed in the libjpeg-turbo-2.1.1-65.2 package on the GA media of openSUSE Tumbleweed.
- Record
openSUSE-SU-2024:10952-1- Updated
- 2026-11-02
OSVSUSE-SU-2018:1825-1 No score
Security update for jpeg
This update for jpeg fixes the following issues:
- CVE-2017-15232: NULL pointer dereferences in jdpostct.c and jquant1.c could lead to denial of service (crash) when processing images [bsc#1062937]
- CVE-2018-11813: Fixed the end-of-file mishandling in read_pixel in rdtarga.c, which allowed remote attackers to cause a denial-of-service via crafted JPG files due to a large loop [bsc#1096209]
- CVE-2018-1152: Fixed a denial of service in start_input_bmp() rdbmp.c caused by a divide by zero when processing a crafted BMP image [bsc#1098155]
- Record
SUSE-SU-2018:1825-1- Updated
- 2026-11-02
OSVSUSE-SU-2019:0711-1 No score
Security update for libjpeg-turbo
This update for libjpeg-turbo fixes the following issues:
The following security vulnerabilities were addressed:
- CVE-2018-14498: Fixed a heap-based buffer over read in get_8bit_row function which could allow to an attacker to cause denial of service (bsc#1128712).
- CVE-2018-11813: Fixed the end-of-file mishandling in read_pixel in rdtarga.c, which allowed remote attackers to cause a denial-of-service via crafted JPG files due to a large loop (bsc#1096209)
- CVE-2018-1152: Fixed a denial of service in start_input_bmp() rdbmp.c caused by a divide by zero when processing a crafted BMP image (bsc#1098155)
- Record
SUSE-SU-2019:0711-1- Updated
- 2026-11-02
OSVSUSE-SU-2019:1111-1 No score
Security update for libjpeg-turbo
This update for libjpeg-turbo fixes the following issues:
The following security vulnerabilities were addressed:
- CVE-2018-14498: Fixed a heap-based buffer over read in get_8bit_row function which could allow to an attacker to cause denial of service (bsc#1128712).
- CVE-2018-11813: Fixed the end-of-file mishandling in read_pixel in rdtarga.c, which allowed remote attackers to cause a denial-of-service via crafted JPG files due to a large loop (bsc#1096209)
- CVE-2018-1152: Fixed a denial of service in start_input_bmp() rdbmp.c caused by a divide by zero when processing a crafted BMP image (bsc#1098155)
- Record
SUSE-SU-2019:1111-1- Updated
- 2026-11-02
OSVUSN-3706-1 No score
libjpeg-turbo vulnerabilities
It was discovered that libjpeg-turbo incorrectly handled certain malformed JPEG images. If a user or automated system were tricked into opening a specially crafted JPEG image, a remote attacker could cause libjpeg-turbo to crash, resulting in a denial of service, or possibly execute arbitrary code.
- Record
USN-3706-1- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
libjpeg-turboAlpine:v3.10 |
before 1.5.3-r2 | 1.5.3-r2 |
libjpeg-turboAlpine:v3.11 |
before 1.5.3-r2 | 1.5.3-r2 |
libjpeg-turboAlpine:v3.12 |
before 1.5.3-r2 | 1.5.3-r2 |
libjpeg-turboAlpine:v3.13 |
before 1.5.3-r2 | 1.5.3-r2 |
libjpeg-turboAlpine:v3.14 |
before 1.5.3-r2 | 1.5.3-r2 |
libjpeg-turboAlpine:v3.15 |
before 1.5.3-r2 | 1.5.3-r2 |
libjpeg-turboAlpine:v3.16 |
before 1.5.3-r2 | 1.5.3-r2 |
libjpeg-turboAlpine:v3.17 |
before 1.5.3-r2 | 1.5.3-r2 |
libjpeg-turboAlpine:v3.18 |
before 1.5.3-r2 | 1.5.3-r2 |
libjpeg-turboAlpine:v3.19 |
before 1.5.3-r2 | 1.5.3-r2 |
Show 48 moreShow less
| Package | Affected | Fixed |
|---|---|---|
libjpeg-turboAlpine:v3.20 |
before 1.5.3-r2 | 1.5.3-r2 |
libjpeg-turboAlpine:v3.21 |
before 1.5.3-r2 | 1.5.3-r2 |
libjpeg-turboAlpine:v3.22 |
before 1.5.3-r2 | 1.5.3-r2 |
libjpeg-turboAlpine:v3.23 |
before 1.5.3-r2 | 1.5.3-r2 |
libjpeg-turboAlpine:v3.24 |
before 1.5.3-r2 | 1.5.3-r2 |
libjpeg-turboAlpine:v3.5 |
before 1.5.3-r1 | 1.5.3-r1 |
libjpeg-turboAlpine:v3.6 |
before 1.5.3-r1 | 1.5.3-r1 |
libjpeg-turboAlpine:v3.7 |
before 1.5.3-r1 | 1.5.3-r1 |
libjpeg-turboAlpine:v3.8 |
before 1.5.3-r2 | 1.5.3-r2 |
libjpeg-turboAlpine:v3.9 |
before 1.5.3-r2 | 1.5.3-r2 |
libjpeg-turboDebian:12 |
before 1:2.0.5-1 | 1:2.0.5-1 |
libjpeg-turboDebian:13 |
before 1:2.0.5-1 | 1:2.0.5-1 |
libjpeg-turboDebian:14 |
before 1:2.0.5-1 | 1:2.0.5-1 |
libjpeg-turboDebian:8 From an advisory covering 5 CVEs |
before 1:1.3.1-12+deb8u1, plus listed versions 1:1.3.1-12 |
1:1.3.1-12+deb8u1 |
libjpeg-turboDebian:9 From an advisory covering 4 CVEs |
before 1:1.5.1-2+deb9u1, plus listed versions 1:1.5.1-2 |
1:1.5.1-2+deb9u1 |
libjpegMageia:6 From an advisory covering 2 CVEs |
before 1.5.1-1.2.mga6 | 1.5.1-1.2.mga6 |
jpegSUSE:Linux Enterprise Software Development Kit 11 SP4 From an advisory covering 3 CVEs |
before 6b-879.12.7.1 | 6b-879.12.7.1 |
jpegSUSE:Linux Enterprise Server 11 SP4 From an advisory covering 3 CVEs |
before 6b-879.12.7.1 | 6b-879.12.7.1 |
jpegSUSE:Linux Enterprise Server for SAP Applications 11 SP4 From an advisory covering 3 CVEs |
before 6b-879.12.7.1 | 6b-879.12.7.1 |
libjpeg-turboSUSE:Linux Enterprise Module for Basesystem 15 From an advisory covering 3 CVEs |
before 1.5.3-5.7.1 | 1.5.3-5.7.1 |
libjpeg62-turboSUSE:Linux Enterprise Module for Basesystem 15 From an advisory covering 3 CVEs |
before 1.5.3-5.7.1 | 1.5.3-5.7.1 |
libjpeg-turboSUSE:Linux Enterprise Module for Desktop Applications 15 From an advisory covering 3 CVEs |
before 1.5.3-5.7.1 | 1.5.3-5.7.1 |
libjpeg-turboSUSE:Linux Enterprise Module for Package Hub 15 From an advisory covering 3 CVEs |
before 1.5.3-5.7.1 | 1.5.3-5.7.1 |
libjpeg-turboSUSE:Linux Enterprise Desktop 12 SP3 From an advisory covering 3 CVEs |
before 1.5.3-31.14.2 | 1.5.3-31.14.2 |
libjpeg62-turboSUSE:Linux Enterprise Desktop 12 SP3 From an advisory covering 3 CVEs |
before 1.5.3-31.14.2 | 1.5.3-31.14.2 |
libjpeg-turboSUSE:Linux Enterprise Desktop 12 SP4 From an advisory covering 3 CVEs |
before 1.5.3-31.14.2 | 1.5.3-31.14.2 |
libjpeg62-turboSUSE:Linux Enterprise Desktop 12 SP4 From an advisory covering 3 CVEs |
before 1.5.3-31.14.2 | 1.5.3-31.14.2 |
libjpeg-turboSUSE:Linux Enterprise Software Development Kit 12 SP3 From an advisory covering 3 CVEs |
before 1.5.3-31.14.2 | 1.5.3-31.14.2 |
libjpeg62-turboSUSE:Linux Enterprise Software Development Kit 12 SP3 From an advisory covering 3 CVEs |
before 1.5.3-31.14.2 | 1.5.3-31.14.2 |
libjpeg-turboSUSE:Linux Enterprise Software Development Kit 12 SP4 From an advisory covering 3 CVEs |
before 1.5.3-31.14.2 | 1.5.3-31.14.2 |
libjpeg62-turboSUSE:Linux Enterprise Software Development Kit 12 SP4 From an advisory covering 3 CVEs |
before 1.5.3-31.14.2 | 1.5.3-31.14.2 |
libjpeg-turboSUSE:Linux Enterprise Server 12 SP3 From an advisory covering 3 CVEs |
before 1.5.3-31.14.2 | 1.5.3-31.14.2 |
libjpeg62-turboSUSE:Linux Enterprise Server 12 SP3 From an advisory covering 3 CVEs |
before 1.5.3-31.14.2 | 1.5.3-31.14.2 |
libjpeg-turboSUSE:Linux Enterprise Server for SAP Applications 12 SP3 From an advisory covering 3 CVEs |
before 1.5.3-31.14.2 | 1.5.3-31.14.2 |
libjpeg62-turboSUSE:Linux Enterprise Server for SAP Applications 12 SP3 From an advisory covering 3 CVEs |
before 1.5.3-31.14.2 | 1.5.3-31.14.2 |
libjpeg-turboSUSE:Linux Enterprise Server 12 SP4 From an advisory covering 3 CVEs |
before 1.5.3-31.14.2 | 1.5.3-31.14.2 |
libjpeg62-turboSUSE:Linux Enterprise Server 12 SP4 From an advisory covering 3 CVEs |
before 1.5.3-31.14.2 | 1.5.3-31.14.2 |
libjpeg-turboSUSE:Linux Enterprise Server for SAP Applications 12 SP4 From an advisory covering 3 CVEs |
before 1.5.3-31.14.2 | 1.5.3-31.14.2 |
libjpeg62-turboSUSE:Linux Enterprise Server for SAP Applications 12 SP4 From an advisory covering 3 CVEs |
before 1.5.3-31.14.2 | 1.5.3-31.14.2 |
libjpeg-turboUbuntu:14.04:LTS |
before 1.3.0-0ubuntu2.1, plus listed versions 1.3.0-0ubuntu11.3.0-0ubuntu2 |
1.3.0-0ubuntu2.1 |
libjpeg-turboUbuntu:16.04:LTS |
before 1.4.2-0ubuntu3.1, plus listed versions 1.3.0-0ubuntu21.4.2-0ubuntu11.4.2-0ubuntu21.4.2-0ubuntu3 |
1.4.2-0ubuntu3.1 |
libjpeg-turboUbuntu:18.04:LTS |
before 1.5.2-0ubuntu5.18.04.1, plus listed versions 1.5.2-0ubuntu5 |
1.5.2-0ubuntu5.18.04.1 |
libjpeg-turboUbuntu:14.04:LTS From an advisory covering 7 CVEs |
before 1.3.0-0ubuntu2.1, plus listed versions 1.3.0-0ubuntu11.3.0-0ubuntu2 |
1.3.0-0ubuntu2.1 |
libjpeg-turboUbuntu:16.04:LTS From an advisory covering 7 CVEs |
before 1.4.2-0ubuntu3.1, plus listed versions 1.3.0-0ubuntu21.4.2-0ubuntu11.4.2-0ubuntu21.4.2-0ubuntu3 |
1.4.2-0ubuntu3.1 |
libjpeg-turboUbuntu:18.04:LTS From an advisory covering 7 CVEs |
before 1.5.2-0ubuntu5.18.04.1, plus listed versions 1.5.2-0ubuntu5 |
1.5.2-0ubuntu5.18.04.1 |
libjpeg-turboopenSUSE:Leap 15.0 From an advisory covering 3 CVEs |
before 1.5.3-lp150.4.3.2 | 1.5.3-lp150.4.3.2 |
libjpeg62-turboopenSUSE:Leap 15.0 From an advisory covering 3 CVEs |
before 1.5.3-lp150.4.3.2 | 1.5.3-lp150.4.3.2 |
libjpeg-turboopenSUSE:Tumbleweed From an advisory covering 7 CVEs |
before 8.2.2-65.2 | 8.2.2-65.2 |
History
| Recorded | Changed | Sources |
|---|---|---|
| affected, facts | ||
| aliases | EUVD | |
| first indexed | CVE List, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2018-1152 is a medium vulnerability (CVSS 6.5) in Libjpeg-turbo, published June 18, 2018. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 3.28%, the 88th percentile. Fixed in libjpeg-turbo 1.5.3-r2.
References
securityfocus.com/bid/104543
usn.ubuntu.com/3706-2
tenable.com/security/research/tra-2018-17
usn.ubuntu.com/3706-1
lists.debian.org/debian-lts-announce/2019/01/msg00015.html
github.com/libjpeg-turbo/libjpeg-turbo/commit/43e84cff1bb2bd8293066f6ac4eb0df61ddddbc6
Show 38 moreShow less
lists.opensuse.org/opensuse-security-announce/2019-04/msg00015.html
lists.opensuse.org/opensuse-security-announce/2019-05/msg00015.html
lists.debian.org/debian-lts-announce/2020/07/msg00033.html
nvd.nist.gov/vuln/detail/CVE-2018-1152
github.com/advisories/GHSA-fr7x-fw4f-wmvr
security.alpinelinux.org/vuln/CVE-2018-1152
docs.bell-sw.com/security/cves/CVE-2018-1152
security-tracker.debian.org/tracker/CVE-2018-1152
advisories.mageia.org/MGASA-2018-0327.html
bugs.mageia.org/show_bug.cgi?id=23238
lists.fedoraproject.org/archives/list/[email protected]/thread/3CDV3ULRXQEMV7OHCB5MSITEIVOI5EPN
lists.fedoraproject.org/archives/list/[email protected]/thread/OHRJSPZHPTSJWFXG5YW7OD4MM4WAPXFF
suse.com/support/update/announcement/2018/suse-su-20181825-1
bugzilla.suse.com/1062937
bugzilla.suse.com/1096209
bugzilla.suse.com/1098155
suse.com/security/cve/CVE-2017-15232
suse.com/security/cve/CVE-2018-1152
suse.com/security/cve/CVE-2018-11813
suse.com/support/update/announcement/2019/suse-su-20190711-1
bugzilla.suse.com/1128712
suse.com/security/cve/CVE-2018-14498
suse.com/support/update/announcement/2019/suse-su-20191111-1
ubuntu.com/security/CVE-2018-1152
ubuntu.com/security/notices/USN-3706-1
ubuntu.com/security/notices/USN-3706-2
cve.org/CVERecord?id=CVE-2018-1152
ubuntu.com/security/CVE-2014-9092
ubuntu.com/security/CVE-2016-3616
ubuntu.com/security/CVE-2017-15232
ubuntu.com/security/CVE-2018-11212
ubuntu.com/security/CVE-2018-11213
ubuntu.com/security/CVE-2018-11214
lists.opensuse.org/archives/list/[email protected]/thread/7PGXD27E76CECHHIGW57SLEC6FXMAF5N
suse.com/security/cve/CVE-2018-19644
suse.com/security/cve/CVE-2018-19664
suse.com/security/cve/CVE-2018-20330
suse.com/security/cve/CVE-2020-13790