{
  "id": "CVE-2025-40908",
  "url": "https://poc.griffinguard.io/cve/CVE-2025-40908",
  "published_at": "2025-06-01T13:41:48.168Z",
  "title": "YAML-LibYAML prior to 0.903.0 for Perl uses 2-args open, allowing existing files to be modified",
  "vendor": "TINITA",
  "product": "YAML::LibYAML",
  "cvss": {
    "score": 9.1,
    "source": "cisa-adp",
    "vector": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": null,
  "poc_repo_count": 0,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "description": "YAML-LibYAML prior to 0.903.0 for Perl uses 2-args open, allowing existing files to be modified",
  "cwe": "CWE-552",
  "cpes": [
    "cpe:2.3:a:ingydotnet:yaml-libyaml:*:*:*:*:*:perl:*:*"
  ],
  "cvss_by_source": {
    "cisa-adp": 9.1
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "TINITA",
        "product": "YAML::LibYAML",
        "ranges": [
          "\u003c 0.903.0"
        ],
        "fixed_in": [
          "0.903.0"
        ]
      }
    ],
    "upgrade": [
      "Upgrade YAML::LibYAML to 0.903.0 or later."
    ],
    "references": [
      {
        "kind": "Patch",
        "url": "https://github.com/ingydotnet/yaml-libyaml-pm/pull/121"
      },
      {
        "kind": "Patch",
        "url": "https://github.com/ingydotnet/yaml-libyaml-pm/pull/122"
      }
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
