CVE-2022-43680
IBM Db2 vulnerability analysis and mitigation

Overview

CVE-2022-43680 affects libexpat through version 2.4.9, where a use-after-free vulnerability exists due to overeager destruction of a shared DTD in XML_ExternalEntityParserCreate function during out-of-memory situations. The vulnerability was discovered in October 2022 and affects systems using the Expat XML parsing library (NVD, Debian Security).

Technical details

The vulnerability occurs when the allocation in parserInit fails during XMLExternalEntityParserCreate execution. Specifically, when parser->mprotocolEncodingName allocation fails, XMLParserFree is called on the parser whose mdtd pointer is shared with the document's root parser. Since the misParamEntity flag is set too late in XMLExternalEntityParserCreate, this results in incorrect destruction of the shared DTD (Github Issue). The vulnerability has been assigned a CVSS v3.1 base score of 7.5 (HIGH) with vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H (NVD).

Impact

Successful exploitation of this vulnerability could lead to denial of service (DoS) conditions. The use-after-free condition could potentially result in program crashes or, in some cases, arbitrary code execution (NetApp Advisory, Gentoo Security).

Mitigation and workarounds

The vulnerability has been fixed in libexpat version 2.5.0. Users and administrators are advised to upgrade to this or later versions. Various distributions have released patched versions: Debian has fixed it in version 2.2.10-2+deb11u5 for Bullseye, Fedora has updated to version 2.5.0, and other vendors have provided their respective security updates (Debian Security, Fedora Update).

Additional resources


SourceThis report was generated using AI

Related IBM Db2 vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-36186HIGH7.8
  • IBM Db2IBM Db2
  • cpe:2.3:a:ibm:db2
NoNoNov 07, 2025
CVE-2025-36008MEDIUM6.5
  • IBM Db2IBM Db2
  • cpe:2.3:a:ibm:db2
NoYesNov 07, 2025
CVE-2025-36185MEDIUM5.5
  • IBM Db2IBM Db2
  • cpe:2.3:a:ibm:db2
NoNoNov 07, 2025
CVE-2025-36136MEDIUM5.5
  • IBM Db2IBM Db2
  • cpe:2.3:a:ibm:db2
NoYesNov 07, 2025
CVE-2025-36131MEDIUM4.6
  • IBM Db2IBM Db2
  • cpe:2.3:a:ibm:db2
NoYesNov 07, 2025

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management