CVE-2026-24515
Alma Linux vulnerability analysis and mitigation

Overview

CVE-2026-24515 is a NULL Pointer Dereference vulnerability in libexpat (the Expat XML parsing library) where XML_ExternalEntityParserCreate fails to copy unknown encoding handler user data to subparsers. It affects all versions of libexpat before 2.7.4. The vulnerability was assigned on January 23, 2026, with the fix merged the same day and targeted for the 2.7.4 release. It carries a CVSS v3.1 base score of 2.5 (Low) per NVD's reassessment, and 2.9 (Low) per MITRE (GitHub PR, NVD).

Technical details

The root cause is classified as CWE-476 (NULL Pointer Dereference). When an application uses both XML_SetUnknownEncodingHandler (to register a custom encoding handler with associated user data) and XML_ExternalEntityParserCreate (to create a subparser for external entities), the subparser does not inherit the unknown encoding handler's user data pointer. This results in a NULL pointer being passed where valid user data is expected, which can trigger a dereference fault during XML parsing of external entities with unknown encodings. Exploitation requires an attacker to supply a crafted XML document that triggers external entity parsing with an unknown encoding, and the application must use both of the aforementioned API functions (GitHub PR, NVD).

Impact

Successful exploitation results in a limited availability impact — specifically, a potential crash or denial of service of the parsing process — with no confidentiality or integrity impact. The scope is unchanged and confined to the affected process, meaning lateral movement or data exfiltration are not direct consequences of this vulnerability. The impact is constrained to applications that use both XML_ExternalEntityParserCreate and XML_SetUnknownEncodingHandler with non-NULL user data, limiting the affected population (NVD, GitHub PR).

Mitigation and workarounds

The fix is included in libexpat version 2.7.4, released in late January 2026, which makes XML_ExternalEntityParserCreate properly copy the unknown encoding handler user data to subparsers. Administrators and developers should upgrade libexpat to 2.7.4 or later. Downstream distributions including Ubuntu (USN-8022-1, USN-8023-1), SUSE, Mageia, OpenBSD, Fedora, and FreeBSD have issued updated packages. Python releases 3.10.20, 3.11.15, and 3.12.13 also incorporate the fix for their bundled expat (GitHub PR, Expat Blog, Python Downloads).

Community reactions

Initial NVD analysis incorrectly scored CVE-2026-24515 as Critical (CVSS 9.8), which caused confusion in the community; NVD subsequently corrected the score to 2.5 (Low) after reanalysis on February 5, 2026. Community members on the GitHub PR noted the discrepancy and confirmed the corrected low severity. The vulnerability received broad downstream attention due to libexpat's widespread use, prompting rapid patching across Linux distributions, Python, OpenBSD, Splunk, Dell, Siemens, and Hitachi Energy products (GitHub PR, Siemens Advisory).

Additional resources


SourceThis report was generated using AI

Related Alma Linux vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-47063HIGH7.5
  • Amazon Corretto JDK logoAmazon Corretto JDK
  • java-17-openjdk-jmods
NoYesJul 21, 2026
CVE-2026-47058HIGH7.4
  • Amazon Corretto JDK logoAmazon Corretto JDK
  • java-1.8.0-openjdk-devel
NoYesJul 21, 2026
CVE-2026-60147MEDIUM6.5
  • Amazon Corretto JDK logoAmazon Corretto JDK
  • java-1.8.0-openjdk-demo
NoYesJul 21, 2026
CVE-2026-47059LOW3.7
  • Amazon Corretto JDK logoAmazon Corretto JDK
  • java-11-amazon-corretto
NoYesJul 21, 2026
CVE-2026-14957NONEN/A
  • Rocky Linux logoRocky Linux
  • libreswan
NoYesJul 27, 2026

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