Home / Apache Software Foundation / Apache POI / CVE-2017-12626
CVE-2017-12626: is it exploited, and which versions of Apache Software Foundation Apache POI are affected and fixed?
CVE-2017-12626 is an infinite loop (denial of service) vulnerability in Apache Software Foundation Apache POI. 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, 08:38 UTC). Affected: org.apache.poi:poi before 3.17 (GitHub advisory GHSA-523c-xh4g-mh5m). Fixed in 3.17 (GitHub advisory GHSA-523c-xh4g-mh5m). Severity: High (7.5, CVSS 3.1, from CISA-ADP).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 08:38 UTC, CVE record November 19, 2026, 07:18 UTC and NVD November 19, 2026, 08:35 UTC.
What is CVE-2017-12626?
Apache POI in versions prior to release 3.17 are vulnerable to Denial of Service Attacks: 1) Infinite Loops while parsing crafted WMF, EMF, MSG and macros (POI bugs 61338 and 61294), and 2) Out of Memory Exceptions while parsing crafted DOC, PPT and XLS (POI bugs 52372 and 61295).
From the CVE record by apache, last updated May 28, 2026, 17:54 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| Apache Software Foundation | Apache POI | < 3.17 |
As the CVE record by apache states it, last updated May 28, 2026. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which packages are affected, and in which version is each fixed?
| Ecosystem | Package | Affected | Fixed in | Advisory |
|---|---|---|---|---|
| Maven | org.apache.poi:poi | < 3.17 | 3.17 | GHSA-523c-xh4g-mh5m |
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated June 9, 2026. Summary: Denial of Service in Apache POI.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| apache | poi | before 3.17 | application |
NVD analysis (status Modified), last modified June 17, 2026, 01:03 UTC.
How severe is CVE-2017-12626?
| Score | Version | Vector | Source |
|---|---|---|---|
| High 7.5 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H | CISA-ADP |
| High 7.5 | CVSS 3.0 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H | NVD |
| Medium 5.0 | CVSS 2.0 | AV:N/AC:L/Au:N/C:N/I:N/A:P | 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-12626 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: none; automatable: yes; technical impact: partial (CISA ADP, May 28, 2026)
- EPSS
- 9.65% probability of exploitation activity in the next 30 days, percentile 95.6 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
- CWE-835 Loop with Unreachable Exit Condition
Where are the vendor advisories and references?
- RHSA-2018:1322 vendor-advisory, x_refsource_REDHAT
- [dev] 20180126 CVE-2017-12626 - Denial of Service Vulnerabilities in Apache POI < 3.17 mailing-list, x_refsource_MLIST
- 102879 vdb-entry, x_refsource_BID
- [lucene-solr-user] 20190104 Re: SOLR v7 Security Issues Caused Denial of Use - Sonatype Application Composition Report mailing-list, x_refsource_MLIST
- https://www.oracle.com/security-alerts/cpuapr2020.html x_refsource_MISC
- https://www.oracle.com/security-alerts/cpujul2020.html x_refsource_MISC
- https://www.oracle.com/technetwork/security-advisory/cpuoct2019-5072832.html x_refsource_MISC
- https://www.oracle.com/security-alerts/cpujan2020.html x_refsource_MISC
- https://www.oracle.com/security-alerts/cpuoct2020.html x_refsource_MISC
- https://www.oracle.com/security-alerts/cpujan2021.html x_refsource_MISC
- https://www.oracle.com/security-alerts/cpuApr2021.html x_refsource_MISC
When was it published, and where is the official record?
- Reserved
- August 7, 2017
- Published
- January 29, 2018, 17:00 UTC
- CVE record updated
- May 28, 2026, 17:54 UTC by apache
- NVD
- Modified, last modified June 17, 2026, 01:03 UTC
- Last checked
- CVE list November 19, 2026, 07:18 UTC; NVD November 19, 2026, 08:35 UTC; KEV December 3, 2026, 08:38 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
What other CVEs affect Apache POI?
- Apr 9, 2025CVE-2025-31672 Apache Software Foundation Apache POI: improper input validation
- Mar 24, 2017CVE-2017-5644 Apache Software Foundation Apache POI: XML entity expansion (billion laughs)
Questions about CVE-2017-12626
Is CVE-2017-12626 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 08:38 UTC. FIRST's EPSS gives it a 9.65% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of Apache Software Foundation Apache POI are affected by CVE-2017-12626?
org.apache.poi:poi before 3.17, per the GitHub advisory GHSA-523c-xh4g-mh5m. The tables above give every range the sources list.
Which version fixes CVE-2017-12626?
3.17, per the GitHub advisory GHSA-523c-xh4g-mh5m. Check the vendor's advisory before you rely on it.
How severe is CVE-2017-12626?
High (7.5, CVSS 3.1, from CISA-ADP). The severity table above shows each score with its source.
Where is the official record of CVE-2017-12626?
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.