# CVE-2021-31826: Shibboleth Service Provider 3.x before 3.2.2 is prone to a NULL pointer dereference flaw involving the session recovery feature.

- Severity: High 7.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 2.00%, higher than 81% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2021-04-27T03:33:47.000Z
- Modified: 2026-06-17T03:52:18.150Z
- Weaknesses: CWE-476
- Assigned by: mitre

## Description

Shibboleth Service Provider 3.x before 3.2.2 is prone to a NULL pointer dereference flaw involving the session recovery feature. The flaw is exploitable (for a daemon crash) on systems not using this feature if a crafted cookie is supplied.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- shibboleth service_provider: from 3.0.0 before 3.2.2

## Every score

- NVD: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- NVD: CVSS:2.0 5.0 Medium `AV:N/AC:L/Au:N/C:N/I:N/A:P`

## References

- <https://issues.shibboleth.net/jira/browse/SSPCPP-927> (exploit, patch, vendor-advisory)
- <https://shibboleth.net/community/advisories/secadv_20210426.txt> (vendor-advisory)
- <https://git.shibboleth.net/view/?p=cpp-sp.git%3Ba=commit%3Bh=5a47c3b9378f4c49392dd4d15189b70956f9f2ec>
- <https://bugs.debian.org/987608> (mailing-list, third-party-advisory)
- <https://www.debian.org/security/2021/dsa-4905> (third-party-advisory, vendor-advisory)

## Sources

- CVE List: [CVE-2021-31826](https://www.cve.org/CVERecord?id=CVE-2021-31826), CVE Terms of Use, modified 2024-08-03
- NVD: [CVE-2021-31826](https://nvd.nist.gov/vuln/detail/CVE-2021-31826), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2021-31826 · Whole record: https://cve.day/CVE-2021-31826.json · Rebuilt by cve.day 2026-11-25T22:58:01.054Z
