Skip to content
VulniPulse
Critical9.8Sophos

CVE-2025-6704: arbitrary file writing vulnerability in the Secure PDF eXchange (SPX) feature of Sophos Firewall versions older than 21.0 MR2

This Sophos advisory covers CVE-2025-6704. Related products: Sophos Firewall.

Open the Sophos advisory

Am I affected by CVE-2025-6704?

The source names the versions below but does not confirm which products they belong to. Check the Sophos advisory before you decide.

Versions namedFixed in
all versions21.0 MR2 (21.0.2)

Official advisory · high-confidence parse· fetched ·verify at source

Key facts

Vendor rating
Critical, CVSS 9.8
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H · base score 9.8, scored by SophosAttack vector: network. Attack complexity: low. Privileges required: none. User interaction: none. Scope: unchanged. Confidentiality impact: high. Integrity impact: high. Availability impact: high.
Weakness
  • CWE-78 Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')
EPSS
11.8% chance of exploitation in the next 30 days (96th percentile). FIRST EPSS, .
CISA SSVC
Exploitation: none observed. Automatable: yes. Technical impact: total. CISA, .
CISA KEV
Not listed (catalogue checked )
Source published
Source revised
Listed by VulniPulse
Record changed

Compiled by VulniPulse from the linked sources. How records are collected and checked.

Related products & platforms

SophosSophos Firewall (XGS/SFOS)

Description

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.

Text from the source record.

How to fix CVE-2025-6704

Upgrade to the first fixed release for your version, shown in the table above.

Vendor guidance

  • Upgrade to a fixed release: 21.0 MR2 (21.0.2) or later.

End-of-life dates for Sophos Firewall (XGS/SFOS)

CVE-2025-6704 questions

Is CVE-2025-6704 being exploited?

CISA does not list it in its Known Exploited Vulnerabilities catalog (checked ), and the Sophos advisory does not report exploitation. That is not proof it is unexploited.

Am I affected by CVE-2025-6704?

The source names the versions below but does not confirm which products they belong to. Check the Sophos advisory before you decide. The table above lists each version.

How do I fix CVE-2025-6704?

Upgrade to a fixed release Sophos lists for your version: 21.0 MR2 (21.0.2). The advisory's own guidance is above.

How likely is CVE-2025-6704 to be exploited?

FIRST's EPSS model gives it a 11.8% chance of exploitation in the next 30 days (96th percentile among scored CVEs, model date ). It is a forecast, not a report of attacks.

How serious is CVE-2025-6704?

Sophos rates it critical, CVSS 9.8 out of 10.

Sophos advisories, July 2025All Sophos advisories

Get an email when Sophos Firewall (XGS/SFOS) publishes the next one.

See Sophos Firewall (XGS/SFOS)'s last 90 days first. Live alerts for one product are free for life; every vendor is US$5 a month with Pro (first month US$1).

Alert me about Sophos Firewall (XGS/SFOS)