{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "0"
                  },
                  {
                    "last_affected": "2.018"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandardRange"
              }
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "last_affected": "61518970232f2edbd9d17aee38a42727a8256871"
            }
          ],
          "repo": "https://github.com/rhandom/perl-net-server",
          "type": "GIT"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "CPANSec",
    "cwe_ids": [
      "CWE-835"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/124xxx/CVE-2026-124304.json"
  },
  "details": "Net::Server::Proto::SSLEAY versions through 2.018 for Perl allow a remote client to hold a server process at full CPU by disconnecting, via a getline that returns an empty string instead of undef at end of stream.\n\ngetline ignores the failure status of the underlying read, so once the peer has closed the connection every call returns a defined empty string. STDIN is tied to the client, so a handler that reads with while (\u003cSTDIN\u003e), as the default process_request does, never sees end of file and loops without blocking. The default handler re-arms its 30-second alarm on every pass, so the alarm never fires.\n\nA client that completes a TLS handshake and disconnects keeps one server process busy indefinitely, and repeating this takes every process.",
  "id": "CVE-2026-124304",
  "modified": "2026-11-30T00:45:48.548069529Z",
  "published": "2026-11-29T23:34:00.464Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://cpan.org/modules"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/124xxx/CVE-2026-124304.json"
    },
    {
      "type": "PACKAGE",
      "url": "https://github.com/rhandom/perl-net-server"
    },
    {
      "type": "ARTICLE",
      "url": "https://metacpan.org/release/BBB/Net-Server-2.018/source/lib/Net/Server/Proto/SSLEAY.pm"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-124304"
    },
    {
      "type": "FIX",
      "url": "https://security.metacpan.org/patches/N/Net-Server/2.018/CVE-2026-124304-r1.patch"
    }
  ],
  "schema_version": "1.9.2",
  "summary": "Net::Server::Proto::SSLEAY versions through 2.018 for Perl allow a remote client to hold a server process at full CPU by disconnecting, via a getline that returns an empty string instead of undef at end of stream"
}