Opensaml2: The OpenSAML C++ library before 3.3.1 allows forging of signed SAML messages via parameter manipulation
Affects opensaml2Source GCVE Database
Not known to be exploited · CVSS 4.0 Medium · fixed in 2.5.5-1ubuntu0.1+esm1 : update opensaml2 when convenient.
Data as of 24 Nov 2026, 21:15 UTC
- EPSS
- 0.2% chance of exploitation in 30 days – higher than 15% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- Patch
- Available – fixed in 2.5.5-1ubuntu0.1+esm1, 2.6.1-1ubuntu0.1~esm1, 3.0.1-1ubuntu0.1 +2
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:N/I:L/A:NExploitation evidence
Disclosed: evidence found.
CVE published 28 Mar 2025
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 24 Nov 2026.
What to do
Upgrade to a fixed release listed under Affected software.
Patches and advisories
Affected software
| Product | Affected | Fixed in |
|---|---|---|
Ubuntu 24.04 LTSopensamlpkg:deb/ubuntu/opensaml?arch=source&distro=nobleOther threats | Affected
| Fixed in
|
Ubuntu 22.04 LTSopensamlpkg:deb/ubuntu/opensaml?arch=source&distro=jammyOther threats | Affected
| Fixed in
|
Ubuntu 20.04 LTSopensamlpkg:deb/ubuntu/opensaml?arch=source&distro=focalOther threats | Affected
| Fixed in
|
Ubuntu Pro 18.04 LTSopensaml2pkg:deb/ubuntu/opensaml2?arch=source&distro=esm-apps/bionicOther threats | Affected
| Fixed in
|
Ubuntu Pro 16.04 LTSopensaml2pkg:deb/ubuntu/opensaml2?arch=source&distro=esm-apps/xenialOther threats | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
Description
The OpenSAML C++ library before 3.3.1 allows forging of signed SAML messages via parameter manipulation (when using SAML bindings that rely on non-XML signatures).
References
- ubuntu.com/security/CVE-2025-31335 (opens in a new tab)
- cve.org/CVERecord?id=CVE-2025-31335 (opens in a new tab)
- shibboleth.net/community/advisories/secadv_20250313.txt (opens in a new tab)
- git.shibboleth.net/view/?p=cpp-opensaml.git;a=commit;h=22a610b322e2178abd03e97cdbc8fb50b45efaee (opens in a new tab)
- lists.debian.org/debian-security-announce/2025/msg00041.html (opens in a new tab)
- shibboleth.atlassian.net/browse/CPPOST-126 (opens in a new tab)
- ubuntu.com/security/notices/USN-7364-1 (opens in a new tab)