Buffer Access with Incorrect Length Value Affecting python3.12-test package, versions <0:3.12.13-2.amzn2023.0.1


Severity

Recommended
high

Based on Amazon Linux security rating.

Threat Intelligence

EPSS
0.04% (11th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-AMZN2023-PYTHON312TEST-16352391
  • published3 May 2026
  • disclosed16 Mar 2026

Introduced: 16 Mar 2026

CVE-2026-4224  (opens in a new tab)
CWE-805  (opens in a new tab)

How to fix?

Upgrade Amazon-Linux:2023 python3.12-test to version 0:3.12.13-2.amzn2023.0.1 or higher.
This issue was patched in ALAS2023-2026-1619.

NVD Description

Note: Versions mentioned in the description apply only to the upstream python3.12-test package and not the python3.12-test package as distributed by Amazon-Linux. See How to fix? for Amazon-Linux:2023 relevant fixed versions and status.

When an Expat parser with a registered ElementDeclHandler parses an inline document type definition containing a deeply nested content model a C stack overflow occurs.

CVSS Base Scores

version 3.1