CVE-2018-16151
In verify_emsa_pkcs1_signature() in gmp_rsa_public_key.c in the gmp plugin in strongSwan 4.x and 5.x before 5.7.0, the RSA implementation based on GMP does not reject excess data after the encoded
02 Description
In verify_emsa_pkcs1_signature() in gmp_rsa_public_key.c in the gmp plugin in strongSwan 4.x and 5.x before 5.7.0, the RSA implementation based on GMP does not reject excess data after the encoded
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.
- EPSS probability
- 1.88% probability of exploitation activity in the next 30 days.
- EPSS percentile
- Equal to or higher than the score of 79.1% 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.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
- NVD analysis status
- Modified. NVD last modified this record on 2026-06-17.
- Red Hat severity
- Moderate. Red Hat's rating for its own products, not a CVSS rating.
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
- 2018-09-26 21:00Z8 YR AGO
- Last updated
- 2025-12-03 20:26Z10 MO AGO
- Reserved
- 2018-08-29
- 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:H/A:N
- Weaknesses
- Data version
- 5.2
- Document digest
- 61ea48d48e975eeeb0b24e62d618793b30169fac335a79d349216bc9dff48b65
05 Affected products
06 References
- www.debian.orgDSA-4305https://www.debian.org/security/2018/dsa-4305
- security.gentoo.orgGLSA-201811-16https://security.gentoo.org/glsa/201811-16
- www.strongswan.orghttps://www.strongswan.org/blog/2018/09/24/strongswan-vulnerability-%28cve-2018-16151%2C-cve-2018-16152%29.html
- lists.debian.org[debian-lts-announce] 20180926 [SECURITY] [DLA 1522-1] strongswan security updatehttps://lists.debian.org/debian-lts-announce/2018/09/msg00032.html
- usn.ubuntu.comUSN-3771-1https://usn.ubuntu.com/3771-1/
- lists.opensuse.orgopenSUSE-SU-2019:2594http://lists.opensuse.org/opensuse-security-announce/2019-11/msg00077.html
- lists.opensuse.orgopenSUSE-SU-2019:2598http://lists.opensuse.org/opensuse-security-announce/2019-12/msg00001.html
- lists.opensuse.orgopenSUSE-SU-2020:0403http://lists.opensuse.org/opensuse-security-announce/2020-03/msg00047.html
07 Fixed in
Arch Linux
- strongswan Fixed in 5.7.0-1
Source: Arch Linux Security Tracker, the Arch Linux security team. Reformatted by exploit.cc.
Debian 12
- strongswan Fixed in 5.7.0-1
Source: Debian Security Tracker, the Debian security team. Received through OSV.dev. Reformatted by exploit.cc.
Debian 13
- strongswan Fixed in 5.7.0-1
Source: Debian Security Tracker, the Debian security team. Received through OSV.dev. Reformatted by exploit.cc.
Debian 14
- strongswan Fixed in 5.7.0-1
Source: Debian Security Tracker, the Debian security team. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu 14.04 LTS
- strongswan Fixed in 5.1.2-0ubuntu2.10
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu 16.04 LTS
- strongswan Fixed in 5.3.5-1ubuntu3.7
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu 18.04 LTS
- strongswan Fixed in 5.6.2-1ubuntu2.2
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.