← Back to CVE Explorer

CVE-2025-49655

Full vulnerability record from the local CVENow database.

Description

Deserialization of untrusted data can occur in versions of the Keras framework running versions 3.11.0 up to but not including 3.11.3, enabling a maliciously uploaded Keras file containing a TorchModuleWrapper class to run arbitrary code on an end user’s system when loaded despite safe mode being enabled. The vulnerability can be triggered through both local and remote files.

Severity
CRITICAL
CVSS score
9.8 (v3.1)
Vulnerability status
Deferred
Source identifier
6f8de1f0-f67e-45a6-b68f-98777fdb759c
Published
2025-10-17 16:15:37.420000
Last modified
2026-10-19 16:10:00.260000
View original CVE JSON
{
  "id": "CVE-2025-49655",
  "sourceIdentifier": "6f8de1f0-f67e-45a6-b68f-98777fdb759c",
  "published": "2025-10-17T16:15:37.420",
  "lastModified": "2026-10-19T16:10:00.260",
  "vulnStatus": "Deferred",
  "cveTags": [],
  "descriptions": [
    {
      "lang": "en",
      "value": "Deserialization of untrusted data can occur in versions of the Keras framework running versions 3.11.0 up to but not including 3.11.3, enabling a maliciously uploaded Keras file containing a TorchModuleWrapper class to run arbitrary code on an end user’s system when loaded despite safe mode being enabled. The vulnerability can be triggered through both local and remote files."
    },
    {
      "lang": "es",
      "value": "La deserialización de datos no confiables puede ocurrir en versiones del framework Keras que ejecutan versiones 3.11.0 hasta la 3.11.3 (sin incluir esta última), permitiendo que un archivo Keras cargado maliciosamente que contiene una clase 'TorchModuleWrapper' ejecute código arbitrario en el sistema de un usuario final al cargarse, a pesar de que el modo seguro esté habilitado. La vulnerabilidad puede activarse a través de archivos tanto locales como remotos."
    }
  ],
  "affected": [
    {
      "source": "6f8de1f0-f67e-45a6-b68f-98777fdb759c",
      "affectedData": [
        {
          "vendor": "Keras",
          "product": "Keras",
          "defaultStatus": "unaffected",
          "repo": "https://github.com/keras-team/keras",
          "versions": [
            {
              "version": "3.11.0",
              "lessThan": "3.11.3",
              "versionType": "semver",
              "status": "affected"
            }
          ]
        }
      ]
    }
  ],
  "metrics": {
    "cvssMetricV31": [
      {
        "source": "6f8de1f0-f67e-45a6-b68f-98777fdb759c",
        "type": "Secondary",
        "cvssData": {
          "version": "3.1",
          "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H",
          "baseScore": 9.8,
          "baseSeverity": "CRITICAL",
          "attackVector": "NETWORK",
          "attackComplexity": "LOW",
          "privilegesRequired": "NONE",
          "userInteraction": "NONE",
          "scope": "UNCHANGED",
          "confidentialityImpact": "HIGH",
          "integrityImpact": "HIGH",
          "availabilityImpact": "HIGH"
        },
        "exploitabilityScore": 3.9,
        "impactScore": 5.9
      }
    ],
    "ssvcV203": [
      {
        "source": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
        "ssvcData": {
          "timestamp": "2025-10-17T15:57:54.529745Z",
          "id": "CVE-2025-49655",
          "options": [
            {
              "exploitation": "poc"
            },
            {
              "automatable": "yes"
            },
            {
              "technicalImpact": "total"
            }
          ],
          "role": "CISA Coordinator",
          "version": "2.0.3"
        }
      }
    ]
  },
  "weaknesses": [
    {
      "source": "6f8de1f0-f67e-45a6-b68f-98777fdb759c",
      "type": "Secondary",
      "description": [
        {
          "lang": "en",
          "value": "CWE-502"
        }
      ]
    }
  ],
  "references": [
    {
      "url": "https://github.com/keras-team/keras/pull/21575",
      "source": "6f8de1f0-f67e-45a6-b68f-98777fdb759c"
    },
    {
      "url": "https://hiddenlayer.com/sai_security_advisor/2025-10-keras/",
      "source": "6f8de1f0-f67e-45a6-b68f-98777fdb759c"
    }
  ]
}