CVE-2023-49356
High · 7.5CVSS
7.5
EPSS
0.7%
Published
Dec 22, 2023
CISA due date
—
Cloudanix analysis
A flaw in an audio gain tool lets attackers send bad files that crash the program and stop it from working.
- Exploitation
- Remote Unauthenticated
- Attacker needs
- None
- Complexity
- Low
- Impact
- Denial Of Service
- Component
- Application
- Class
- Memory Corruption
- Remediation
- Upgrade
- Effort
- Medium
- Patch risk
- Low
What it actually does
Stack buffer overflow in WriteMP3GainAPETag at apetag.c:592 that corrupts memory and triggers a denial of service when processing crafted input.
Why it matters to the business
Attackers can remotely crash MP3Gain instances, causing loss of audio processing availability and requiring restarts or manual intervention.
How an attack unfolds
An attacker crafts a malicious MP3 file containing oversized APE tag data, supplies it to MP3Gain, and triggers the vulnerable function to overflow the stack and crash the process.
How to fix it
Upgrade eclipse/openj9 (GIT) to commit b0699311c7d9341f3d0ebf9a7a4b5546a7ca7004 or apply an equivalent patch that corrects the buffer handling in apetag.c.
How to confirm the fix worked
Rebuild or redeploy with the fixed commit, then confirm the vulnerable code path at apetag.c:592 is no longer present and test with known crashing inputs.
Typical attack path
- Identify a reachable MP3Gain instance or command-line invocation
- Prepare a malformed MP3 file with oversized APE tag metadata
- Invoke MP3Gain on the crafted file to reach WriteMP3GainAPETag
- Trigger the stack overflow leading to immediate process termination
How to detect it
Review process crash logs and core dumps for abnormal termination inside WriteMP3GainAPETag or apetag.c when processing untrusted MP3 files.
What your security team should do
- Apply the referenced commit or newer release immediately on all MP3Gain deployments
- Scan build pipelines and dependency manifests for the affected version
- Add MP3Gain to the list of tools that require input sanitization review
The record
A stack buffer overflow vulnerability in MP3Gain v1.6.2 allows an attacker to cause a denial of service via the WriteMP3GainAPETag function at apetag.c:592.
Affected packages
| Ecosystem | Package | Introduced | Fixed |
|---|---|---|---|
| Debian:11 | mp3gain | 0 | 1.6.2-2 |
| Debian:12 | mp3gain | 0 | 1.6.2-2 |
| Debian:13 | mp3gain | 0 | 1.6.2-2 |
| Ubuntu:22.04:LTS | mp3gain | 0 | 1.6.2-2 |
Related vulnerabilities
- CVE-2026-111497 A buffer overflow vulnerability in the Brotli decoder (c/dec/decode.c) in Google Brotli… CWE-787
- CVE-2026-112397 Pillow is a Python imaging library. CWE-787
- CVE-2026-112059 libLAS through 1.8.1 contains a heap out-of-bounds write vulnerability in the point… CWE-787
- CVE-2026-89088 A flaw was found in parted. CWE-787
- CVE-2026-89085 A flaw was found in parted. CWE-787
- CVE-2026-85746 MariaDB server is a community developed fork of MySQL server. CWE-787
- CVE-2026-107815 MariaDB server is a community developed fork of MySQL server. CWE-787
- CVE-2026-56851 The Nickname profile can panic with an out-of-bounds slice error when transforming… CWE-787