CVE-2026-44167: Phpseclib Asn1 Oid Length Bypass

The ASN.1 parser restricts Object Identifier (OID) lengths to an unsafe size (e.g. 4096 bytes). This is insufficient to prevent CPU exhaustion on malformed data. The limit should be strictly tightened to 128 bytes.

Provally CuratedPublic repositoryHighMedium confidenceVerifiedApache-2.0PHP
greprules fetch cve-2026-44167-phpseclib-asn1-oid-length-bypass --engine opengrep

Description

The ASN.1 parser restricts Object Identifier (OID) lengths to an unsafe size (e.g. 4096 bytes). This is insufficient to prevent CPU exhaustion on malformed data. The limit should be strictly tightened to 128 bytes.