{ "document": { "aggregate_severity": { "text": "critical" }, "category": "csaf_security_advisory", "csaf_version": "2.0", "distribution": { "tlp": { "label": "WHITE", "url": "https://www.first.org/tlp/" } }, "lang": "en", "notes": [ { "category": "description", "text": "Data::SortedSet::Shared versions before 0.03 for Perl allow an out-of-bounds read via unvalidated node indices in the rank and min/max query paths.\n\nThe attach-time validator ss_validate_header bounds only the root index against the node pool (node_capacity). The order-statistics and min/max queries then follow children[], leftmost and rightmost node indices read raw from the mmap'd segment without bounding them against node_capacity. A full structural check (ss_validate_tree) exists but runs only via an explicit validate method, not on attach.\n\nA local peer that can write the backing file can leave the header valid while poisoning the tree links, so the next rank, min or max query dereferences an out-of-bounds node index, reading adjacent memory or crashing the process.", "title": "Vulnerability Description" } ], "publisher": { "category": "other", "contact_details": "gdt@cpan.org", "name": "giterlizzi", "namespace": "https://github.com/giterlizzi/" }, "references": [ { "category": "self", "summary": "CPANSA-Data-SortedSet-Shared-2026-59140 JSON", "url": "https://raw.githubusercontent.com/giterlizzi/perl-CPANSA-CSAF/develop/csaf/white/2026/cpansa-data-sortedset-shared-2026-59140.json" }, { "category": "external", "summary": "https://metacpan.org/release/EGOR/Data-SortedSet-Shared-0.03/changes", "url": "https://metacpan.org/release/EGOR/Data-SortedSet-Shared-0.03/changes" }, { "category": "external", "summary": "https://metacpan.org/release/EGOR/Data-SortedSet-Shared-0.03/diff/EGOR/Data-SortedSet-Shared-0.02#sortedset.h", "url": "https://metacpan.org/release/EGOR/Data-SortedSet-Shared-0.03/diff/EGOR/Data-SortedSet-Shared-0.02#sortedset.h" }, { "category": "external", "summary": "CVE-2026-59140 (NVD)", "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-59140" } ], "title": "Data-SortedSet-Shared vulnerability", "tracking": { "current_release_date": "2026-07-21T00:00:00", "generator": { "engine": { "name": "CSAF Perl Toolkit", "version": "0.26" } }, "id": "CPANSA-Data-SortedSet-Shared-2026-59140", "initial_release_date": "2026-07-21T00:00:00", "revision_history": [ { "date": "2026-07-21T00:00:00", "number": "1", "summary": "First release" } ], "status": "final", "version": "1" } }, "product_tree": { "branches": [ { "branches": [ { "category": "product_version_range", "name": "vers:cpan/<0.03", "product": { "name": "Data-SortedSet-Shared less than 0.03", "product_id": "CSAFPID-0001", "product_identification_helper": { "purl": "pkg:cpan/Data-SortedSet-Shared" } } }, { "category": "product_version_range", "name": "vers:cpan/>=0.03", "product": { "name": "Data-SortedSet-Shared greater than or equal 0.03", "product_id": "CSAFPID-0002", "product_identification_helper": { "purl": "pkg:cpan/Data-SortedSet-Shared" } } } ], "category": "product_name", "name": "Data-SortedSet-Shared" } ] }, "vulnerabilities": [ { "cve": "CVE-2026-59140", "cwe": { "id": "CWE-125", "name": "Out-of-bounds Read" }, "notes": [ { "category": "description", "text": "Data::SortedSet::Shared versions before 0.03 for Perl allow an out-of-bounds read via unvalidated node indices in the rank and min/max query paths.\n\nThe attach-time validator ss_validate_header bounds only the root index against the node pool (node_capacity). The order-statistics and min/max queries then follow children[], leftmost and rightmost node indices read raw from the mmap'd segment without bounding them against node_capacity. A full structural check (ss_validate_tree) exists but runs only via an explicit validate method, not on attach.\n\nA local peer that can write the backing file can leave the header valid while poisoning the tree links, so the next rank, min or max query dereferences an out-of-bounds node index, reading adjacent memory or crashing the process.", "title": "Vulnerability Description" } ], "product_status": { "fixed": [ "CSAFPID-0002" ], "known_affected": [ "CSAFPID-0001" ] }, "scores": [ { "cvss_v3": { "baseScore": 9.1, "baseSeverity": "CRITICAL", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H", "version": "3.1" }, "products": [ "CSAFPID-0001" ] } ] } ] }