cve.bz

CVE-2017-9233 Infinite Loop

7.5 highExploit referenceEPSS 8.7%

High (7.5). EPSS 8.7% estimated probability of exploitation activity in the next 30 days.

On this page
XML External Entity vulnerability in libexpat 2.2.0 and earlier (Expat XML Parser Library) allows attackers to put the parser in an infinite loop using a malformed external entity definition from an external DTD.

Severity

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
EPSS
8.7% (unchanged from 8.7% a week ago; 8.7% 30 days ago) estimated probability of exploitation activity in the next 30 days; 95th percentile. Scored 2026-11-15. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: yes · Technical impact: partial, assessed 2026-10-08. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWEs
CWE-611 Improper Restriction of XML External Entity Reference
CWE-835 Loop with Unreachable Exit Condition (Infinite Loop)
OWASP Top 10
A02:2025 Security Misconfiguration
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2017-9233 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2017-9233?via=ask-ai-copy and https://cve.bz/cve/CVE-2017-9233?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2017-9233 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Badge for a README or a site

CVE-2017-9233

An image that stays current: it is drawn from the data each time it is fetched (a host that proxies images, as GitHub does, may show its copy for a while). Markdown:

[![CVE-2017-9233](https://cve.bz/cve/badge/CVE-2017-9233.svg)](https://cve.bz/cve/CVE-2017-9233)

HTML:

<a href="https://cve.bz/cve/CVE-2017-9233"><img src="https://cve.bz/cve/badge/CVE-2017-9233.svg" alt="CVE-2017-9233"></a>

Affected

Versions

From the NVD's CPE matches.

ProductAffected
libexpat_project:libexpatthrough 2.2.0
python:pythonfrom 2.7.0 before 2.7.15
python:pythonfrom 3.3.0 before 3.3.7
python:pythonfrom 3.4.0 before 3.4.7
python:pythonfrom 3.5.0 before 3.5.4
python:pythonfrom 3.6.0 before 3.6.2
debian:debian_linux8.0
debian:debian_linux9.0
debian:debian_linux10.0

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian7expat2.1.0-1+deb7u5DLA-990-1
Debian8expat2.1.0-6+deb8u4DSA-3898-1
Debian9expat2.2.0-2+deb9u1DSA-3898-1
Debian12libxmltokno fix listedDEBIAN-CVE-2017-9233
Debian12, 13, 14expat2.2.1-1DEBIAN-CVE-2017-9233
Ubuntu14.04:LTSexpat2.1.0-4ubuntu1.4UBUNTU-CVE-2017-9233 USN-3356-1
Ubuntu16.04:LTSexpat2.1.0-7ubuntu0.16.04.3UBUNTU-CVE-2017-9233 USN-3356-1
Ubuntu16.04:LTSmatanza, insighttoolkit4no fix listedUBUNTU-CVE-2017-9233
Ubuntu18.04:LTSvnc4, matanzano fix listedUBUNTU-CVE-2017-9233
Ubuntu20.04:LTS, 22.04:LTS, 24.04:LTSmatanzano fix listedUBUNTU-CVE-2017-9233
Ubuntu25.10, 26.10matanza, swish-e, sitecopyno fix listedUBUNTU-CVE-2017-9233
Ubuntu26.04:LTSmatanza, sitecopyno fix listedUBUNTU-CVE-2017-9233
UbuntuPro:14.04:LTScoin33.1.4~abc9f50-4ubuntu2+esm1UBUNTU-CVE-2017-9233 USN-4825-1
UbuntuPro:14.04:LTSvnc4no fix listedUBUNTU-CVE-2017-9233
UbuntuPro:16.04:LTScoin33.1.4~abc9f50+dfsg1-1ubuntu0.1~esm1UBUNTU-CVE-2017-9233 USN-4825-1
UbuntuPro:16.04:LTSvnc4, swish-e, cableswigno fix listedUBUNTU-CVE-2017-9233
UbuntuPro:18.04:LTScoin3, swish-eno fix listedUBUNTU-CVE-2017-9233
1 more for Ubuntu in the JSON and on Ubuntu's page.
SUSEEnterprise Storage 5, HPE Helion OpenStack 8, Linux Enterprise Desktop 12 SP4 and 18 morepython33.4.10-25.39.3SUSE-SU-2020:0497-1
SUSEEnterprise Storage 5, HPE Helion OpenStack 8, Linux Enterprise Desktop 12 SP4 and 18 morepython3-base3.4.10-25.39.2SUSE-SU-2020:0497-1
SUSELinux Enterprise Desktop 12 SP2, Linux Enterprise Desktop 12 SP3, Linux Enterprise Server 12 SP2 and 6 moreexpat2.1.0-21.3.1SUSE-SU-2017:2299-1
SUSELinux Enterprise Server 11 SP4, Linux Enterprise Server for SAP Applications 11 SP4, Linux Enterprise Software Development Kit 11 SP4 and 1 moreexpat2.0.1-88.42.3.2SUSE-SU-2017:2375-1
openSUSETumbleweedexpat2.4.1-1.2openSUSE-SU-2024:10748-1
Alpinev3.4, v3.5, v3.6 and 18 moreexpat2.2.0-r1ALPINE-CVE-2017-9233

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; SUSE security data, CC BY 4.0; the Alpine secdb, CC BY-SA 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · SUSE · openSUSE · Alpine.

Red Hat

Red Hat rates this Moderate.

Red Hat's mitigation

Do not parse untrusted arbitrary XML data using the expat package.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 5expatWill not fix
Red Hat Enterprise Linux 5firefoxWill not fix
Red Hat Enterprise Linux 5thunderbirdWill not fix
Red Hat Enterprise Linux 5xmlrpc-cWill not fix
Red Hat Enterprise Linux 5xulrunnerWill not fix
Red Hat Enterprise Linux 6compat-expat1Will not fix
Red Hat Enterprise Linux 6firefoxWill not fix
Red Hat Enterprise Linux 6thunderbirdWill not fix
Red Hat Enterprise Linux 6xulrunnerWill not fix
Red Hat Enterprise Linux 7expatWill not fix
Red Hat Enterprise Linux 7firefoxWill not fix
Red Hat Enterprise Linux 7thunderbirdWill not fix
Red Hat Enterprise Linux 7xulrunnerWill not fix
Red Hat Enterprise Virtualization 3mingw-virt-viewerWill not fix
Red Hat JBoss Enterprise Application Platform 6httpdWill not fix
Red Hat JBoss Enterprise Web Server 2httpdWill not fix

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2017-9233.

ICS advisories (CISA)

AdvisoryTitlePublishedSectorsAffectedFixed
ICSA-19-155-01PHOENIX CONTACT PLCNext AXC F 21522019-06-04Commercial FacilitiesAXC F 2152: article number 2404267 version 1.x, AXC F 2152: article number 1046568 (Starterkit) version 1.xnone listed

From CISA's ICS advisories (CSAF), provided under CISA's notification. Only the facts are shown; each advisory is on CISA's page. Credits.

Attack patterns (CAPEC)

  • CAPEC-221 Data Serialization External Entities Blowup

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON