{ "document": { "aggregate_severity": { "text": "high" }, "category": "csaf_security_advisory", "csaf_version": "2.0", "distribution": { "tlp": { "label": "WHITE", "url": "https://www.first.org/tlp/" } }, "lang": "en", "notes": [ { "category": "description", "text": "Net::IDN::Punycode versions from 2.301 before 2.590 for Perl allow a heap use-after-free via a decoded code point that reallocates the output buffer in decode_punycode.\n\nThe XS backend inserts each decoded code point into the string buffer of the scalar it returns. decode_punycode computes the insertion pointer first and only then grows the buffer when the code point does not fit. The growth reallocates the buffer and updates every pointer except the insertion pointer, so the move that follows and the write of the code point go through a freed pointer. The buffer starts at twice the label length, and a code point above U+FFFF takes four bytes in the output, so a label of such code points outgrows it and forces the reallocation.\n\nVersion 2.301, the fix for CVE-2016-15059, introduced the defect. Only the XS backend is affected.\n\nDecoding an attacker-supplied punycode label reads and writes freed heap memory.", "title": "Vulnerability Description" } ], "publisher": { "category": "other", "contact_details": "gdt@cpan.org", "name": "giterlizzi", "namespace": "https://github.com/giterlizzi/" }, "references": [ { "category": "self", "summary": "CPANSA-Net-IDN-Encode-2026-74766 JSON", "url": "https://raw.githubusercontent.com/giterlizzi/perl-CPANSA-CSAF/develop/csaf/white/2026/cpansa-net-idn-encode-2026-74766.json" }, { "category": "external", "summary": "https://github.com/robrwo/Net-IDN-Encode/commit/259e74c5739175b063c5393a4ce4a0705678ba61.patch", "url": "https://github.com/robrwo/Net-IDN-Encode/commit/259e74c5739175b063c5393a4ce4a0705678ba61.patch" }, { "category": "external", "summary": "https://github.com/robrwo/Net-IDN-Encode/commit/2fbc71e4d8517ab65c5d5d35fda086371b735a3f.patch", "url": "https://github.com/robrwo/Net-IDN-Encode/commit/2fbc71e4d8517ab65c5d5d35fda086371b735a3f.patch" }, { "category": "external", "summary": "https://metacpan.org/release/PJCJ/Net-IDN-Encode-2.590-TRIAL/changes", "url": "https://metacpan.org/release/PJCJ/Net-IDN-Encode-2.590-TRIAL/changes" }, { "category": "external", "summary": "https://www.cve.org/CVERecord?id=CVE-2016-15059", "url": "https://www.cve.org/CVERecord?id=CVE-2016-15059" }, { "category": "external", "summary": "CVE-2026-74766 (NVD)", "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-74766" } ], "title": "Net-IDN-Encode vulnerability", "tracking": { "current_release_date": "2026-09-22T00:00:00", "generator": { "engine": { "name": "CSAF Perl Toolkit", "version": "0.26" } }, "id": "CPANSA-Net-IDN-Encode-2026-74766", "initial_release_date": "2026-09-22T00:00:00", "revision_history": [ { "date": "2026-09-22T00:00:00", "number": "1", "summary": "First release" } ], "status": "final", "version": "1" } }, "product_tree": { "branches": [ { "branches": [ { "category": "product_version_range", "name": "vers:cpan/>=2.301|<2.590", "product": { "name": "Net-IDN-Encode greater than or equal 2.301 and less than 2.590", "product_id": "CSAFPID-0001", "product_identification_helper": { "purl": "pkg:cpan/Net-IDN-Encode" } } }, { "category": "product_version_range", "name": "vers:cpan/>=2.590", "product": { "name": "Net-IDN-Encode greater than or equal 2.590", "product_id": "CSAFPID-0002", "product_identification_helper": { "purl": "pkg:cpan/Net-IDN-Encode" } } } ], "category": "product_name", "name": "Net-IDN-Encode" } ] }, "vulnerabilities": [ { "cve": "CVE-2026-74766", "cwe": { "id": "CWE-416", "name": "Use After Free" }, "notes": [ { "category": "description", "text": "Net::IDN::Punycode versions from 2.301 before 2.590 for Perl allow a heap use-after-free via a decoded code point that reallocates the output buffer in decode_punycode.\n\nThe XS backend inserts each decoded code point into the string buffer of the scalar it returns. decode_punycode computes the insertion pointer first and only then grows the buffer when the code point does not fit. The growth reallocates the buffer and updates every pointer except the insertion pointer, so the move that follows and the write of the code point go through a freed pointer. The buffer starts at twice the label length, and a code point above U+FFFF takes four bytes in the output, so a label of such code points outgrows it and forces the reallocation.\n\nVersion 2.301, the fix for CVE-2016-15059, introduced the defect. Only the XS backend is affected.\n\nDecoding an attacker-supplied punycode label reads and writes freed heap memory.", "title": "Vulnerability Description" } ], "product_status": { "fixed": [ "CSAFPID-0002" ], "known_affected": [ "CSAFPID-0001" ] }, "scores": [ { "cvss_v3": { "baseScore": 8.4, "baseSeverity": "HIGH", "vectorString": "CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H", "version": "3.1" }, "products": [ "CSAFPID-0001" ] } ] } ] }