VYPR
Unrated severityNVD Advisory· Published Aug 4, 2021· Updated Aug 4, 2024

CVE-2021-37231

CVE-2021-37231

Description

A stack-buffer-overflow occurs in Atomicparsley 20210124.204813.840499f through APar_readX() in src/util.cpp while parsing a crafted mp4 file because of the missing boundary check.

AI Insight

LLM-synthesized narrative grounded in this CVE's description and references.

Stack-buffer-overflow in Atomicparsley 20210124.204813.840499f via APar_readX() allows denial of service or potential code execution via crafted MP4 file.

Vulnerability

A stack-buffer-overflow vulnerability exists in Atomicparsley version 20210124.204813.840499f in the APar_readX() function in src/util.cpp. The function lacks a boundary check when reading data from a crafted MP4 file, leading to a write of size 0x203c (8252 bytes) into a stack buffer, as demonstrated by AddressSanitizer output [1]. The overflow occurs during parsing of the file when using arguments such as -T 1 -t +.

Exploitation

An attacker can exploit this vulnerability by providing a specially crafted MP4 file to Atomicparsley. No authentication or special privileges are required; the user only needs to run the tool on the malicious file. The crash occurs during the APar_ExtractTrackDetails call chain, triggered by the APar_readX function reading beyond the allocated stack buffer [1]. The exploit does not require user interaction beyond opening the file.

Impact

Successful exploitation results in a stack-buffer-overflow, which can cause a segmentation fault and denial of service. Under certain conditions, it may allow arbitrary code execution, as indicated by the Gentoo security advisory [2]. The vulnerability affects the confidentiality, integrity, and availability of the system depending on the attacker's ability to control the overflow data.

Mitigation

The vulnerability is fixed in Atomicparsley version 0.9.6_p20210715_p151551 and later, as per the Gentoo GLSA 202305-01 [2]. Users should upgrade to this version or later. If upgrading is not possible, avoid processing untrusted MP4 files with Atomicparsley. No other workarounds are documented.

AI Insight generated on May 27, 2026. Synthesized from this CVE's description and the cited reference URLs; citations are validated against the source bundle.

Affected products

2

Patches

0

No patches discovered yet.

Vulnerability mechanics

AI mechanics synthesis has not run for this CVE yet.

References

3

News mentions

0

No linked articles in our index yet.