CVE-2022-40674

Advisory lineage Upstream: 0 Downstream: 41
Modified
Published: 14 Sept 2022, 00:00
Last modified:30 May 2025, 19:18

Vulnerability Summary

Overall Risk (default)
medium
33/100
CVSS Score
8.1 HIGH
v3.1 (cve.org)
EPSS Score
1.66% LOW
2% probability +0.69%
KEV
Not listed
Ransomware
No reports
Public exploits
None found
Dark Web
Not detected

Timeline

14 Sept 2022, 00:00
Published
Vulnerability first disclosed
30 May 2025, 19:18
Last Modified
Vulnerability information updated

Description

libexpat before 2.4.9 has a use-after-free in the doContent function in xmlparse.c.

CVSS Metrics

  • v3.1HIGHScore: 8.1CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H

EPSS Trends

Current EPSS score: 1.66% Percentile: 74%

Techniques & Countermeasures

  • CWE-416Use After Free

    The product reuses or references memory after it has been freed. At some point afterward, the memory may be allocated again and saved in another pointer, while the original pointer references a location somewhere within the new allocation. Any operations using the original pointer are no longer valid because the memory "belongs" to the code that operates on the new pointer.

Affected Systems

  • debiandebian_linux

    10.0 | 11.0

  • fedoraprojectfedora

    35 | 36 | 37

  • libexpat projectlibexpat

    < 2.4.9

References (12)