---
id: CVE-2022-23852
title: >-
  Expat (aka libexpat) before 2.4.4 has a signed integer overflow in
  XML_GetBuffer, for configurations with a nonzero XML_CONTEXT_BYTES.
summary: >-
  Expat (aka libexpat) before 2.4.4 has a signed integer overflow in
  XML_GetBuffer, for configurations with a nonzero XML_CONTEXT_BYTES.
severity: critical
cvss: 9.8
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H'
cwe:
  - CWE-190
  - CWE-190
vendor: libexpat_project
product: libexpat
affected:
  - libexpat < 2.4.4
  - clustered_data_ontap
  - oncommand_workflow_automation
  - nessus < 8.15.3
  - 'nessus >= 10.0.0, < 10.1.1'
  - communications_metasolv_solution = 6.3.1
  - debian_linux = 9.0
  - sinema_remote_connect_server < 3.1
patched:
  - libexpat 2.4.4
  - nessus 10.1.1
  - sinema_remote_connect_server 3.1
published: '2022-01-24'
updated: '2026-10-14'
sourceUpdated: '2026-10-14T16:17:27.353'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2022-23852'
references:
  - url: 'https://cert-portal.siemens.com/productcert/pdf/ssa-484086.pdf'
    label: cve@mitre.org
  - url: 'https://github.com/libexpat/libexpat/pull/550'
    label: cve@mitre.org
  - url: 'https://lists.debian.org/debian-lts-announce/2022/03/msg00007.html'
    label: cve@mitre.org
  - url: 'https://security.gentoo.org/glsa/202209-24'
    label: cve@mitre.org
  - url: 'https://security.netapp.com/advisory/ntap-20220217-0001/'
    label: cve@mitre.org
  - url: 'https://www.debian.org/security/2022/dsa-5073'
    label: cve@mitre.org
  - url: 'https://www.oracle.com/security-alerts/cpuapr2022.html'
    label: cve@mitre.org
  - url: 'https://www.tenable.com/security/tns-2022-05'
    label: cve@mitre.org
  - url: 'https://cert-portal.siemens.com/productcert/pdf/ssa-484086.pdf'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://github.com/libexpat/libexpat/pull/550'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://lists.debian.org/debian-lts-announce/2022/03/msg00007.html'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://security.gentoo.org/glsa/202209-24'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://security.netapp.com/advisory/ntap-20220217-0001/'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://www.debian.org/security/2022/dsa-5073'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://www.oracle.com/security-alerts/cpuapr2022.html'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://www.tenable.com/security/tns-2022-05'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://cert-portal.siemens.com/productcert/html/ssa-398330.html'
    label: 0b142b55-0307-4c5a-b3c9-f314f3fb7c5e
  - url: 'https://cert-portal.siemens.com/productcert/html/ssa-484086.html'
    label: 0b142b55-0307-4c5a-b3c9-f314f3fb7c5e
tags:
  - nvd
  - exploit-available
epss: 0.04563
epssPercentile: 0.91406
exploits:
  github: 1
  githubRepos:
    - 'https://github.com/Satheesh575555/external_expat_AOSP10_r33_CVE-2022-23852'
  checkedAt: '2026-10-14T16:41:07.235Z'
exploitAvailable: true
ingestedAt: '2026-10-14T16:40:32.044Z'
---

## Overview

Expat (aka libexpat) before 2.4.4 has a signed integer overflow in XML_GetBuffer, for configurations with a nonzero XML_CONTEXT_BYTES.

## Affected

- `libexpat < 2.4.4`
- `clustered_data_ontap`
- `oncommand_workflow_automation`
- `nessus < 8.15.3`
- `nessus >= 10.0.0, < 10.1.1`
- `communications_metasolv_solution = 6.3.1`
- `debian_linux = 9.0`
- `sinema_remote_connect_server < 3.1`

## Remediation

Upgrade past the affected range:

- `libexpat 2.4.4`
- `nessus 10.1.1`
- `sinema_remote_connect_server 3.1`
