Bug 1226345

Summary: VUL-0: CVE-2024-35325: perl-YAML-LibYAML: libyaml: double-free in yaml_event_delete in /src/libyaml/src/api.c
Product: [Novell Products] SUSE Security Incidents Reporter: Camila Camargo de Matos <camila.matos>
Component: IncidentsAssignee: Petr Gajdos <pgajdos>
Status: NEW --- QA Contact: Security Team bot <security-team>
Severity: Major    
Priority: P3 - Medium CC: camila.matos, security-team, smash_bz
Version: unspecified   
Target Milestone: ---   
Hardware: Other   
OS: Other   
URL: https://smash.suse.de/issue/410664/
Whiteboard:
Found By: Security Response Team Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Bug Depends on:    
Bug Blocks: 1226342    

Description Camila Camargo de Matos 2024-06-14 13:29:46 UTC
+++ This bug was initially created as a clone of Bug #1226342 +++

A vulnerability was found in libyaml up to 0.2.5. Affected by this issue is the function yaml_event_delete of the file /src/libyaml/src/api.c. The manipulation leads to a double-free.

References:
http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2024-35325
https://www.cve.org/CVERecord?id=CVE-2024-35325
https://github.com/idhyt/pocs/blob/main/libyaml/CVE-2024-35325.c
https://bugzilla.redhat.com/show_bug.cgi?id=2292350
Comment 1 Camila Camargo de Matos 2024-06-14 17:27:39 UTC
See bug #1226342 for a reference link which is the upstream GitHub issue where this possible vulnerability is being discussed.
Comment 2 Petr Gajdos 2024-06-20 06:55:53 UTC
Shortcut
https://github.com/yaml/libyaml/issues/297