CVE-2024-27354

EUVD-2024-0936
An issue was discovered in phpseclib 1.x before 1.0.23, 2.x before 2.0.47, and 3.x before 3.0.36. An attacker can construct a malformed certificate containing an extremely large prime to cause a denial of service (CPU consumption for an isPrime primality check). NOTE: this issue was introduced when attempting to fix CVE-2023-27560.
ProviderTypeBase ScoreAtk. VectorAtk. ComplexityPriv. RequiredVector
NISTPrimary
7.5 HIGH
NETWORK
LOW
NONE
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
CISA-ADPADP
7.5 HIGH
NETWORK
LOW
NONE
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Base Score
CVSS 3.x
EPSS Score
Percentile: 35%
Affected Products (NVD)
VendorProductVersion
phpseclibphpseclib
1.0.0 ≤
𝑥
< 1.0.23
phpseclibphpseclib
2.0.0 ≤
𝑥
< 2.0.47
phpseclibphpseclib
3.0.0 ≤
𝑥
< 3.0.36
debiandebian_linux
10.0
𝑥
= Vulnerable software versions
Debian logo
Debian Releases
Debian Product
Codename
php-phpseclib
bookworm
2.0.42-1+deb12u2
fixed
bookworm (security)
vulnerable
bullseye
2.0.30-2+deb11u2
fixed
bullseye (security)
vulnerable
forky
2.0.50-1
fixed
sid
2.0.50-1
fixed
trixie
2.0.48-3
fixed
php-phpseclib3
bookworm
3.0.19-1+deb12u3
fixed
bookworm (security)
vulnerable
forky
3.0.48-1
fixed
sid
3.0.48-1
fixed
trixie
3.0.43-2
fixed
phpseclib
bookworm
1.0.20-1+deb12u2
fixed
bookworm (security)
vulnerable
bullseye
1.0.19-3+deb11u2
fixed
bullseye (security)
vulnerable
sid
1.0.24-1
fixed
trixie
1.0.23-6
fixed
Ubuntu logo
Ubuntu Releases
Ubuntu Product
Codename
php-phpseclib
bionic
Fixed 2.0.9-1ubuntu0.1~esm2
released
focal
Fixed 2.0.23-2ubuntu0.1~esm2
released
jammy
Fixed 2.0.36-1ubuntu0.1~esm2
released
mantic
ignored
noble
not-affected
oracular
not-affected
plucky
not-affected
questing
not-affected
trusty
dne
xenial
Fixed 2.0.1-1ubuntu0.1~esm2
released
php-phpseclib3
bionic
dne
focal
dne
jammy
Fixed 3.0.13-1ubuntu0.1~esm1
released
mantic
ignored
noble
not-affected
oracular
not-affected
plucky
not-affected
questing
not-affected
trusty
dne
xenial
dne
phpseclib
bionic
Fixed 1.0.9-1ubuntu0.1~esm1
released
focal
Fixed 1.0.18-2ubuntu0.1~esm1
released
jammy
Fixed 1.0.20-1ubuntu0.1~esm1
released
mantic
ignored
noble
not-affected
oracular
not-affected
plucky
not-affected
questing
not-affected
trusty
ignored
xenial
Fixed 1.0.1-3ubuntu0.1+esm1
released