libexpat up to 2.4.9 XML_ExternalEntityParserCreate use after free
| CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
|---|---|---|
| 6.3 | $0-$5k | 0.00 |
Summary
A vulnerability labeled as critical has been found in libexpat up to 2.4.9. This issue affects the function XML_ExternalEntityParserCreate. The manipulation results in use after free.
This vulnerability is known as CVE-2022-43680. It is possible to launch the attack remotely. No exploit is available.
Applying a patch is advised to resolve this issue.
Details
A vulnerability classified as critical has been found in libexpat up to 2.4.9. Affected is the function XML_ExternalEntityParserCreate. The manipulation with an unknown input leads to a use after free vulnerability. CWE is classifying the issue as CWE-416. Referencing memory after it has been freed can cause a program to crash, use unexpected values, or execute code. This is going to have an impact on availability. CVE summarizes:
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.
The weakness was published 10/24/2022 as 649. The advisory is shared for download at github.com. This vulnerability is traded as CVE-2022-43680 since 10/24/2022. There are known technical details, but no exploit is available.
The vulnerability scanner Nessus provides a plugin with the ID 211295 (Fedora 37 : mingw-expat (2022-5f1e2e9016)), which helps to determine the existence of the flaw in a target environment.
Applying a patch is able to eliminate this problem. The bugfix is ready for download at github.com.
The vulnerability is also documented in the vulnerability database at Tenable (211295). VulDB is the best source for vulnerability data and more expert information about this specific topic.
Product
Name
Version
Website
CPE 2.3
CPE 2.2
CVSSv4
VulDB Vector: 🔍VulDB Reliability: 🔍
CVSSv3
VulDB Meta Base Score: 6.4VulDB Meta Temp Score: 6.3
VulDB Base Score: 5.3
VulDB Temp Score: 5.1
VulDB Vector: 🔍
VulDB Reliability: 🔍
NVD Base Score: 7.5
NVD Vector: 🔍
CVSSv2
| AV | AC | Au | C | I | A |
|---|---|---|---|---|---|
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| Vector | Complexity | Authentication | Confidentiality | Integrity | Availability |
|---|---|---|---|---|---|
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
VulDB Base Score: 🔍
VulDB Temp Score: 🔍
VulDB Reliability: 🔍
Exploiting
Class: Use after freeCWE: CWE-416 / CWE-119
CAPEC: 🔍
ATT&CK: 🔍
Physical: No
Local: No
Remote: Yes
Availability: 🔍
Status: Not defined
EPSS Score: 🔍
EPSS Percentile: 🔍
Price Prediction: 🔍
Current Price Estimation: 🔍
| 0-Day | Unlock | Unlock | Unlock | Unlock |
|---|---|---|---|---|
| Today | Unlock | Unlock | Unlock | Unlock |
Nessus ID: 211295
Nessus Name: Fedora 37 : mingw-expat (2022-5f1e2e9016)
Threat Intelligence
Interest: 🔍Active Actors: 🔍
Active APT Groups: 🔍
Countermeasures
Recommended: PatchStatus: 🔍
0-Day Time: 🔍
Patch: github.com
Timeline
10/24/2022 🔍10/24/2022 🔍
10/24/2022 🔍
05/31/2025 🔍
Sources
Product: github.comAdvisory: 649
Status: Confirmed
CVE: CVE-2022-43680 (🔍)
GCVE (CVE): GCVE-0-2022-43680
GCVE (VulDB): GCVE-100-212040
Entry
Created: 10/24/2022 21:31Updated: 05/31/2025 01:59
Changes: 10/24/2022 21:31 (49), 11/16/2024 09:47 (16), 05/31/2025 01:59 (1)
Complete: 🔍
Cache ID: 216::103
VulDB is the best source for vulnerability data and more expert information about this specific topic.
No comments yet. Languages: en.
Please log in to comment.