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.

In parserCreate of xmlparse.c, there is a possible use after free that could lead to remote code execution with no additional execution privileges needed. User interaction is not needed for exploitation.

— OSV

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

69 affected componentsFixes available
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
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
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
Microsoft cbl2 expat 2.5.0-1
Microsoft cm1 expat 2.5.0-1
redhat/expat<2.5.0
2.5.0
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
Google Android
android/platform/external/expat>=10:0<10:2023-02-01
10:2023-02-01
android/platform/external/expat>=11:0<11:2023-02-01
11:2023-02-01
android/platform/external/expat>=12:0<12:2023-02-01
12:2023-02-01
android/platform/external/expat>=12L:0<12L:2023-02-01
12L:2023-02-01
android/platform/external/expat>=13:0<13:2023-02-01
13:2023-02-01
debian/expat<2.5.0-1
2.5.0-1
debian/expat<2.5.0-1
2.5.0-1
debian/expat<2.5.0-1
2.5.0-1
debian/libxmltok*
alpine/expat<2.2.10-r8
2.2.10-r8
alpine/expat<2.5.0-r0
2.5.0-r0
alpine/expat<2.5.0-r0
2.5.0-r0
alpine/expat<2.5.0-r0
2.5.0-r0
alpine/expat<2.5.0-r0
2.5.0-r0
alpine/expat<2.5.0-r0
2.5.0-r0
alpine/expat<2.5.0-r0
2.5.0-r0
alpine/expat<2.5.0-r0
2.5.0-r0
alpine/expat<2.5.0-r0
2.5.0-r0
alpine/expat<2.5.0-r0
2.5.0-r0
alpine/expat<2.5.0-r0
2.5.0-r0
alpine/expat<2.5.0-r0
2.5.0-r0
debian/expat
2.2.6-2+deb10u62.2.10-2+deb11u52.5.0-1
debian/libxmltok<=1.2-4

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.5.0-1Fixed in 2.2.10-2+deb11u5
  2. Upgrade

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

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

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

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

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

    Fixed in 2.5.0
  5. Upgrade

    Upgrade android/platform/external/expat to a version that resolves this vulnerability.

    Fixed in 10:2023-02-01
  6. Upgrade

    Upgrade android/platform/external/expat to a version that resolves this vulnerability.

    Fixed in 11:2023-02-01
  7. Upgrade

    Upgrade android/platform/external/expat to a version that resolves this vulnerability.

    Fixed in 12:2023-02-01
  8. Upgrade

    Upgrade android/platform/external/expat to a version that resolves this vulnerability.

    Fixed in 12L:2023-02-01
  9. Upgrade

    Upgrade android/platform/external/expat to a version that resolves this vulnerability.

    Fixed in 13:2023-02-01
  10. Upgrade

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

    Fixed in 2.5.0-1
  11. Upgrade

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

    Fixed in 2.2.10-r8
  12. Upgrade

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

    Fixed in 2.5.0-r0
  13. 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-1

Event History

Oct 24, 2022
CVE Published
via MITRE·12:00 AM
Data Sourced
12:00 AM
RemedyDescriptionSeverityWeaknessAffected Software
Data Sourced
via OSV·02:15 PM
DescriptionAffected Software
Oct 25, 2022
Data Sourced
via Microsoft·07:00 AM
DescriptionSeverityWeakness
Data Sourced
via Microsoft·07:00 AM
Affected Software
Dec 15, 2022
Exploit Published
via GitHub·11:52 AM
Feb 1, 2023
Advisory Published
via OSV·12:00 AM
Oct 27, 2023
Data Sourced
via Android·12:00 AM
SeverityWeaknessAffected Software
Updated
via Android·12:00 AM
Affected Software
Dec 7, 2023
Data Sourced
via Red Hat·03:28 PM
DescriptionSeverityAffected Software
Dec 29, 2023
Updated
12:15 AM
Affected Software
Jan 3, 2024
Data Sourced
via NVD·12:15 PM
RemedyDescriptionSeverityWeaknessAffected Software
Updated
12:15 PM
Affected Software
Jan 21, 2024
Updated
via NVD·02:08 AM
Affected Software
Feb 7, 2024
Updated
via Android·12:00 AM
Affected Software
Mar 11, 2024
Updated
via Android·12:00 AM
Affected Software
Mar 18, 2024
Updated
via Android·12:00 AM
Affected Software
Apr 29, 2024
Updated
via Android·12:00 AM
Affected Software
May 21, 2024
Updated
via Android·12:00 AM
Affected Software
Aug 3, 2024
Data Sourced
via MITRE·01:40 PM
Description
Aug 26, 2024
Updated
via Android·12:00 AM
Affected Software
Nov 21, 2024
Updated
via NVD·07:27 AM
RemedyAffected Software
Feb 21, 2025
Data Sourced
via IBM·12:00 AM
DescriptionAffected Software
Apr 3, 2025
Updated
via IBM·12:00 AM
Affected Software
May 30, 2025
Updated
via NVD·08:15 PM
SeverityWeaknessAffected Software
Jun 17, 2026
Updated
via NVD·05:07 AM
Affected Software
Sep 30, 2026
Updated
via Android·12:00 AM
Affected Software
Nov 3, 2026
Data Sourced
via OSV·08:04 AM
Severity

Parent advisories

This vulnerability appears in the following advisories.

Peer vulnerabilities

Found alongside the following vulnerabilities.

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