Skip to content
OpenAdvisories
High · 7.5 CVE-2023-49316 EUVD-2023-2993GHSA-2f25-pfq3-c7h8GHSA-jpr7-q523-hx25

Phpseclib needs guardrails on large binaryfield integers

Published Nov 27, 2023 · Updated Aug 2, 2024 · Assigned by mitre

Description

In Math/BinaryField.php in phpseclib 3 before 3.0.34, excessively large degrees can lead to a denial of service.

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 php-phpseclib3 3.0.34-1 —
Debian 13 php-phpseclib3 3.0.34-1 —
Debian 12 php-phpseclib3 3.0.19-1+deb12u1 —
ReleasePackageFixed inAdvisory
Ubuntu 24.04 LTS php-phpseclib3 No fix yet —
Show 1 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu Pro 22.04 LTS php-phpseclib3 No fix yet —

Affected packages

EcosystemPackageAffectedFixedRecord
Packagist phpseclib/phpseclib >= 3.0.0, < 3.0.34 3.0.34 GHSA-2f25-pfq3-c7h8

References