{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.2",
    "cveMetadata": {
        "cveId": "CVE-2026-124290",
        "assignerOrgId": "9b29abf9-4ab0-4765-b253-1875cd9b441e",
        "state": "PUBLISHED",
        "assignerShortName": "CPANSec",
        "dateReserved": "2026-11-07T11:58:41.381Z",
        "datePublished": "2026-11-29T23:28:18.277Z",
        "dateUpdated": "2026-12-03T21:38:09.295Z"
    },
    "containers": {
        "cna": {
            "affected": [
                {
                    "collectionURL": "https://cpan.org/modules",
                    "defaultStatus": "unaffected",
                    "modules": [
                        "Net::Server"
                    ],
                    "packageName": "Net-Server",
                    "packageURL": "pkg:cpan/Net-Server",
                    "programFiles": [
                        "lib/Net/Server/Proto/TCP.pm",
                        "lib/Net/Server/Proto/UNIX.pm",
                        "lib/Net/Server/Proto/SSL.pm",
                        "lib/Net/Server/INET.pm"
                    ],
                    "programRoutines": [
                        {
                            "name": "Net::Server::Proto::TCP::read_until"
                        },
                        {
                            "name": "Net::Server::Proto::UNIX::read_until"
                        },
                        {
                            "name": "Net::Server::Proto::SSL::read_until"
                        },
                        {
                            "name": "Net::Server::INET::read_until"
                        }
                    ],
                    "repo": "https://github.com/rhandom/perl-net-server",
                    "versions": [
                        {
                            "lessThanOrEqual": "2.018",
                            "status": "affected",
                            "version": "0",
                            "versionType": "custom"
                        }
                    ]
                }
            ],
            "descriptions": [
                {
                    "lang": "en",
                    "value": "Net::Server versions through 2.018 for Perl allow CPU exhaustion via a read_until loop that keeps reading after the client disconnects.\n\nread_until reads one byte per iteration and leaves the loop only once it has the requested number of bytes or a match for the end pattern. Nothing checks the return value of read(), so once the peer has closed the connection every read returns 0 and the loop spins at full CPU. The TCP, UNIX and SSL protocol classes and Net::Server::INET share this loop. The SSLEAY protocol class is not affected.\n\nNet::Server::HTTP reads every request header through read_until, so a client that connects and closes before ending its headers holds a worker at full CPU until timeout_header (15 seconds by default) fires. A stream of such short-lived connections keeps every worker busy. Other callers of read_until without their own timeout spin indefinitely."
                }
            ],
            "problemTypes": [
                {
                    "descriptions": [
                        {
                            "cweId": "CWE-835",
                            "description": "CWE-835 Loop with Unreachable Exit Condition ('Infinite Loop')",
                            "lang": "en",
                            "type": "CWE"
                        }
                    ]
                }
            ],
            "providerMetadata": {
                "orgId": "9b29abf9-4ab0-4765-b253-1875cd9b441e",
                "shortName": "CPANSec",
                "dateUpdated": "2026-11-29T23:28:18.277Z"
            },
            "references": [
                {
                    "tags": [
                        "technical-description"
                    ],
                    "url": "https://metacpan.org/release/BBB/Net-Server-2.018/source/lib/Net/Server/Proto/TCP.pm"
                },
                {
                    "tags": [
                        "technical-description"
                    ],
                    "url": "https://metacpan.org/release/BBB/Net-Server-2.018/source/lib/Net/Server/HTTP.pm"
                },
                {
                    "tags": [
                        "patch"
                    ],
                    "url": "https://security.metacpan.org/patches/N/Net-Server/2.018/CVE-2026-124290-r1.patch"
                }
            ],
            "source": {
                "discovery": "UNKNOWN"
            },
            "title": "Net::Server versions through 2.018 for Perl allow CPU exhaustion via a read_until loop that keeps reading after the client disconnects",
            "workarounds": [
                {
                    "lang": "en",
                    "value": "No fixed release is available. Apply the patch. For deployments that cannot apply the patch, run Net::Server::HTTP and Net::Server::PSGI behind a reverse proxy that forwards only complete requests, and set an alarm around other calls to read_until."
                }
            ],
            "x_generator": {
                "engine": "cpansec-cna-tool 0.1"
            }
        },
        "adp": [
            {
                "metrics": [
                    {
                        "cvssV3_1": {
                            "scope": "UNCHANGED",
                            "version": "3.1",
                            "baseScore": 5.9,
                            "attackVector": "NETWORK",
                            "baseSeverity": "MEDIUM",
                            "vectorString": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H",
                            "integrityImpact": "NONE",
                            "userInteraction": "NONE",
                            "attackComplexity": "HIGH",
                            "availabilityImpact": "HIGH",
                            "privilegesRequired": "NONE",
                            "confidentialityImpact": "NONE"
                        }
                    },
                    {
                        "other": {
                            "type": "ssvc",
                            "content": {
                                "timestamp": "2026-12-03T21:37:40.534493Z",
                                "id": "CVE-2026-124290",
                                "options": [
                                    {
                                        "Exploitation": "none"
                                    },
                                    {
                                        "Automatable": "no"
                                    },
                                    {
                                        "Technical Impact": "partial"
                                    }
                                ],
                                "role": "CISA Coordinator",
                                "version": "2.0.3"
                            }
                        }
                    }
                ],
                "title": "CISA ADP Vulnrichment",
                "providerMetadata": {
                    "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
                    "shortName": "CISA-ADP",
                    "dateUpdated": "2026-12-03T21:38:09.295Z"
                }
            }
        ]
    }
}