CVE-2023-52892 Affecting php-phpseclib package, versions <2.0.36-1ubuntu0.1~esm2


Severity

Recommended
medium

Based on Ubuntu security rating.

Threat Intelligence

EPSS
0.38% (30th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-UBUNTU2204-PHPPHPSECLIB-7414032
  • published28 Mar 2025
  • disclosed27 Jun 2024

Introduced: 27 Jun 2024

CVE-2023-52892  (opens in a new tab)

How to fix?

Upgrade Ubuntu:22.04 php-phpseclib to version 2.0.36-1ubuntu0.1~esm2 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream php-phpseclib package and not the php-phpseclib package as distributed by Ubuntu. See How to fix? for Ubuntu:22.04 relevant fixed versions and status.

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.