Skip to main content
CVE-2025-40908VulnerabilityPublished Updated

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

Affects libyaml-libyaml-perlSource GCVE Database

0
Compare
Authoritative record:CVE-2025-40908· Critical 9.1

Not known to be exploited · CVSS 9.1 Critical · fixed in 0.83+ds-1ubuntu0.22.04.1 : patch libyaml-libyaml-perl as a priority.

Data as of 24 Nov 2026, 21:15 UTC

CVSS 3.1 base score
9.1Critical
How severe the flaw is on the 0–10 CVSS scale.

Contested

Critical score, yet low EPSS after six months
EPSS
0.4% chance of exploitation in 30 days – higher than 41% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
Patch
Available – fixed in 0.83+ds-1ubuntu0.22.04.1, 0.89+ds-1ubuntu0.24.04.1
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 1 Jun 2025

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 24 Nov 2026.

What to do

Upgrade the Ubuntu libyaml-libyaml-perl to 0.83+ds-1ubuntu0.22.04.1 (package) or 0.89+ds-1ubuntu0.24.04.1 (package).

Affected software

ProductAffectedFixed in
Ubuntu 24.04 LTSlibyaml-libyaml-perlpkg:deb/ubuntu/libyaml-libyaml-perl?arch=source&distro=nobleOther threatsAffected
  • <0.89+ds-1ubuntu0.24.04.1
Fixed in
  • 0.89+ds-1ubuntu0.24.04.1
Ubuntu 22.04 LTSlibyaml-libyaml-perlpkg:deb/ubuntu/libyaml-libyaml-perl?arch=source&distro=jammyOther threatsAffected
  • <0.83+ds-1ubuntu0.22.04.1
Fixed in
  • 0.83+ds-1ubuntu0.22.04.1
Ubuntu 20.04 LTSlibyaml-libyaml-perlpkg:deb/ubuntu/libyaml-libyaml-perl?arch=source&distro=focalOther threatsAffected
  • 0.80+repack-1 – 0.81+repack-1
4 affected builds
Fixed in–
Ubuntu 18.04 LTSlibyaml-libyaml-perlpkg:deb/ubuntu/libyaml-libyaml-perl?arch=source&distro=bionicOther threatsAffected
  • =0.63-2build1
  • =0.69+repack-1
Fixed in–
Ubuntu 16.04 LTSlibyaml-libyaml-perlpkg:deb/ubuntu/libyaml-libyaml-perl?arch=source&distro=xenialOther threatsAffected
  • =0.41-6
  • =0.41-6build1
Fixed in–

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

Description

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

References

Community reviews

Loading reviews…