CVE-2025-6704: An arbitrary file writing vulnerability in the Secure PDF eXchange (SPX) feature of Sophos Firewall versions o
CVE-2025-6704 is a critical-severity flaw (CVSS 9.8) affecting firewall firmware. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
An arbitrary file writing vulnerability in the Secure PDF eXchange (SPX) feature of Sophos Firewall versions older than 21.0 MR2 (21.0.2) can lead to pre-auth remote code execution, if a specific configuration of SPX is enabled in combination with the firewall running in High Availability (HA) mode.
Why this priority
- Critical severity
- EPSS top 4%: very likely to be exploited
- CISA SSVC: automatable with total technical impact
- Remotely exploitable, no login, no user action
A fixed release or distro patch exists.
Risk facts
| CVSS score | 9.8 (Critical) |
| Attack vector | Network (remote) |
| Attack complexity | Low |
| Privileges needed | None |
| User interaction | None |
| EPSS exploit chance | 11.8% (top 4%) |
| CISA exploited list | No |
| Weakness | CWE-78 |
| Published | 2025-07-21 |
| Last modified | 2026-06-17 |
Last updated 2026-06-17 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Exact fixes by distribution
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2025-6704?
firewall firmware: upgrade to 21.0.2. Exact commands for each OS are on this page.
Is CVE-2025-6704 being exploited?
CVE-2025-6704 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2025-6704 affect?
CVE-2025-6704 affects firewall firmware. Severity is critical (CVSS 9.8). An arbitrary file writing vulnerability in the Secure PDF eXchange (SPX) feature of Sophos Firewall versions older than 21.0 MR2 (21.0.2) can lead to pre-auth remote code execution, if a specific configuration of SPX is enabled in combinati
How urgent is CVE-2025-6704?
Priority 66/100. Critical severity; EPSS top 4%: very likely to be exploited; CISA SSVC: automatable with total technical impact; Remotely exploitable, no login, no user action
Software pages
Related CVEs
- CVE-2025-7624 CRITICAL 9.8 UPGRADE An SQL injection vulnerability in the legacy (transparent) SMTP proxy of Sophos Firewall versions older than 2
- CVE-2025-7382 HIGH 8.8 UPGRADE A command injection vulnerability in WebAdmin of Sophos Firewall versions older than 21.0 MR2 (21.0.2) can lea
- CVE-2024-13974 HIGH 8.1 UPGRADE A business logic vulnerability in the Up2Date component of Sophos Firewall older than version 21.0 MR1 (20.0.1
- CVE-2024-13973 MEDIUM 6.8 UPGRADE A post-auth SQL injection vulnerability in WebAdmin of Sophos Firewall versions older than 21.0 MR1 (21.0.1) c
- CVE-2024-12729 HIGH 8.8 UPGRADE A post-auth code injection vulnerability in the User Portal allows authenticated users to execute code remotel