CVE-2025-27113: CWE-476 NULL Pointer Dereference in xmlsoft libxml2
libxml2 before 2.12.10 and 2.13.x before 2.13.6 has a NULL pointer dereference in xmlPatMatch in pattern.c.
AI Analysis
Technical Summary
CVE-2025-27113 identifies a NULL pointer dereference vulnerability in the xmlPatMatch function of the libxml2 library, specifically in versions prior to 2.12.10 and 2.13.x before 2.13.6. libxml2 is a widely used XML parsing library in numerous applications and systems. The vulnerability arises when the xmlPatMatch function attempts to dereference a NULL pointer due to improper handling of certain XML pattern matching scenarios, leading to a crash of the parsing process. This results in a denial of service condition, as the affected application or service may terminate unexpectedly when processing crafted XML input. The CVSS v3.1 score is 2.9, reflecting low severity due to the requirement for local access, high attack complexity, and no impact on confidentiality or integrity. No authentication or user interaction is needed, but the attacker must have local access to the system. There are no known exploits in the wild, and no official patches have been linked yet, although upgrading to libxml2 versions 2.12.10 or 2.13.6 is recommended once available. The vulnerability is categorized under CWE-476 (NULL Pointer Dereference), a common programming error that can cause application instability. Given libxml2's extensive use in open-source and commercial software, any application relying on vulnerable versions could be susceptible to crashes triggered by malicious XML inputs.
Potential Impact
For European organizations, the primary impact of CVE-2025-27113 is the potential for denial of service in applications and services that utilize vulnerable libxml2 versions for XML parsing. This could disrupt business operations, especially in environments where XML processing is critical, such as financial services, telecommunications, and government IT systems. While the vulnerability does not allow data theft or code execution, service interruptions could affect availability and reliability of critical systems. Organizations running legacy software or custom applications embedding libxml2 are at higher risk. The low severity and high attack complexity reduce the likelihood of widespread exploitation, but targeted attacks or accidental crashes could still cause operational issues. European entities with stringent uptime requirements or regulatory obligations around service availability should prioritize remediation to avoid compliance risks and reputational damage.
Mitigation Recommendations
1. Upgrade libxml2 to version 2.12.10 or 2.13.6 as soon as these versions are available and verified stable. 2. Conduct an inventory of all software and systems using libxml2 to identify vulnerable versions. 3. Where immediate upgrade is not feasible, implement application-level input validation and filtering to detect and block malformed or suspicious XML inputs that could trigger the NULL pointer dereference. 4. Employ runtime monitoring and logging to detect crashes or abnormal terminations related to XML parsing components. 5. Isolate critical XML processing services to minimize impact of potential crashes on broader infrastructure. 6. Engage with software vendors and open-source communities to track patch releases and security advisories related to libxml2. 7. Incorporate this vulnerability into incident response plans to quickly address denial of service events stemming from XML parsing failures.
Affected Countries
Germany, France, United Kingdom, Netherlands, Italy
CVE-2025-27113: CWE-476 NULL Pointer Dereference in xmlsoft libxml2
Description
libxml2 before 2.12.10 and 2.13.x before 2.13.6 has a NULL pointer dereference in xmlPatMatch in pattern.c.
AI-Powered Analysis
Technical Analysis
CVE-2025-27113 identifies a NULL pointer dereference vulnerability in the xmlPatMatch function of the libxml2 library, specifically in versions prior to 2.12.10 and 2.13.x before 2.13.6. libxml2 is a widely used XML parsing library in numerous applications and systems. The vulnerability arises when the xmlPatMatch function attempts to dereference a NULL pointer due to improper handling of certain XML pattern matching scenarios, leading to a crash of the parsing process. This results in a denial of service condition, as the affected application or service may terminate unexpectedly when processing crafted XML input. The CVSS v3.1 score is 2.9, reflecting low severity due to the requirement for local access, high attack complexity, and no impact on confidentiality or integrity. No authentication or user interaction is needed, but the attacker must have local access to the system. There are no known exploits in the wild, and no official patches have been linked yet, although upgrading to libxml2 versions 2.12.10 or 2.13.6 is recommended once available. The vulnerability is categorized under CWE-476 (NULL Pointer Dereference), a common programming error that can cause application instability. Given libxml2's extensive use in open-source and commercial software, any application relying on vulnerable versions could be susceptible to crashes triggered by malicious XML inputs.
Potential Impact
For European organizations, the primary impact of CVE-2025-27113 is the potential for denial of service in applications and services that utilize vulnerable libxml2 versions for XML parsing. This could disrupt business operations, especially in environments where XML processing is critical, such as financial services, telecommunications, and government IT systems. While the vulnerability does not allow data theft or code execution, service interruptions could affect availability and reliability of critical systems. Organizations running legacy software or custom applications embedding libxml2 are at higher risk. The low severity and high attack complexity reduce the likelihood of widespread exploitation, but targeted attacks or accidental crashes could still cause operational issues. European entities with stringent uptime requirements or regulatory obligations around service availability should prioritize remediation to avoid compliance risks and reputational damage.
Mitigation Recommendations
1. Upgrade libxml2 to version 2.12.10 or 2.13.6 as soon as these versions are available and verified stable. 2. Conduct an inventory of all software and systems using libxml2 to identify vulnerable versions. 3. Where immediate upgrade is not feasible, implement application-level input validation and filtering to detect and block malformed or suspicious XML inputs that could trigger the NULL pointer dereference. 4. Employ runtime monitoring and logging to detect crashes or abnormal terminations related to XML parsing components. 5. Isolate critical XML processing services to minimize impact of potential crashes on broader infrastructure. 6. Engage with software vendors and open-source communities to track patch releases and security advisories related to libxml2. 7. Incorporate this vulnerability into incident response plans to quickly address denial of service events stemming from XML parsing failures.
Affected Countries
For access to advanced analysis and higher rate limits, contact root@offseq.com
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- mitre
- Date Reserved
- 2025-02-18T00:00:00.000Z
- Cvss Version
- 3.1
- State
- PUBLISHED
Threat ID: 6909153cc28fd46ded7bacb0
Added to database: 11/3/2025, 8:49:00 PM
Last enriched: 11/3/2025, 8:58:42 PM
Last updated: 11/5/2025, 12:19:08 PM
Views: 1
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Related Threats
CVE-2025-12497: CWE-98 Improper Control of Filename for Include/Require Statement in PHP Program ('PHP Remote File Inclusion') in averta Premium Portfolio Features for Phlox theme
HighCVE-2025-11745: CWE-80 Improper Neutralization of Script-Related HTML Tags in a Web Page (Basic XSS) in spacetime Ad Inserter – Ad Manager & AdSense Ads
MediumCVE-2025-58337: CWE-284 Improper Access Control in Apache Software Foundation Apache Doris-MCP-Server
UnknownCVE-2025-12469: CWE-862 Missing Authorization in amans2k FunnelKit Automations – Email Marketing Automation and CRM for WordPress & WooCommerce
MediumCVE-2025-12468: CWE-200 Exposure of Sensitive Information to an Unauthorized Actor in amans2k FunnelKit Automations – Email Marketing Automation and CRM for WordPress & WooCommerce
MediumActions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need enhanced features?
Contact root@offseq.com for Pro access with improved analysis and higher rate limits.