CVE record · CVE-2025-40908

YAML-LibYAML prior to 0.903.0 for Perl uses 2-args open, allowing existing files to be modified

CVSS 9.1 CriticalCriticalEPSS 0.0047 · 41st percentile

Critical, because:

  • CVSS score 9.1: 9.0 or more.

How we decide what’s critical

Published by the CVE Program (CNA: CPANSec) at 1 Jun 2025, 13:41 UTC. agentprime has not analysed this yet, so whether it affects any app is not known. This CVE names a vendor and product rather than a package, so the lockfile check doesn’t match it.

Affected products, as the CNA wrote them
VendorProductVersions
TINITA YAML::LibYAML Package name: YAML-LibYAML https://cpan.org/modules
  • affected before 0.903.0 custom
Other versions: unaffected
Identifiers
CVE-2025-40908
CNA
CPANSec
Weakness (CWE)
CWE-552
Published
1 Jun 2025
Updated
2 Jun 2025

Not analysed yet

We haven’t published our own analysis of this CVE. If a person reviews it, this page will say what’s affected and what has to be true for it to matter.

Severity and exploitation

ScoreRatingCVSSVectorSource
9.1 Critical 3.1 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N ADP (CISA-ADP)
  • CISA KEV Not listed.
  • EPSS 0.0047, the 41st percentile, on 17 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

Timeline

This record came from the full history of the CVE Program, published 1 Jun 2025. New records show when each source confirmed them.

Sources

References from the CNA

Facts on this page come from the CVE List as the CNA published them, with CVSS from the sources named above, CISA KEV and FIRST EPSS. Vendors, products and versions are shown as the CNA wrote them. We don’t reproduce the CVE’s description.