Read the docs
TI-2023-29213 Aliases CVE-2023-52892GHSA-ff7q-6vwh-v9m4

In phpseclib before 1.0.22, 2.x before 2.0.46, and 3.x before 3.0.33, some characters in…

Priority MEDIUM 41CWE-436Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
None
Attack complexity
Low
Impact type
—
Confidentiality · integrity · availability
High · None · None
Fix status
Fixed

Attack profile from CVSS 3.1 · CISA ADP. Fix status from CNA and GitHub.

Summary

In phpseclib before 1.0.22, 2.x before 2.0.46, and 3.x before 3.0.33, some characters in Subject Alternative Name fields in TLS certificates are incorrectly allowed to have a special meaning in regular expressions (such as a + wildcard), leading to name confusion in X.509 certificate host verification.

Why it matters now

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.00376 31st percentileScored 2026-11-07
Public exploit Yes 1 exploit referenceTagged by NVD
Fix Fixed phpseclib/phpseclib (Packagist): 1.0.22, 2.0.46, 3.0.33

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
None
Automatable
Yes
Technical impact
Total

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
——all versions—No fix listedCNA
—phpseclib/phpseclib (Packagist)before 1.0.221.0.22Patch availableGHSA-ff7q-6vwh-v9m4
—phpseclib/phpseclib (Packagist)2.0.0 to before 2.0.462.0.46Patch availableGHSA-ff7q-6vwh-v9m4
—phpseclib/phpseclib (Packagist)3.0.0 to before 3.0.333.0.33Patch availableGHSA-ff7q-6vwh-v9m4
  • — Vendor— Affected all versions Fixed in — No fix listed CNA
  • phpseclib/phpseclib (Packagist) Vendor— Affected before 1.0.22 Fixed in 1.0.22 Patch available GHSA-ff7q-6vwh-v9m4
  • phpseclib/phpseclib (Packagist) Vendor— Affected 2.0.0 to before 2.0.46 Fixed in 2.0.46 Patch available GHSA-ff7q-6vwh-v9m4
  • phpseclib/phpseclib (Packagist) Vendor— Affected 3.0.0 to before 3.0.33 Fixed in 3.0.33 Patch available GHSA-ff7q-6vwh-v9m4

CPE configurations NVD · 1

CPEVersionsRoleVendor
cpe:2.3:a:phpseclib:phpseclib:*:*:*:*:*:*:*:*1.0.0 to before 1.0.22; 2.0.0 to before 2.0.46; 3.0.0 to before 3.0.33Vulnerablephpseclib
  • cpe:2.3:a:phpseclib:phpseclib:*:*:*:*:*:*:*:* Versions 1.0.0 to before 1.0.22; 2.0.0 to before 2.0.46; 3.0.0 to before 3.0.33 Vulnerable ·phpseclib

Remediation

  • Fix · GHSA-ff7q-6vwh-v9m4 phpseclib/phpseclib (Packagist) Fixed in 1.0.22 Advisory →
  • Fix · GHSA-ff7q-6vwh-v9m4 phpseclib/phpseclib (Packagist) Fixed in 2.0.46 Advisory →
  • Fix · GHSA-ff7q-6vwh-v9m4 phpseclib/phpseclib (Packagist) Fixed in 3.0.33 Advisory →

Vendor assessments

Red Hat

Red Hat's page for this CVE →

Not affected: 1 product
  • Red Hat

Timeline

  1. 2026-10-02 Threatist record created from CVE-2023-52892
  2. 2026-10-03 Alias added: GHSA-ff7q-6vwh-v9m4

References

  • TI-2026-40135 Server-side request forgery in phpseclib CVSS 3.1MEDIUM 5.8
  • TI-2026-29008 phpseclib has a variable-time HMAC comparison in SSH2::get_binary_packet() using != instead of hash_equals() CVSS 3.1LOW 3.7
  • TI-2024-18192 An issue was discovered in phpseclib 1.x before 1.0.23, 2.x before 2.0.47, and 3.x before… CVSS 3.1HIGH 7.5
  • TI-2024-18191 An issue was discovered in phpseclib 1.x before 1.0.23, 2.x before 2.0.47, and 3.x before… CVSS 3.1HIGH 7.5
  • TI-2023-12272 Math/PrimeField.php in phpseclib 3.x before 3.0.19 has an infinite loop with composite primefields. CVSS 3.1HIGH 7.5
  • TI-2026-25383 phpseclib's AES-CBC unpadding susceptible to padding oracle timing attack CVSS 4.0HIGH 8.2
See all 8 →

Sources