{ "document": { "category": "csaf_security_advisory", "csaf_version": "2.0", "distribution": { "tlp": { "label": "WHITE", "url": "https://www.first.org/tlp/" } }, "lang": "en", "notes": [ { "category": "description", "text": "CGI versions before 5.00 for Perl allow an infinite loop on a short request body when $DISABLE_UPLOADS is set.\n\nWhen $CGI::PUTDATA_UPLOAD or an upload hook is set, read_postdata_putdata takes a request body that is not a form submission. With $CGI::DISABLE_UPLOADS set, it discards the body by reading until Content-Length bytes have arrived. Once a body shorter than its Content-Length runs out, every read returns 0, so the loop never ends.\n\nA client can keep a server process spinning with one such request.", "title": "Vulnerability Description" } ], "publisher": { "category": "other", "contact_details": "gdt@cpan.org", "name": "giterlizzi", "namespace": "https://github.com/giterlizzi/" }, "references": [ { "category": "self", "summary": "CPANSA-CGI-2026-120651 JSON", "url": "https://raw.githubusercontent.com/giterlizzi/perl-CPANSA-CSAF/develop/csaf/white/2026/cpansa-cgi-2026-120651.json" }, { "category": "external", "summary": "https://github.com/leejo/CGI.pm/commit/16d9f61acf8b844b7360e8d726338e3ce34dfa9f.patch", "url": "https://github.com/leejo/CGI.pm/commit/16d9f61acf8b844b7360e8d726338e3ce34dfa9f.patch" }, { "category": "external", "summary": "https://github.com/leejo/CGI.pm/commit/8a78305065690461ae283fa24e5ebe4ec8a22fbc.patch", "url": "https://github.com/leejo/CGI.pm/commit/8a78305065690461ae283fa24e5ebe4ec8a22fbc.patch" }, { "category": "external", "summary": "https://metacpan.org/release/LEEJO/CGI-4.72/source/lib/CGI.pm", "url": "https://metacpan.org/release/LEEJO/CGI-4.72/source/lib/CGI.pm" }, { "category": "external", "summary": "https://metacpan.org/release/LEEJO/CGI-5.00/changes", "url": "https://metacpan.org/release/LEEJO/CGI-5.00/changes" }, { "category": "external", "summary": "CVE-2026-120651 (NVD)", "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-120651" } ], "title": "CGI vulnerability", "tracking": { "current_release_date": "2026-11-04T00:00:00", "generator": { "engine": { "name": "CSAF Perl Toolkit", "version": "0.26" } }, "id": "CPANSA-CGI-2026-120651", "initial_release_date": "2026-11-04T00:00:00", "revision_history": [ { "date": "2026-11-04T00:00:00", "number": "1", "summary": "First release" } ], "status": "final", "version": "1" } }, "product_tree": { "branches": [ { "branches": [ { "category": "product_version_range", "name": "vers:cpan/<5.02", "product": { "name": "CGI less than 5.02", "product_id": "CSAFPID-0001", "product_identification_helper": { "purl": "pkg:cpan/CGI" } } }, { "category": "product_version_range", "name": "vers:cpan/>=5.02", "product": { "name": "CGI greater than or equal 5.02", "product_id": "CSAFPID-0002", "product_identification_helper": { "purl": "pkg:cpan/CGI" } } } ], "category": "product_name", "name": "CGI" } ] }, "vulnerabilities": [ { "cve": "CVE-2026-120651", "cwe": { "id": "CWE-835", "name": "Loop with Unreachable Exit Condition ('Infinite Loop')" }, "notes": [ { "category": "description", "text": "CGI versions before 5.00 for Perl allow an infinite loop on a short request body when $DISABLE_UPLOADS is set.\n\nWhen $CGI::PUTDATA_UPLOAD or an upload hook is set, read_postdata_putdata takes a request body that is not a form submission. With $CGI::DISABLE_UPLOADS set, it discards the body by reading until Content-Length bytes have arrived. Once a body shorter than its Content-Length runs out, every read returns 0, so the loop never ends.\n\nA client can keep a server process spinning with one such request.", "title": "Vulnerability Description" } ], "product_status": { "fixed": [ "CSAFPID-0002" ], "known_affected": [ "CSAFPID-0001" ] }, "scores": [ { "cvss_v3": { "baseScore": 7.5, "baseSeverity": "HIGH", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H", "version": "3.1" }, "products": [ "CSAFPID-0001" ] } ] } ] }