{
  "id": "CVE-2025-7624",
  "url": "https://patchtonight.com/cve/CVE-2025-7624/",
  "page": "analysis",
  "vendor": "Sophos",
  "product": "Sophos Firewall (legacy SMTP proxy)",
  "title": "Sophos Firewall SQL injection to RCE in the legacy SMTP proxy",
  "summary": "An SQL injection in the legacy transparent SMTP proxy of Sophos Firewall can give unauthenticated code execution, but only on upgraded devices with an email quarantine policy. Sophos has seen no exploitation, it isn't in CISA KEV, and no public PoC was 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.10514,
    "percentile": 0.95876,
    "date": "2026-12-02"
  },
  "publicExploit": false,
  "patchAvailable": true,
  "affected": [
    {
      "branch": "Sophos Firewall 21.5 GA (21.5.0) and older, only with an active email quarantine policy and an upgrade from a version older than 21.0 GA",
      "fixedIn": "Hotfix for your version (automatic by default), or 21.0 MR2 (21.0.2) or later"
    }
  ],
  "vendorAdvisory": {
    "id": "sophos-sa-20250721-sfos-rce",
    "url": "https://www.sophos.com/en-us/security-advisories/sophos-sa-20250721-sfos-rce"
  },
  "cwe": "CWE-89 Improper Neutralization of Special Elements used in an SQL Command ('SQL 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 CVE-2025-7624",
      "url": "https://cveawg.mitre.org/api/cve/CVE-2025-7624"
    }
  ],
  "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."
}