INFSA-2023:3068: mingw-expat security update
Information about definition
Identificator: INFSA-2023:3068
Type: security
Release date: 2025-10-31 13:16:50 UTC
Information about package
Expat is a C library for parsing XML documents. The mingw-expat packages provide a port of the Expat library for MinGW.
Vulnerabilities description
- CVE-2022-40674
A vulnerability was found in expat. With this flaw, it is possible to create a situation in which parsing is suspended while substituting in an internal entity so that XML_ResumeParser directly uses the internalEntityProcessor as its processor. If the subsequent parse includes some unclosed tags, this will return without calling storeRawNames to ensure that the raw versions of the tag names are stored in memory other than the parse buffer itself. Issues occur if the parse buffer is changed or reallocated (for example, if processing a file line by line), problems occur. Using this vulnerability in the doContent function allows an attacker to triage a denial of service or potentially arbitrary code execution.
Severity level
| CVE | Score CVSS 2.0 | Score CVSS 3.x | Score CVSS 4.0 |
|---|---|---|---|
|
NIST — CVE-2022-40674
|
no information | 8.1 | no information |
Updated packages