SecurityContext

CVE-2025-40908: YAML-LibYAML Perl - Data Tampering

  • Cve: CVE-2025-40908
  • Name: YAML-LibYAML Perl - Data Tampering
  • Description: YAML-LibYAML prior to 0.903.0 for Perl uses 2-args open, allowing existing files to be modified
  • Impact: Attackers can modify existing files, potentially leading to data tampering or system compromise.
  • Remediation: Update to version 0.903.0 or later.
  • Vulnerability impact: data_tampering
  • Requirement type: none
  • Labels source: projectdiscovery
  • Severity: critical
  • Cvss score: 9.1
  • Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
  • Epss score: 0.00472
  • Epss percentile: 0.41621
  • Assignee: 9b29abf9-4ab0-4765-b253-1875cd9b441e
  • Published at: 2025-06-01T14:15:21Z
  • Age in days: 541
  • Modified at: 2026-06-17T09:22:16Z
  • Patch available: yes
  • Public exploits total: 1
  • References total: 3
  • Products total: 1
  • Oss: yes
  • Projects total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2025-40908
  • Nvd status: analyzed
  • Checked, none or zero: known exploited entries, nuclei templates, public exploits capped, rejected by nvd
  • Not known: vulnerability type, requirements, hackerone

Cwe

IdName
CWE-552Files or Directories Accessible to External Parties

Public exploits

UrlSourceAdded date
https://github.com/ingydotnet/yaml-libyaml-pm/issues/120nvd2025-06-01

References

Same in every row:

  • Source: nvd
UrlTags
https://github.com/ingydotnet/yaml-libyaml-pm/pull/121Issue Tracking, Patch
https://github.com/ingydotnet/yaml-libyaml-pm/pull/122Issue Tracking, Patch
https://github.com/ingydotnet/yaml-libyaml-pm/issues/120Exploit, Issue Tracking

Products

ProductAffectedPlatform boundSourcesUrl
ingydotnet:yaml-libyaml< 0.903.0nonvd/v1/products/ingydotnet/yaml-libyaml

Projects

RepositoryLink kindsIndexedUrl
ingydotnet/yaml-libyaml-pmissues, pullyes/v1/repositories/ingydotnet/yaml-libyaml-pm

Index

  • Checked, none or zero: repositories, repositories high signal, packages

Exploitation

  • Public exploit: yes
  • Public exploit count: 1
  • Public exploit first date: 2025-06-01
  • Remote: yes
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access, authentication required
  • Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports, exposed hosts