CVE-2026-137074
published medium CVSS 4.0 · 5.7libxml2 2.12.6 through 2.15.4 NULL Pointer Dereference via xmlTextReaderConstEncoding()
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| GNOME | — | libxml22.12.6 through 2.15.4 · Other versions: unaffected | Affected | Not stated | VulnCheck |
| Amazon Linux | AL2 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
Description
GNOME libxml2 2.12.6 through 2.15.4 contains a NULL pointer dereference vulnerability in xmlTextReaderConstEncoding() after a reader is reset with xmlReaderNewWalker(). Because xmlCtxtReset() leaves ctxt->input NULL, querying the document encoding makes xmlGetActualEncoding() read ctxt->input->flags without a check, crashing the application and causing denial of service.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 5.7 / 10
- Severity
- medium
- Provider
- VulnCheck · cna
- Vector string
- CVSS:4.0/AV:L/AC:H/AT:P/PR:N/UI:P/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
Additional Assessments
| Version | Score | Severity | Provider | Vector | Scenarios |
|---|---|---|---|---|---|
| 3.1 | 4.7 | medium | VulnCheck · cna | CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:N/I:N/A:H | — |
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| GNOME | libxml2 | 2.12.6 through 2.15.4 (affected · semver)Default: unaffected | VulnCheck · cna |
Weaknesses
1- CWE-476 NULL Pointer Dereference
References
4- https://gitlab.gnome.org/GNOME/libxml2/-/blob/v2.15.4/parserInternals.c#L1743
- https://gitlab.gnome.org/GNOME/libxml2/-/blob/v2.15.4/xmlreader.c#L2856
- https://gitlab.gnome.org/GNOME/libxml2/-/issues/1212
- VulnCheck Advisory: libxml2 2.12.6 through 2.15.4 NULL Pointer Dereference via xmlTextReaderConstEncoding() https://www.vulncheck.com/advisories/libxml2-2.12.6-through-2.15.4-null-pointer-dereference-via-xmltextreaderconstencoding
Provider assertions
2VulnCheck · cna
libxml2 2.12.6 through 2.15.4 NULL Pointer Dereference via xmlTextReaderConstEncoding()
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 4ffc212727be09f9d7bd2ffd3c9254eb4a794bc2ea5cfdcf13b7a91bd8a4474f
- Ingested
- 25 Nov 2026, 20:03:18 UTC
- Source record
- Official CVE record