Vulnerabilities

Vulnerability · CVE-2025-6704

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

Published Jul 21, 2025 · catalog updated Jul 21, 2025 · Sophos Sophos Firewall

Last checked Oct 26, 2026. A connected source was read within the last 7 days.

Check this week

CVE-2025-6704 is not in CISA KEV. FIRST estimates a 11.77% chance of exploitation in the next 30 days. Check whether you run Sophos Sophos Firewall.

Gaps on this record

  • No vendor fix or required action is stored. Compare the linked advisory before you change production.

Same product and reporting

Severity
Critical9.8
Known exploitation
Not in CISA/VulnCheck KEV
EPSS
11.77%
Remediation
Version ranges on file
Affected products
vendor Sophos Sophos Firewall 0 <21.0 MR2 (21.0.2)

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.

Are you affected?

Enter the version you run. The result uses only the ranges stored on this record.

The check returns affected, not affected, or incomplete. It does not guess a version that is missing from the record.

  • vendor Sophos Sophos Firewall 0 <21.0 MR2 (21.0.2)0 <21.0 MR2 (21.0.2)

How to fix CVE-2025-6704

What to do

Three questions, each answered from this record only. Confirm the vendor advisory before you patch.

Should you patch?

CVE-2025-6704 is not in CISA KEV. FIRST estimates a 11.77% chance of exploitation in the next 30 days. Check whether you run Sophos Sophos Firewall.

Which versions are affected?

Compare what you have installed with Sophos Sophos Firewall 0 <21.0 MR2 (21.0.2) 0 <21.0 MR2 (21.0.2). Compare the installed version with the linked vendor advisory before you change production.

What should an analyst verify?

No weakness class is stored. EPSS 11.77%. There is no CISA KEV listing. No Exploit-DB or Metasploit reference is linked. Use the source links for the original advisory.

Code

The project this record applies to. Exploit listings stay in References.

No public source repository is identified for this product.

Timeline

Detection, updates, and resolution for this record.

  1. Jul 21, 2025 · EUVD

    Detected

    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.

  2. Jul 21, 2025 · EUVD

    Updated

    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.

Sources

  • CVE.orgVulnerability recordCVE-2025-6704

    Official CVE identifier

    cve.org
  • FIRST EPSSExploitation probabilityCVE-2025-6704

    30-day exploitation probability 11.77%

    first.org
  • EUVDVulnerability recordEUVD-2025-22086

    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 Ava

    euvd.enisa.europa.eu

References

Freshness

Last verified in this catalog Oct 26, 2026. Significant claims (KEV, EPSS, CVSS, affected ranges) come from the source rows above — open the original publisher for the authoritative advisory.

  • FIRST EPSSOct 23, 2026
  • CVE.orgOct 21, 2026
  • EUVDOct 21, 2026