CVE-2022-43680: Apache OpenOffice: "Use after free" fixed in libexpat

Published Oct 24, 2022
·
Updated

A use-after-free flaw was found in the Expat package, caused by destruction of a shared DTD in XMLExternalEntityParserCreate in out-of-memory situations. This may lead to availability disruptions.

Other sources

In libexpat through 2.4.9 there is a use-after free caused by overeager destruction of a shared DTD in XMLExternalEntityParserCreate in out-of-memory situations.

Microsoft

In libexpat through 2.4.9, there is a use-after free caused by overeager destruction of a shared DTD in XMLExternalEntityParserCreate in out-of-memory situations.

libexpat is vulnerable to a denial of service, caused by a use-after free created by overeager destruction of a shared DTD in XMLExternalEntityParserCreate in out-of-memory situations. A remote attacker could exploit this vulnerability to cause a denial of service.

IBM

Affected Software

47 affected componentsFixes available
debian/expat<=2.2.6-2+deb10u4
2.2.6-2+deb10u62.2.10-2+deb11u52.5.0-12.5.0-2
debian/expat<=2.2.10-2, <=2.4.9-1
2.5.0-12.2.10-2+deb11u5
redhat/expat<0:2.2.5-10.el8_7.1
0:2.2.5-10.el8_7.1
redhat/expat<0:2.4.9-1.el9_1.1
0:2.4.9-1.el9_1.1
Google Android
Libexpat Project Libexpat<=2.4.9
Debian Debian Linux=10.0
Debian Debian Linux=11.0
Fedoraproject Fedora=35
Fedoraproject Fedora=36
Fedoraproject Fedora=37
NetApp Baseboard Management Controller H300s Firmware
NetApp Baseboard Management Controller H300s
NetApp Baseboard Management Controller H500s Firmware
NetApp Baseboard Management Controller H500s
NetApp Baseboard Management Controller H700s Firmware
NetApp Baseboard Management Controller H700s
NetApp Baseboard Management Controller H410s Firmware
NetApp Baseboard Management Controller H410s
NetApp Baseboard Management Controller H410c Firmware
NetApp Baseboard Management Controller H410c
NetApp Active Iq Unified Manager Vmware Vsphere
NetApp OnCommand Workflow Automation
NetApp Solidfire \& Hci Management Node
NetApp Hci Compute Node Firmware
NetApp Hci Compute Node
All of the following
NetApp H300s Firmware
NetApp H300s
All of the following
NetApp H500s Firmware
NetApp H500s
All of the following
NetApp H700s Firmware
NetApp H700s
All of the following
NetApp H410s Firmware
NetApp H410s
All of the following
NetApp H410c Firmware
NetApp H410c
All of the following
NetApp Hci Compute Node Firmware
NetApp Hci Compute Node
IBM Data Virtualization on Cloud Pak for Data<=3.0
IBM Watson Query on Cloud Pak for Data<=2.2
IBM Watson Query on Cloud Pak for Data<=2.1
IBM Watson Query on Cloud Pak for Data<=2.0
IBM Data Virtualization on Cloud Pak for Data<=1.8
IBM Data Virtualization on Cloud Pak for Data<=1.7
redhat/expat<2.5.0
2.5.0
Microsoft cbl2 expat 2.5.0-1
Microsoft cm1 expat 2.5.0-1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade debian/expat to a version that resolves this vulnerability.

    Fixed in 2.2.6-2+deb10u6Fixed in 2.2.10-2+deb11u5Fixed in 2.5.0-1Fixed in 2.5.0-2
  2. Upgrade

    Upgrade debian/expat to a version that resolves this vulnerability.

    Fixed in 2.5.0-1Fixed in 2.2.10-2+deb11u5
  3. Upgrade

    Upgrade redhat/expat to a version that resolves this vulnerability.

    Fixed in 0:2.2.5-10.el8_7.1
  4. Upgrade

    Upgrade redhat/expat to a version that resolves this vulnerability.

    Fixed in 0:2.4.9-1.el9_1.1
  5. Upgrade

    Upgrade redhat/expat to a version that resolves this vulnerability.

    Fixed in 2.5.0
  6. Upgrade

    Upgrade libexpat to a version that resolves this vulnerability.

    Fixed in 2.4.9
  7. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Patch CVE-2022-43680
  8. Compensating control

    Mitigate the denial-of-service risk by restricting or rate-limiting access to any feature/service that parses untrusted XML using Expat/libexpat, until the libexpat upgrade with CVE-2022-43680 is applied.

Event History

Oct 24, 2022
CVE Published
via MITRE·12:00 AM
Data Sourced
via MITRE·12:00 AM
Description
Data Sourced
via NVD·02:15 PM
RemedyDescriptionSeverityWeaknessAffected Software
Oct 25, 2022
Data Sourced
via Microsoft·07:00 AM
DescriptionSeverityWeakness
Data Sourced
via Microsoft·07:00 AM
Affected Software
Updated
via Microsoft·07:00 AM
DescriptionSeverityWeakness
Nov 4, 2022
Data Sourced
via Red Hat·10:19 AM
DescriptionSeverityAffected Software
Aug 15, 2025
Data Sourced
via IBM·03:29 PM
DescriptionAffected Software

Parent advisories

This vulnerability appears in the following advisories.

Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is CVE-2022-43680?

CVE-2022-43680 is a use-after-free vulnerability in the Expat package, specifically in the destruction of a shared DTD in XML_ExternalEntityParserCreate in out-of-memory situations.

2

What is the severity of CVE-2022-43680?

CVE-2022-43680 has a severity level of 7.5 (high).

3

Which software is affected by CVE-2022-43680?

CVE-2022-43680 affects the expat package in various versions on Debian, Red Hat, Google Android, and other platforms.

4

How can I fix CVE-2022-43680?

To fix CVE-2022-43680, update the affected expat package to the recommended versions provided by the vendor.

5

Where can I find more information about CVE-2022-43680?

More information about CVE-2022-43680 can be found in the references section of the vulnerability report.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203