Home / Simplesamlphp / Simplesamlphp / CVE-2017-12871
CVE-2017-12871: is it exploited, and which versions of Simplesamlphp are affected and fixed?
CVE-2017-12871 is a weak encryption vulnerability in Simplesamlphp. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 07:08 UTC). Affected: simplesamlphp/simplesamlphp from 1.14.0 before 1.14.12 (GitHub advisory GHSA-ww3w-592j-5qrw). Fixed in 1.14.12 (GitHub advisory GHSA-ww3w-592j-5qrw). Severity: Medium (5.9, CVSS 3.0, from NVD).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 07:08 UTC, CVE record November 19, 2026, 07:18 UTC and NVD November 19, 2026, 08:39 UTC.
What is CVE-2017-12871?
The aesEncrypt method in lib/SimpleSAML/Utils/Crypto.php in SimpleSAMLphp 1.14.x through 1.14.11 makes it easier for context-dependent attackers to bypass the encryption protection mechanism by leveraging use of the first 16 bytes of the secret key as the initialization vector (IV).
From the CVE record by mitre, last updated August 5, 2024, 18:51 UTC.
Which packages are affected, and in which version is each fixed?
| Ecosystem | Package | Affected | Fixed in | Advisory |
|---|---|---|---|---|
| Packagist | simplesamlphp/simplesamlphp | >= 1.14.0, < 1.14.12 | 1.14.12 | GHSA-ww3w-592j-5qrw |
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated April 25, 2024. Summary: SimpleSAMLphp Incorrect IV generation for encryption.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| simplesamlphp | simplesamlphp | 1.14.0 | application |
| simplesamlphp | simplesamlphp | 1.14.1 | application |
| simplesamlphp | simplesamlphp | 1.14.2 | application |
| simplesamlphp | simplesamlphp | 1.14.3 | application |
| simplesamlphp | simplesamlphp | 1.14.4 | application |
| simplesamlphp | simplesamlphp | 1.14.5 | application |
| simplesamlphp | simplesamlphp | 1.14.6 | application |
| simplesamlphp | simplesamlphp | 1.14.7 | application |
| simplesamlphp | simplesamlphp | 1.14.8 | application |
| simplesamlphp | simplesamlphp | 1.14.9 | application |
| simplesamlphp | simplesamlphp | 1.14.10 | application |
| simplesamlphp | simplesamlphp | 1.14.11 | application |
NVD analysis (status Modified), last modified June 17, 2026, 01:04 UTC.
How severe is CVE-2017-12871?
| Score | Version | Vector | Source |
|---|---|---|---|
| Medium 5.9 | CVSS 3.0 | CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N | NVD |
| Medium 4.3 | CVSS 2.0 | AV:N/AC:M/Au:N/C:P/I:N/A:N | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2017-12871 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- EPSS
- 0.49% probability of exploitation activity in the next 30 days, percentile 43.7 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
- CWE-326 Inadequate Encryption Strength
Where are the vendor advisories and references?
- https://simplesamlphp.org/security/201703-02 x_refsource_CONFIRM
- https://github.com/simplesamlphp/simplesamlphp/commit/77df6a932d46daa35e364925eb73a175010dc904 x_refsource_CONFIRM
When was it published, and where is the official record?
- Reserved
- August 15, 2017
- Published
- September 1, 2017, 21:00 UTC
- CVE record updated
- August 5, 2024, 18:51 UTC by mitre
- NVD
- Modified, last modified June 17, 2026, 01:04 UTC
- Last checked
- CVE list November 19, 2026, 07:18 UTC; NVD November 19, 2026, 08:39 UTC; KEV December 3, 2026, 07:08 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
What other CVEs affect Simplesamlphp?
- Jul 17, 2026CVE-2026-49284 simplesamlphp: data authenticity not verified
- Apr 21, 2020CVE-2020-5301 simplesamlphp: information disclosure
- Jan 24, 2020CVE-2020-5226 SimpleSAMLphp: cross-site scripting (XSS)
- Jan 24, 2020CVE-2020-5225 SimpleSAMLphp: sensitive information written to log files
- Nov 6, 2019CVE-2011-4625 simplesamlphp: exceptional condition mishandled
- Mar 5, 2018CVE-2018-7711 Simplesamlphp: cryptographic signature not verified
- Mar 5, 2018CVE-2018-7644 Simplesamlphp: cryptographic signature not verified
- Feb 2, 2018CVE-2017-18122 Simplesamlphp: cryptographic signature not verified
Questions about CVE-2017-12871
Is CVE-2017-12871 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 07:08 UTC. FIRST's EPSS gives it a 0.49% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of Simplesamlphp are affected by CVE-2017-12871?
simplesamlphp/simplesamlphp from 1.14.0 before 1.14.12, per the GitHub advisory GHSA-ww3w-592j-5qrw. The tables above give every range the sources list.
Which version fixes CVE-2017-12871?
1.14.12, per the GitHub advisory GHSA-ww3w-592j-5qrw. Check the vendor's advisory before you rely on it.
How severe is CVE-2017-12871?
Medium (5.9, CVSS 3.0, from NVD). The severity table above shows each score with its source.
Where is the official record of CVE-2017-12871?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.