CVE-2022-23852
IBM Db2 vulnerability analysis and mitigation

Overview

Expat (aka libexpat) before version 2.4.4 contains a signed integer overflow vulnerability in XMLGetBuffer function, specifically for configurations with a nonzero XMLCONTEXT_BYTES (MITRE, NVD).

Technical details

The vulnerability exists in the XMLGetBuffer function of Expat library when processing XML files with specific configurations that have non-zero XMLCONTEXT_BYTES. The issue was fixed by implementing proper integer overflow detection checks, as demonstrated in the patch that uses the same pattern as elsewhere to detect integer overflow (GITHUB).

Impact

Successful exploitation of this vulnerability could lead to denial of service (DoS) or potentially the execution of arbitrary code when processing malformed XML files. The vulnerability has been assigned a CVSS v3.1 base score of 9.8 (Critical), indicating high severity with potential impacts on confidentiality, integrity, and availability (NETAPP).

Mitigation and workarounds

The primary mitigation is to upgrade to Expat version 2.4.4 or later which contains the fix for this vulnerability. Multiple vendors have released patches for their products that include the fixed version of Expat. For example, Debian has released security updates for various distributions (DEBIAN), and Red Hat has provided fixed versions for affected products (REDHAT).

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