{
  "id": "CVE-2025-6704",
  "url": "https://patchtonight.com/cve/CVE-2025-6704/",
  "page": "analysis",
  "vendor": "Sophos",
  "product": "Sophos Firewall Secure PDF eXchange (SPX)",
  "title": "Sophos Firewall SPX file write leads to pre-auth RCE",
  "summary": "An arbitrary file write in Sophos Firewall's Secure PDF eXchange (SPX) feature can give unauthenticated code execution, but only with a specific SPX setup on a High Availability pair. Fixed by hotfix since June 2025; no exploitation or public PoC found.",
  "published": "2025-07-21",
  "updated": "2026-10-23",
  "severity": "CRITICAL",
  "cvss": {
    "version": "3.1",
    "score": 9.8,
    "vector": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
  },
  "exploited": {
    "cisaKev": false,
    "dateAdded": null,
    "dueDate": null,
    "ransomware": false
  },
  "epss": {
    "score": 0.11772,
    "percentile": 0.96176,
    "date": "2026-12-02"
  },
  "publicExploit": false,
  "patchAvailable": true,
  "affected": [
    {
      "branch": "Sophos Firewall 21.5 GA (21.5.0) and older, with SPX configured and High Availability (HA) enabled",
      "fixedIn": "Hotfix for your version (see the table in \"What to do\"), or 21.0 MR2 (21.0.2) and later"
    }
  ],
  "vendorAdvisory": {
    "id": "sophos-sa-20250721-sfos-rce",
    "url": "https://www.sophos.com/en-us/security-advisories/sophos-sa-20250721-sfos-rce"
  },
  "cwe": "CWE-78 Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')",
  "iocs": null,
  "sources": [
    {
      "label": "Sophos advisory sophos-sa-20250721-sfos-rce",
      "url": "https://www.sophos.com/en-us/security-advisories/sophos-sa-20250721-sfos-rce"
    },
    {
      "label": "CVE record",
      "url": "https://cveawg.mitre.org/api/cve/CVE-2025-6704"
    },
    {
      "label": "SOCRadar CVE Radar (no IOCs listed)",
      "url": "https://socradar.io/free-tools/cve-radar/CVE-2025-6704"
    }
  ],
  "attribution": "Data from PatchTonight (https://patchtonight.com), compiled from vendor advisories, CISA KEV and FIRST EPSS. Please credit PatchTonight and link to the CVE page when you use it."
}