CVE-2025-7624: An SQL injection vulnerability in the legacy (transparent) SMTP proxy of Sophos Firewall versions older than 21.0 MR2 (21.0.2) can lead t…

CVE-2025-7624 affects 40 listed versions of Sophos SFOS in the Dawnsentry catalogue.

9.8CVSS critical
None knownexploitation
11%EPSS (next 30 days)
21 July 2025published

Affected products and versions

The versions in the Dawnsentry catalogue this CVE affects, judged from the vendor's own advisory where there is one, otherwise from the CVE record and NVD, as each version's own page says.

Sophos SFOS

40 of 43 listed versions are affected. Fixed in 21.0.2. The newest release, 23.0, is not affected.

21.5 21.0.1 21.0 20.0.3 20.0.0 20.0 19.5.4 19.5.3 19.5 19.0.1 19.0 18.5.3 18.5.2 18.5-mr1-1 18.5-mr1 18.5 18.0 17.5-maintenance_release11 17.5-maintenance_release10 17.5-maintenance_release9 17.5-maintenance_release8 17.5-maintenance_release7 17.5-maintenance_release6 17.5-maintenance_release5 17.5-maintenance_release4 17.5-maintenance_release3 17.5-maintenance_release2 17.5-maintenance_release1 17.5 17.1-maintenance_release1 17.1 17.0.8-mr8 17.0-mr3 17.0-mr2 17.0-mr1 17.0 16.5 16.0 2.5 2.0

What it is

An SQL injection vulnerability in the legacy (transparent) SMTP proxy of Sophos Firewall versions older than 21.0 MR2 (21.0.2) can lead to remote code execution, if a quarantining policy is active for Email and SFOS was upgraded from a version older than 21.0 GA.

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H (Sophos)

Published by Sophos on 21 July 2025. Last changed 17 June 2026.

Sources

Check one version you run: look CVE-2025-7624 up, or pick a product and version in the quick lookup.

Updated 2 December 2026.