CVE-2022-43680
A public proof of concept exists; no exploitation attested.
- Published2022-10-24
- WeaknessCWE-416
Am I affected?
Debian, Ubuntu or Red Hat sometimes backport a fix without changing the upstream version number: such a version reads « to verify », never « affected ».With a domain, we read the version its public headers and pages expose. A distribution build can carry the fix under an older number.
Description
In libexpat through 2.4.9, there is a use-after free caused by overeager destruction of a shared DTD in XML_ExternalEntityParserCreate in out-of-memory situations.
Timeline
dates in UTC- 2022-10-2414:15CVE publishedNVD
Versions per branch
NVD| Branch | Affected | Fixed in | Source |
|---|---|---|---|
| 35.x | = 35 | no fix published | NVD |
| 36.x | = 36 | no fix published | NVD |
| 37.x | = 37 | no fix published | NVD |
| Branch | Affected | Fixed in | Source |
|---|---|---|---|
| 10.0 | = 10.0 | no fix published | NVD |
| 11.0 | = 11.0 | no fix published | NVD |
| Branch | Affected | Fixed in | Source |
|---|---|---|---|
| 2.4 | ≤ 2.4.9 | no fix published | NVD |
9 more products in the sources.
as publishedRanges as NVD and OSV publish them; a distribution’s build can be fixed under an older number.
Distribution builds and vendor advisories
Packages from OSV.dev and products from the vendors' CSAF advisories.
version not verifiedVersions not verified: read as OSV.dev and the vendors publish them, not checked against each vendor's release list.
Packages
- coin3Ubuntu:Pro:18.04:LTSall versions · no fixed version listedand 2 other packages
- expatWolfiall versions · fixed in 0
- expatUbuntu:Pro:16.04:LTSall versions · fixed in 2.1.0-7ubuntu0.16.04.5+esm7
- expatUbuntu:Pro:14.04:LTSall versions · fixed in 2.1.0-4ubuntu1.4+esm7
- expatUbuntu:22.04:LTSall versions · fixed in 2.4.7-1ubuntu0.2
- expatUbuntu:22.04:LTSall versions · fixed in 2.4.7-1ubuntu0.1
- expatUbuntu:20.04:LTSall versions · fixed in 2.2.9-1ubuntu0.6
- expatUbuntu:20.04:LTSall versions · fixed in 2.2.9-1ubuntu0.5
126 more package ranges on OSV.dev
Vendor advisories
expat: use-after free caused by overeager destruction of a shared DTD in XML_ExternalEntityParserCreate
compat-expat1 as a component of Red Hat Enterprise Linux 6 · compat-expat1.src as a component of Red Hat Enterprise Linux 6 · expat as a component of Red Hat Enterprise Linux 6 · +26 more
Red Hat Security Advisory: expat security update
Red Hat Security Advisory: expat security update
Red Hat Security Advisory: expat security update
Siemens SIMATIC S7-1500
SIMATIC S7-1500 CPU 1518-4 PN/DP MFP (6ES7518-4AX00-1AB0) · SIMATIC S7-1500 CPU 1518-4 PN/DP MFP (6ES7518-4AX00-1AC0) · SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP (6ES7518-4FX00-1AB0) · +2 more
SSA-398330: Vulnerabilities in the additional GNU/Linux subsystem of the SIMATIC S7-1500 CPU 1518(F)-4 PN/DP MFP >= V3.1.0 and < V3.1.5
SIMATIC S7-1500 CPU 1518-4 PN/DP MFP (6ES7518-4AX00-1AB0) >= V3.1.0 < V3.1.5 · SIMATIC S7-1500 CPU 1518-4 PN/DP MFP (6ES7518-4AX00-1AC0) >= V3.1.0 < V3.1.5 · SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP (6ES7518-4FX00-1AB0) >= V3.1.0 < V3.1.5 · +2 more
11 more advisories
Fix
- Vendor fix Red Hat Product Security RHSA-2025:22871 · 2 productsFor details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258
- Vendor fix Red Hat Product Security RHSA-2024:0421 · 21 productsFor details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258 After installing the updated packages, applications using the Expat library must be restarted for the update to take effect.
- Vendor fix CISA ICSA-23-348-10 · 5 productsUpdate to V3.1.5 or later version
- Vendor fix Siemens ProductCERT SSA-398330 · 1 productUpdate to V3.1.5 or later version
- Vendor fix Red Hat Product Security RHSA-2023:3355 · 1 productBefore applying this update, make sure all previously released errata relevant to your system have been applied. For details on how to apply this update, refer to: https://access.redhat.com/articles/11258
- Vendor fix CISA ICSA-23-143-01 · 7 productsHitachi Energy has released the following mitigations/fixes:
Advisories and patches
- github.comPatch
- github.comPatch
- github.comPatch
Detection
read 2026-11-01 01:02 UTC- Nuclei template
- none so far ProjectDiscovery
- Exploit-DB
- no entry Exploit-DB
- Proof of concept
- PoC-in-GitHub2 repositories, unverifiedknown since 2026-11-01Trinadh465/external_expat-2.1.0_CVE-2022-43680nidhihcl/external_expat_2.1.0_CVE-2022-43680
- Metasploit modules
- none listed Metasploit Framework
Sources
- CISA-ADPSSVC decisionnone2025-05-30
- CISA-ADPCVSS 3.17.52025-05-30
- NVDCVSS 3.17.5read 2026-10-23
- CISA-ADPweakness (CWE)CWE-4162025-05-30
- NVDweakness (CWE)CWE-416read 2026-10-23
- FIRST EPSSEPSS score3.2 %2026-11-08
- PoC-in-GitHubproof of concept2known since 2026-11-01
- OSVaffected packages—
- GitHub Advisoriesadvisory—
Identifiers
- ASB-A-255449293same flawAndroid Security Bulletins · CC-BY-4.0
- AZL-11316same flawAzure Linux · MIT
- CGA-7h63-c57m-2wx3same flawChainguard · CC-BY-NC-ND-4.0
- CGA-fg3p-4f6x-xpq4same flawChainguard · CC-BY-NC-ND-4.0
- EUVD-2022-46673same flawENISA EUVD · LicenseRef-ENISA-legal-notice
- GHSA-4hjv-8mmr-jxwvsame flawGitHub Advisory Database · CC-BY-4.0
- JLSEC-2025-58same flawJulia Security Advisories · CC-BY-4.0
- ALSA-2023:0103advisory covering several CVEsAlmaLinux · MIT
- ALSA-2023:0337advisory covering several CVEsAlmaLinux · MIT
- DLA-3165-1advisory covering several CVEsDebian · LicenseRef-unstated
- DSA-5266-1advisory covering several CVEsDebian · LicenseRef-unstated
- MGASA-2022-0409advisory covering several CVEsMageia · LicenseRef-unstated
- MGASA-2022-0427advisory covering several CVEsMageia · LicenseRef-unstated
- MGASA-2026-0173advisory covering several CVEsMageia · LicenseRef-unstated
- OESA-2022-2037advisory covering several CVEsopenEuler · LicenseRef-unstated
- openSUSE-SU-2024:12449-1advisory covering several CVEsopenSUSE · LicenseRef-unstated
- RHSA-2022:8548advisory covering several CVEsRed Hat · CC-BY-4.0
- RHSA-2022:8549advisory covering several CVEsRed Hat · CC-BY-4.0
- RHSA-2022:8550advisory covering several CVEsRed Hat · CC-BY-4.0
- RHSA-2022:8553advisory covering several CVEsRed Hat · CC-BY-4.0
- RHSA-2022:8554advisory covering several CVEsRed Hat · CC-BY-4.0
- RHSA-2023:0103advisory covering several CVEsRed Hat · CC-BY-4.0
- RHSA-2023:0337advisory covering several CVEsRed Hat · CC-BY-4.0
- RHSA-2024:0421advisory covering several CVEsRed Hat · CC-BY-4.0
- RHSA-2025:22785advisory covering several CVEsRed Hat · CC-BY-4.0
- RHSA-2025:22871advisory covering several CVEsRed Hat · CC-BY-4.0
- RLSA-2023:0103advisory covering several CVEsRocky Linux · BSD-3-Clause
- RLSA-2023:0337advisory covering several CVEsRocky Linux · BSD-3-Clause
- SUSE-SU-2022:3874-1advisory covering several CVEsSUSE · LicenseRef-unstated
- SUSE-SU-2022:3884-1advisory covering several CVEsSUSE · LicenseRef-unstated
- SUSE-SU-2022:3912-1advisory covering several CVEsSUSE · LicenseRef-unstated
- SUSE-SU-2026:24323-1advisory covering several CVEsSUSE · LicenseRef-unstated
- SUSE-SU-2026:4615-1advisory covering several CVEsSUSE · LicenseRef-unstated
- SUSE-SU-2026:4623-1advisory covering several CVEsSUSE · LicenseRef-unstated
- USN-5638-2advisory covering several CVEsUbuntu
- USN-5638-3advisory covering several CVEsUbuntu
- USN-5638-4advisory covering several CVEsUbuntu
Technical details
- CVSS v3 Vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- Published
- 2022-10-24
- Last Modified
- 2026-10-14
- NVD status
- Modified
- GitHub Advisory
- GHSA-4hjv-8mmr-jxwv
Frequently asked questions
What is CVE-2022-43680?
Is CVE-2022-43680 actively exploited?
What is the CVSS score for CVE-2022-43680?
Running expat? Hear about its next vulnerability
Surveillance reads the versions in your stack — a domain, a lockfile or a list — checks each CVE against the ranges its sources publish, and alerts you when one you run is exploited or enters CISA KEV. A version it cannot read stays « version not verified ».
No credit card required · No monthly cap on website lookups · 250 API requests/month
Go further
- Following what attackers exploit right now? The CISA KEV additions of the month, with their patch deadlines.
- Running this software? Vulnerability monitoring alerts you to new vulnerabilities in your products.
Related vulnerabilities
Same product first, then the same vendor advisory and the same publication week.
Sources for this record
- CISA ICS advisories (CSAF) · Public domain (US Government work)
- CVE Program · CVE Program Terms of Use
- ENISA EU Vulnerability Database · ENISA legal notice §1.2 (reproduction authorised, provided the source is acknowledged)
- FIRST EPSS · EPSS terms of use (free use, attribution requested)
- GitHub Advisory Database · CC-BY-4.0 · GHSA-4hjv-8mmr-jxwv
- NVD · Public domain (17 U.S.C. § 105) for NVD-authored data; third-party content under its own terms
- OSV.dev · Per record, as its publisher states it: each row carries the label in sourceLicense when one is served
- PoC-in-GitHub · CC0-1.0
- Red Hat Product Security (CSAF and VEX) · CC-BY-4.0
- Siemens ProductCERT (CSAF) · TLP:WHITE (commercial use and redistribution granted)
- CISA Vulnrichment · CC0-1.0