CVE-2022-25314
IBM Db2 vulnerability analysis and mitigation

Overview

CVE-2022-25314 is a security vulnerability discovered in Expat (also known as libexpat) versions before 2.4.5. The vulnerability is an integer overflow in the copyString function. The issue was disclosed on February 18, 2022, and affects the encoding name parameter at the parser creation time (MITRE, NVD).

Technical details

The vulnerability is characterized as an integer overflow condition in the copyString function within Expat. The issue specifically affects the encoding name parameter at parser creation time, which is often hardcoded rather than user input. The vulnerability requires input in the gigabytes and a 64-bit machine to trigger (GitHub PR).

Impact

The primary impact of successful exploitation is denial of service (DoS). The vulnerability has been assigned a CVSS v3.1 base score of 7.5 (High), with the vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H, indicating that it can be exploited remotely with no privileges or user interaction required (NIST NVD).

Mitigation and workarounds

The vulnerability has been fixed in Expat version 2.4.5. Organizations are strongly advised to upgrade to this version or later. Multiple Linux distributions have released security updates to address this vulnerability, including Debian (DSA-5085-1), Fedora, and Ubuntu (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