CVE-2022-23990
IBM Db2 vulnerability analysis and mitigation

Overview

Expat (aka libexpat) before 2.4.4 contains an integer overflow vulnerability in the doProlog function. The vulnerability was discovered on January 26, 2022 and affects the XML parsing library used in many software applications (CVE Details, GitHub PR).

Technical details

The vulnerability stems from an integer overflow condition in the doProlog function of Expat's XML parsing code. The issue was introduced about 20 years ago in commit cb8a4c7. The fix involved changing the variable type from 'int nameLen' to 'size_t nameLen' to prevent overflow on the 'nameLen++' operation in the code 'for (; name[nameLen++];)' (GitHub PR).

Impact

The vulnerability could result in denial of service or potentially the execution of arbitrary code if a malformed XML file is processed (Debian Advisory).

Mitigation and workarounds

The vulnerability was fixed in Expat version 2.4.4. Users and organizations should upgrade to this version or later. Multiple vendors have released patches for their products incorporating the fixed version, including Debian (versions 2.2.10-2+deb11u1 for bullseye), Ubuntu, and Fedora (Debian Advisory, 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