{"id":"CVE-2026-13713","summary":"YAML::Syck versions before 1.47 for Perl allow a use-after-free and double-free via an anchor node freed while still on the parser value stack","details":"YAML::Syck versions before 1.47 for Perl allow a use-after-free and double-free via an anchor node freed while still on the parser value stack.\n\nIn the bundled libsyck, when an anchor name is redefined or removed, syck_hdlr_add_anchor and syck_hdlr_remove_anchor free the node stored under that name with syck_free_node. That node can still be live on the parser's value stack, so syck_hdlr_add_node reaches it again and frees it a second time. On a normal build the 48-byte node chunk is freed twice and the interpreter aborts. Anchors need no special flags, so this is reached on the default Load path, and a 7-byte document that redefines an anchor triggers it.\n\nAny caller that runs Load or LoadFile on an untrusted document that redefines an anchor mid-parse crashes the interpreter, a denial of service.","modified":"2026-10-28T02:30:35.345224833Z","published":"2026-07-16T21:35:31.477Z","related":["ALSA-2026:67269","openSUSE-SU-2026:11299-1","openSUSE-SU-2026:21497-1"],"database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/13xxx/CVE-2026-13713.json","cna_assigner":"CPANSec","cwe_ids":["CWE-415","CWE-416"]},"references":[{"type":"WEB","url":"http://www.openwall.com/lists/oss-security/2026/07/17/1"},{"type":"WEB","url":"https://cpan.org/modules"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/13xxx/CVE-2026-13713.json"},{"type":"ADVISORY","url":"https://metacpan.org/release/TODDR/YAML-Syck-1.47/changes"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-13713"},{"type":"FIX","url":"https://github.com/toddr/YAML-Syck/commit/44c90a109ec3215ee7ce747bd11209835e123d8b.patch"},{"type":"PACKAGE","url":"https://github.com/toddr/YAML-Syck"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/cpan-authors/YAML-Syck","events":[{"introduced":"0"},{"fixed":"d7f942870d2f57b17dd5db1b3714eff448c34cd6"}],"database_specific":{"extracted_events":[{"source":"AFFECTED_FIELD","strategy":"StandardRange","range":[{"introduced":"0"},{"fixed":"1.47"}]},{"range":[{"fixed":"44c90a109ec3215ee7ce747bd11209835e123d8b"}],"source":"REFERENCES_COMMIT"}]}}],"versions":["1.46","1.45","1.44","1.43","1.42","1.41","1.39","1.38","1.37","1.37_01","1.36","1.35","1.34","1.33","1.32","1.31","1.30","1.30_01","1.29_01","1.28","1.28_01","1.27","1.26","1.24_02","1.24_01","1.23","1.22","1.21_01","1.20","1.15","1.14","1.13","1.12","1.11","1.10_07","1.10_06","1.10_05","1.10_04","1.10_03","1.10_02","1.10_01","1.10","1.09","1.08_01","1.08","1.07_01","1.07","1.05","1.04","1.03","1.02","1.01","1.00","0.99","0.98","0.97","0.96","0.95","0.94","0.91","0.90","0.88","0.87","0.86","0.85","0.84","0.82","0.81","0.80","0.72","0.71","0.70","0.67","0.66","0.65","0.64","0.63","0.62","0.61","0.60","0.46_01","0.45","0.44","0.43","0.42","0.41","0.40","0.38","0.37","0.36","0.35","0.34","0.33","0.32","0.31","0.30","0.29","0.28","0.27","0.26","0.25","0.24","0.23","0.22","0.21","0.20","0.19","0.18","0.17","0.16","0.15","0.14","0.13","0.12","0.11","0.10","0.09","0.08","0.07","0.06","0.05","0.04","0.03","0.02","0.01"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-13713.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"}]}