CVE-2021-41498
High · 7.5CVSS
7.5
EPSS
1.2%
Published
Dec 17, 2021
CISA due date
—
Cloudanix analysis
A programming mistake in an audio library lets attackers crash programs by feeding them an unusually long name, interrupting any service that uses the library.
- Exploitation
- Remote Unauthenticated
- Attacker needs
- None
- Complexity
- Low
- Impact
- Denial Of Service
- Component
- Library
- Class
- Buffer Overflow
- Remediation
- Upgrade
- Effort
- Medium
- Patch risk
- Low
What it actually does
A buffer overflow in the Server_jack_init function allows an attacker-supplied overlong server name to overwrite memory and crash the process, resulting in denial of service.
Why it matters to the business
Services that depend on the Pyo library for audio or JACK server handling can be taken offline, causing availability loss and operational disruption for any downstream applications.
How an attack unfolds
An attacker identifies a target process using the vulnerable Pyo version, crafts an excessively long server name string, and passes it to Server_jack_init, triggering the overflow and immediate crash.
How to fix it
Apply any available upstream patch or fork that adds length validation in Server_jack_init; otherwise isolate or replace the library usage and enforce strict input-length checks before calling the function.
How to confirm the fix worked
Inspect the Server_jack_init implementation for bounds checking on the server-name parameter; fuzz the function with strings longer than the allocated buffer and confirm the process no longer crashes.
Typical attack path
- Locate a network-accessible or locally reachable instance of the vulnerable Pyo library
- Construct a server name argument exceeding the expected buffer size
- Invoke Server_jack_init with the oversized name
- Observe process termination and service unavailability
How to detect it
Review application and system logs for abrupt terminations or segmentation faults during JACK server initialization; correlate with network or API traffic containing unusually long server-name fields.
What your security team should do
- Inventory all deployments that import or link against Pyo
- Apply input sanitization or wrapper functions that truncate server names
- Monitor the project repository for any future fixes or community patches
- Plan migration to a maintained alternative if the library remains unpatched
The record
Buffer overflow in ajaxsoundstudio.com Pyo < and 1.03 in the Server_jack_init function. which allows attackers to conduct Denial of Service attacks by arbitrary constructing a overlong server name.
Affected packages
| Ecosystem | Package | Introduced | Fixed |
|---|---|---|---|
| PyPI | pyo | 0 | 1.0.4 |
| Debian:11 | python-pyo | 0 | No fix |
| Debian:12 | python-pyo | 0 | 1.0.4-1 |
| Debian:13 | python-pyo | 0 | 1.0.4-1 |
| Ubuntu:16.04:LTS | python-pyo | 0 | No fix |
| Ubuntu:18.04:LTS | python-pyo | 0 | No fix |
| Ubuntu:20.04:LTS | python-pyo | 0 | No fix |
| Ubuntu:22.04:LTS | python-pyo | 0 | 1.0.4-1 |
| Ubuntu:Pro:16.04:LTS | python-pyo | 0 | No fix |
| Ubuntu:Pro:18.04:LTS | python-pyo | 0 | No fix |
| Ubuntu:Pro:20.04:LTS | python-pyo | 0 | No fix |
| pypi | pyo | 1.03 | No fix |
Related vulnerabilities
- CVE-2021-41499 Buffer Overflow Vulnerability exists in ajaxsoundstudio.com n Pyo < 1.03 in the… Also affects pyo
- CVE-2026-112108 A vulnerability was determined in ztxz16 fastllm up to 0.1.8.2. CWE-120
- CVE-2026-90804 A vulnerability was detected in GNU Binutils 2.47. CWE-120
- CVE-2026-90803 A security vulnerability has been detected in GNU Binutils 2.47. CWE-120
- CVE-2026-90801 A security flaw has been discovered in GNU Binutils 2.47. CWE-120
- CVE-2026-42808 An issue was discovered in Bosch Sensortec COINES_SDK versions 2.0 through 2.11. The host… CWE-120
- CVE-2026-87931 A vulnerability has been found in Behavioral Technology Group Pavlok Behavioral… CWE-120
- CVE-2026-71613 Buffer Overflow vulnerability in GPAC c2dee3aff638cd96f9617ac5b17dc2868cd90ef3 allows an… CWE-120