---
id: CVE-2026-32778
title: >-
  libexpat before 2.7.5 allows a NULL pointer dereference in the function
  setContext on retry after an earlier ouf-of-memory condition.
summary: >-
  libexpat before 2.7.5 allows a NULL pointer dereference in the function
  setContext on retry after an earlier ouf-of-memory condition.
severity: low
cvss: 2.9
cvssVector: 'CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L'
cvssSource: cna
cwe:
  - CWE-476
vendor: libexpat project
product: libexpat
affected:
  - libexpat < 2.7.5
ssvc:
  exploitation: none
  automatable: 'no'
  technicalImpact: partial
  timestamp: '2026-03-17T14:38:41.545343Z'
published: '2026-03-16'
updated: '2026-10-15'
sourceUpdated: '2026-10-15T01:18:19.456Z'
source: CVEORG
sourceUrl: 'https://www.cve.org/CVERecord?id=CVE-2026-32778'
references:
  - url: 'https://github.com/libexpat/libexpat/pull/1159'
  - url: 'https://github.com/libexpat/libexpat/pull/1163'
tags:
  - cve.org
epss: 0.00174
epssPercentile: 0.06363
ingestedAt: '2026-10-15T05:52:46.020Z'
---

## Overview

libexpat before 2.7.5 allows a NULL pointer dereference in the function setContext on retry after an earlier ouf-of-memory condition.

## Affected

- `libexpat < 2.7.5`

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
