Process crash via recursive XML entity expansion
Published May 22, 2023 · Updated Jan 21, 2025
Stack exhaustion in GPAC before 2.2.2 allows local users to crash MP4Box by opening a crafted XML-based media file. The XML SAX parser recursively expands nested entity values without a depth limit, repeatedly re-entering xml_sax_parse until the process stack is exhausted. Exploitation requires MP4Box to process the crafted file and interrupts only that application process.
Summary
What happened
Stack exhaustion in GPAC before 2.2.2 allows local users to crash MP4Box by opening a crafted XML-based media file. The XML SAX parser recursively expands nested entity values without a depth limit, repeatedly re-entering xml_sax_parse until the process stack is exhausted. Exploitation requires MP4Box to process the crafted file and interrupts only that application process.
The record
- CVE
- CVE-2023-2837
- Published
- May 22, 2023
- Updated
- Jan 21, 2025
- Vendor
- GPAC Project
- Product
- GPAC
- Classifications
- CWE-121, T1203
- Attack vector
- local
- Privileges
- unauthenticated
Timeline
How it unfolded
- May 22, 2023CVE publishedPublication date reported by the CVE source.
- Jan 21, 2025Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=unspecified <2.2.2
What conditions does exploitation require?
What is affected?
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Weakness, pattern, technique
Public exploit references
- GPAC Issue 2473 proof-of-concept fileproof of concept · demonstrated
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo