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
| Id | Name |
|---|---|
| CWE-552 | Files or Directories Accessible to External Parties |
Public exploits
| Url | Source | Added date |
|---|---|---|
| https://github.com/ingydotnet/yaml-libyaml-pm/issues/120 | nvd | 2025-06-01 |
References
Same in every row:
- Source: nvd
| Url | Tags |
|---|---|
| https://github.com/ingydotnet/yaml-libyaml-pm/pull/121 | Issue Tracking, Patch |
| https://github.com/ingydotnet/yaml-libyaml-pm/pull/122 | Issue Tracking, Patch |
| https://github.com/ingydotnet/yaml-libyaml-pm/issues/120 | Exploit, Issue Tracking |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| ingydotnet:yaml-libyaml | < 0.903.0 | no | nvd | /v1/products/ingydotnet/yaml-libyaml |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| ingydotnet/yaml-libyaml-pm | issues, pull | yes | /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