RHSA-2026:93471: Important: perl-YAML:1.24 security update
he perl-YAML package provides the pure-Perl implementation of the YAML (YAML Ain't Markup Language) data serialization standard. It allows developers to serialize Perl data structures into formatted YAML text and deserialize YAML data back into native Perl structures, making it widely used for configuration files, data exchange, and human-readable data storage in Perl applications.Security Fix(es): perl-yaml: perl-yaml: Arbitrary code execution via unrestricted package variable assignment (CVE-2019-25777) perl-yaml: perl-yaml: Arbitrary destructor method execution via crafted YAML document (CVE-2017-20285) For more details about the security issue(s), including the impact, a CVSS score, acknowledgments, and other related information, refer to the CVE page(s) listed in the References section.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
perl-YAMLto a version that resolves this vulnerability.Fixed in 1.24
Event History
Frequently Asked Questions
Which applications are exposed to these issues?
Perl applications that use perl-YAML to deserialize YAML documents are exposed. The package is commonly used to process configuration files, data exchange data, and human-readable data storage.
What does an attacker need to exploit these vulnerabilities?
An attacker needs to cause a vulnerable application to deserialize a crafted YAML document. The reported impacts include unrestricted package variable assignment leading to arbitrary code execution and crafted YAML triggering arbitrary destructor method execution.
How can I determine whether my environment may be affected?
Identify systems with the perl-YAML package installed and determine whether their Perl applications deserialize YAML from attacker-controlled or otherwise untrusted sources. The advisory identifies CVE-2019-25777 and CVE-2017-20285 as addressed by this update.