# SimpleSAMLphp SAML2 library Regular Expression Denial of Service vulnerability

Advisory record · `GHSA-hhm8-2j4g-mpgg`

- **Identifiers:** `GHSA-hhm8-2j4g-mpgg` · `CVE-2018-6519` · `PKSA-zg8j-dc1q-jp8v`
- **State:** Confirmed
- **Severity:** CVSS 7.5 High
- **Critical:** No
- **Weakness (CWE):** [CWE-74](https://cwe.mitre.org/data/definitions/74.html)
- **Tags:** [Other injection](https://agentprime.io/advisories/tag/injection.md)
- **Published:** 14 May 2022
- **Updated:** 25 Apr 2024
- **Reviewed by a person:** No

Published by the GitHub Advisory Database at 14 May 2022, 02:57 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

## Affected packages

- `simplesamlphp/saml2` (Packagist): affected `<1.10.4 || >=2.0, <2.3.5 || >=3.0, <3.1.1`; fixed in `1.10.4`, `2.3.5`, `3.1.1`

## Machine-written summary

Summary written by Claude Haiku from the source advisory. Not reviewed by a person.

> The simplesamlphp/saml2 package, versions before 1.10.4, from 2.0 before 2.3.5, and from 3.0 before 3.1.1, is vulnerable to a regular expression denial of service triggered by fraction-of-seconds data in a timestamp. The source gives few details about how the input is delivered or what access is required. Upgrade to version 1.10.4, 2.3.5, or 3.1.1, depending on your release line.

Written 4 Nov 2026.

## Not analysed yet

We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.

## Severity and exploitation

- 7.5 High, CVSS 3.0: `CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`, from GitHub Advisory Database

- **CISA KEV:** Not listed.
- **EPSS:** 0.017, the 77th percentile, on 19 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

## Timeline

- 31 Oct 2026, 14:30 UTC: First seen by agentprime
- 31 Oct 2026, 14:30 UTC: [Confirmed by OSV](https://osv.dev/vulnerability/GHSA-hhm8-2j4g-mpgg)

## Sources

- [GitHub Advisory Database: GHSA-hhm8-2j4g-mpgg](https://github.com/advisories/GHSA-hhm8-2j4g-mpgg)
- [OSV: GHSA-hhm8-2j4g-mpgg](https://osv.dev/vulnerability/GHSA-hhm8-2j4g-mpgg)
- <https://nvd.nist.gov/vuln/detail/CVE-2018-6519>
- <https://github.com/FriendsOfPHP/security-advisories/blob/master/simplesamlphp/saml2/CVE-2018-6519.yaml>
- <https://github.com/simplesamlphp/simplesamlphp>
- <https://simplesamlphp.org/security/201801-01>
- <https://www.debian.org/security/2018/dsa-4127>

Facts on this page come from the GitHub Advisory Database (CC-BY 4.0), OSV and the other sources listed, as published. We don’t reproduce full advisory descriptions, which can contain exploit code.

## Check whether this affects you

A Match means an installed version is in the affected range above. Most don’t affect the app; agentprime hasn’t analysed this one yet.

- With the agentprime MCP server (<https://api.agentprime.io/mcp>), ask your agent to check the project: `check_lockfile` sends a lockfile, `check_packages` a list of installed packages, and both return the Matches and the upgrades that clear them. `get_advisory` returns this record. Setup: <https://agentprime.io/mcp.md>
- In a browser: <https://agentprime.io/check/> reads your lockfile in the browser, never uploading it.
- Whether it touches your code, with file and line: the Claude Code plugin, <https://agentprime.io/plugin.md>
- As JSON: <https://api.agentprime.io/v1/advisories/GHSA-hhm8-2j4g-mpgg>, or `POST https://api.agentprime.io/v1/match` with your packages (<https://agentprime.io/api.md>)

---

The web page: <https://agentprime.io/advisories/GHSA-hhm8-2j4g-mpgg/>. Everything for agents: <https://agentprime.io/llms.txt>.
