KeygraphLabs · CVE MCP

CVE-2018-7644 · mitre

CVE-2018-7644

The XmlSecLibs library as used in the saml2 library in SimpleSAMLphp before 1.15.3 incorrectly verifies signatures on SAML assertions, allowing a remote attacker to construct a crafted SAML assertion on behalf of an Identity Provider that would pass as cryptographically valid, thereby allowing them to impersonate a user from that Identity Provider, aka a key confusion issue.

Published 2018-03-05, last changed 2026-06-17. Weakness: CWE-347.

CVSS
7.5
high, from NVD
EPSS
1.45%
percentile 74.3%, chance of exploitation in 30 days
Exploitation
None known
no KEV listing or public exploit in our indexes

How to fix

Upgrade to a fixed version: simplesamlphp/saml2 1.10.5, 2.3.7, 3.1.3 (Packagist) (each is the fix for its own release line). For the version that clears every advisory for your installed version, ask an agent for get_remediation.

Where the flaw is in the code

Fixed in simplesamlphp/simplesamlphp by 1cba486764. The fix changed source code, but no function could be located in it. Confidence: inferred (code changed near the fix, but no record names this exact commit as the fix).

Timeline

2018-03-05Published
2022-05-13Package advisory GHSA-923w-2xv2-7pr8
2026-06-17Record last changed
2026-11-30EPSS when our history starts: 1.45%
2026-12-03Code-level analysis added

Affected packages

AdvisoryPackageFixed in
GHSA-923w-2xv2-7pr8simplesamlphp/saml2 (Packagist)1.10.5
GHSA-923w-2xv2-7pr8simplesamlphp/saml2 (Packagist)2.3.7
GHSA-923w-2xv2-7pr8simplesamlphp/saml2 (Packagist)3.1.3

Also known as: GHSA-923w-2xv2-7pr8

Related

CVEPublishedCVSSSummary
CVE-2026-1107822026-11-178.7SAML2: Incomplete fix of CVE-2026-49283: unsigned embedded Response bypasses HTTP-Artifact signature verification (no embedded-Issuer binding)
CVE-2026-492892026-08-197.5SimpleSAMLphp SAML2: Possible DoS via XPath Transform
CVE-2026-492832026-08-198.7SimpleSAMLphp HTTP-Artifact TLS validator confusion allows cross-IdP authentication bypass
CVE-2025-277732025-03-118.6SimpleSAMLphp SAML2 library has incorrect signature verification for HTTP-Redirect binding
CVE-2024-528062024-12-028.3SimpleSAMLphp SAML2 has an XXE in parsing SAML messages
CVE-2023-490872023-11-307.5Validation of SignedInfo
CVE-2018-77112018-03-058.1same package: simplesamlphp/saml2 (Packagist)
CVE-2018-65192018-02-027.5same package: simplesamlphp/saml2 (Packagist)

Add it to your agent

One command for Claude Code; setup for Claude Desktop, Cursor and others. No signup or key.

claude mcp add --transport http keygraph-cve https://cve-mcp.keygraph.io/mcp

Then ask for triage_cve CVE-2018-7644, or call /api/v1/vulnerabilities/CVE-2018-7644. To prove whether it is exploitable in your running app, run Shannon, Keygraph's open-source AI pentester.

NVD · CVE.org