CVEBrief

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.

Exploited in the wild
Not in CISA KEV
KEV 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
Exploit odds (EPSS)
0.49% in 30 days
higher than 44% of CVEs; FIRST, December 2, 2026

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?

EcosystemPackageAffectedFixed inAdvisory
Packagistsimplesamlphp/simplesamlphp>= 1.14.0, < 1.14.121.14.12GHSA-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?

VendorProductVersionsType
simplesamlphpsimplesamlphp1.14.0application
simplesamlphpsimplesamlphp1.14.1application
simplesamlphpsimplesamlphp1.14.2application
simplesamlphpsimplesamlphp1.14.3application
simplesamlphpsimplesamlphp1.14.4application
simplesamlphpsimplesamlphp1.14.5application
simplesamlphpsimplesamlphp1.14.6application
simplesamlphpsimplesamlphp1.14.7application
simplesamlphpsimplesamlphp1.14.8application
simplesamlphpsimplesamlphp1.14.9application
simplesamlphpsimplesamlphp1.14.10application
simplesamlphpsimplesamlphp1.14.11application

NVD analysis (status Modified), last modified June 17, 2026, 01:04 UTC.

How severe is CVE-2017-12871?

ScoreVersionVectorSource
Medium 5.9CVSS 3.0CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:NNVD
Medium 4.3CVSS 2.0AV:N/AC:M/Au:N/C:P/I:N/A:NNVD

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?

Where are the vendor advisories and references?

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?

Every CVE in Simplesamlphp

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.