synced 4 MIN AGO
01 Record

CVE-2024-27354

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

HighPUBLISHEDCNA: mitre
CNA base score7.5 CVSS v3.xCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

02 Description

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

03 Exploitation and scoring

Exploitation
Assessed, none found. CISA's assessment recorded neither public exploit code nor evidence of exploitation when it was made.
SSVC decision
  • ExploitationnoneCISA recorded no public exploit code and no evidence of exploitation.
  • AutomatableyesAn attacker can reliably automate reconnaissance through exploitation, so this scales.
  • Technical ImpactpartialSuccessful exploitation gives limited control of the vulnerable component.
CISA publishes the decision points, not a final SSVC decision. The decision also depends on mission and well-being impact, which is a property of your deployment rather than of the vulnerability.
EPSS probability
0.60% probability of exploitation activity in the next 30 days.
EPSS percentile
Equal to or higher than the score of 48.5% of scored records. A rank, not a probability.
NVD base score
7.5 (CVSS v3.x), scored by the NVD independently of the CNA.
NVD CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
NVD analysis status
Analyzed. NVD last modified this record on 2026-06-17.
Red Hat severity
No Red Hat rating. Red Hat rates the CVEs that affect its products.

Exploit-prediction scores from FIRST. Independent scoring and analysis status from the NVD. Vendor severity from Red Hat. Exploitation assessment and catalog membership from CISA.

04 Metadata

Published
2024-03-01 00:00Z2 YR AGO
Last updated
2025-04-22 15:44Z1 YR AGO
Reserved
2024-02-25
Assigning CNA
mitre
Record state
PUBLISHED
Severity
High (CVSS 7.5)
CNA CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Weaknesses
  • CWE-400Uncontrolled Resource ConsumptionClass
Data version
5.1
Document digest
1a64a3eedb8f25ef5a3bbe942f44903614d29e975b98de898955da8cd886658b

05 Affected products

VendorProductVersionsPlatforms
phpseclib1x0 to < 1.0.23—
phpseclib2x0 to < 2.0.47—
phpseclib3x0 to < 3.0.36—

06 References

07 Fixed in

Debian 12

  • php-phpseclib
    Fixed in 2.0.42-1+deb12u2
  • php-phpseclib3
    Fixed in 3.0.19-1+deb12u3
  • phpseclib
    Fixed in 1.0.20-1+deb12u2

Source: Debian Security Tracker, the Debian security team. Received through OSV.dev. Reformatted by exploit.cc.

Debian 13

  • php-phpseclib
    Fixed in 2.0.47-1
  • php-phpseclib3
    Fixed in 3.0.36-1
  • phpseclib
    Fixed in 1.0.23-1

Source: Debian Security Tracker, the Debian security team. Received through OSV.dev. Reformatted by exploit.cc.

Debian 14

  • php-phpseclib
    Fixed in 2.0.47-1
  • php-phpseclib3
    Fixed in 3.0.36-1

Source: Debian Security Tracker, the Debian security team. Received through OSV.dev. Reformatted by exploit.cc.

Ubuntu 22.04 LTS

  • phpseclib
    Fixed in 1.0.20-1+deb12u3build0.22.04.1

Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.

Ubuntu Pro 16.04 LTS

  • php-phpseclib
    Fixed in 2.0.1-1ubuntu0.1~esm2
    Available with Ubuntu Pro: https://ubuntu.com/pro
  • phpseclib
    Fixed in 1.0.1-3ubuntu0.1+esm1
    Available with Ubuntu Pro: https://ubuntu.com/pro

Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.

Ubuntu Pro 18.04 LTS

  • php-phpseclib
    Fixed in 2.0.9-1ubuntu0.1~esm2
    Available with Ubuntu Pro: https://ubuntu.com/pro
  • phpseclib
    Fixed in 1.0.9-1ubuntu0.1~esm1
    Available with Ubuntu Pro: https://ubuntu.com/pro

Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.

Ubuntu Pro 20.04 LTS

  • php-phpseclib
    Fixed in 2.0.23-2ubuntu0.1~esm2
    Available with Ubuntu Pro: https://ubuntu.com/pro
  • phpseclib
    Fixed in 1.0.18-2ubuntu0.1~esm1
    Available with Ubuntu Pro: https://ubuntu.com/pro

Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.

Ubuntu Pro 22.04 LTS

  • php-phpseclib
    Fixed in 2.0.36-1ubuntu0.1~esm2
    Available with Ubuntu Pro: https://ubuntu.com/pro
  • php-phpseclib3
    Fixed in 3.0.13-1ubuntu0.1~esm1
    Available with Ubuntu Pro: https://ubuntu.com/pro
  • phpseclib
    Fixed in 1.0.20-1ubuntu0.1~esm1
    Available with Ubuntu Pro: https://ubuntu.com/pro

Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.

A release or ecosystem missing from this list has no record here. It may be unaffected or not covered by the source. Source notices and licences.