Mozilla: Integer overflow when calculating buffer sizes for images
Published Feb 28, 2019
9.8
CRITICALCVSS 3.0
EPSS 4.03%
Description
A potential vulnerability leading to an integer overflow can occur during buffer size calculations for images when a raw value is used instead of the checked value. This leads to a possible out-of-bounds write. This vulnerability affects Thunderbird < 60.4, Firefox ESR < 60.4, and Firefox < 64.
Affected products
-
- Version unspecifiedStatusaffectedConstraints<64
- Version
-
- Version unspecifiedStatusaffectedConstraints<60.4
- Version
-
- Version unspecifiedStatusaffectedConstraints<60.4
- 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 | ||||||
|---|---|---|---|---|---|---|---|---|---|
| Mozilla | Firefox | n/a |
| ||||||
| Mozilla | Firefox ESR | n/a |
| ||||||
| Mozilla | Thunderbird | n/a |
|
Configuration 1
- < 64.0
- < 60.4
- < 60.4
Configuration 2
- 8.0
- 9.0
Configuration 3
- 14.04
- 16.04
- 18.04
- 18.10
Configuration 4
- 6.0
- 7.0
- 6.0
- 7.0
- 7.6
- 7.6
- 7.6
- 6.0
- 7.0
No data.
Red Hat Enterprise Linux 6
firefox-0:60.4.0-1.el6
Fixed · RHSA-2018:3831
Red Hat Enterprise Linux 6
thunderbird-0:60.4.0-1.el6
Fixed · RHSA-2019:0159
Red Hat Enterprise Linux 7
firefox-0:60.4.0-1.el7
Fixed · RHSA-2018:3833
Red Hat Enterprise Linux 7
thunderbird-0:60.4.0-1.el7_6
Fixed · RHSA-2019:0160
Red Hat Enterprise Linux 8
firefox
Not affected
Red Hat Enterprise Linux 8
thunderbird
Not affected
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Enterprise Linux 6 | firefox-0:60.4.0-1.el6 | Fixed | RHSA-2018:3831 |
| Red Hat Enterprise Linux 6 | thunderbird-0:60.4.0-1.el6 | Fixed | RHSA-2019:0159 |
| Red Hat Enterprise Linux 7 | firefox-0:60.4.0-1.el7 | Fixed | RHSA-2018:3833 |
| Red Hat Enterprise Linux 7 | thunderbird-0:60.4.0-1.el7_6 | Fixed | RHSA-2019:0160 |
| Red Hat Enterprise Linux 8 | firefox | Not affected | n/a |
| Red Hat Enterprise Linux 8 | thunderbird | Not affected | n/a |
No package ranges for this CVE.
Remediation
Red Hat statement
In general, this flaw be exploited through email in the Thunderbird product because scripting is disabled when reading mail, but are potentially risks in browser or browser-like contexts.
Metrics
No CVSS v4.0 score for this CVE.
No CVSS v3.1 score for this CVE.
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
AV:N/AC:L/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 v5
- EPSS v2
- EPSS v3
- EPSS v4
Percentile over time
- EPSS v1
- EPSS v5
- EPSS v2
- EPSS v3
- EPSS v4
Table of values (21 key points)
Flat stretches are collapsed; showing up to 120 newest points.
| Date | Score | Percentile | Model |
|---|---|---|---|
| Oct 1, 2026 | 4.03% (0.04032) | 90.28th | v5 (v2026.06.15) |
| Jun 15, 2026 | 4.03% (0.04032) | 89.24th | v5 (v2026.06.15) |
| May 29, 2026 | 4.12% (0.04116) | 88.80th | v4 (v2025.03.14) |
| May 28, 2026 | 6.31% (0.06309) | 91.08th | v4 (v2025.03.14) |
| Dec 28, 2025 | 7.96% (0.07965) | 91.77th | v4 (v2025.03.14) |
| Dec 27, 2025 | 3.85% (0.03852) | 87.89th | v4 (v2025.03.14) |
| Nov 12, 2025 | 8.11% (0.08106) | 91.78th | v4 (v2025.03.14) |
| Oct 28, 2025 | 3.79% (0.03792) | 87.56th | v4 (v2025.03.14) |
| Oct 27, 2025 | 2.06% (0.02064) | 83.33th | v4 (v2025.03.14) |
| Oct 1, 2025 | 3.79% (0.03792) | 87.66th | v4 (v2025.03.14) |
| Mar 30, 2025 | 2.44% (0.02443) | 83.75th | v4 (v2025.03.14) |
| Mar 29, 2025 | 6.20% (0.06204) | 84.36th | v4 (v2025.03.14) |
| Mar 17, 2025 | 2.44% (0.02443) | 84.09th | v4 (v2025.03.14) |
| Dec 12, 2024 | 0.74% (0.00737) | 81.49th | v3 (v2023.03.01) |
| Feb 22, 2024 | 0.86% (0.00857) | 81.77th | v3 (v2023.03.01) |
| Feb 8, 2024 | 0.76% (0.00761) | 80.56th | v3 (v2023.03.01) |
| Mar 7, 2023 | 0.76% (0.00761) | 78.31th | v3 (v2023.03.01) |
| Mar 6, 2023 | 2.69% (0.02686) | 82.85th | v2 (v2022.01.01) |
| Feb 4, 2022 | 2.69% (0.02686) | 62.66th | v2 (v2022.01.01) |
| Feb 3, 2022 | 3.28% (0.03281) | 66.54th | v5 (v2026.06.15) |
| Apr 14, 2021 | 3.28% (0.03281) | 0.00th | v1 |
References (20)
- http://www.securityfocus.com/bid/106168 vdb-entryx_refsource_BIDThird Party AdvisoryVDB Entry
- https://access.redhat.com/errata/RHSA-2018:3831 vendor-advisoryx_refsource_REDHATThird Party Advisory
- https://access.redhat.com/errata/RHSA-2018:3833 vendor-advisoryx_refsource_REDHATThird Party Advisory
- https://access.redhat.com/errata/RHSA-2019:0159 vendor-advisoryx_refsource_REDHATThird Party Advisory
- https://access.redhat.com/errata/RHSA-2019:0160 vendor-advisoryx_refsource_REDHATThird Party Advisory
- https://access.redhat.com/security/cve/CVE-2018-18498 Vendor Advisory
- https://bugzilla.mozilla.org/show_bug.cgi?id=1500011 x_refsource_CONFIRMIssue TrackingPermissions RequiredVendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=1658402 Issue Tracking
- https://lists.debian.org/debian-lts-announce/2018/12/msg00002.html mailing-listx_refsource_MLISTMailing ListThird Party Advisory
- https://nvd.nist.gov/vuln/detail/CVE-2018-18498
- https://security.gentoo.org/glsa/201903-04 vendor-advisoryx_refsource_GENTOOThird Party Advisory
- https://usn.ubuntu.com/3844-1/ vendor-advisoryx_refsource_UBUNTUThird Party Advisory
- https://usn.ubuntu.com/3868-1/ vendor-advisoryx_refsource_UBUNTUThird Party Advisory
- https://www.cve.org/CVERecord?id=CVE-2018-18498
- https://www.debian.org/security/2018/dsa-4354 vendor-advisoryx_refsource_DEBIANThird Party Advisory
- https://www.debian.org/security/2019/dsa-4362 vendor-advisoryx_refsource_DEBIANThird Party Advisory
- https://www.mozilla.org/en-US/security/advisories/mfsa2018-30/#CVE-2018-18498
- https://www.mozilla.org/security/advisories/mfsa2018-29/ x_refsource_CONFIRMVendor Advisory
- https://www.mozilla.org/security/advisories/mfsa2018-30/ x_refsource_CONFIRMVendor Advisory
- https://www.mozilla.org/security/advisories/mfsa2018-31/ x_refsource_CONFIRMVendor Advisory
Change history (0)
No recorded changes yet.