CVE-2026-5317

Nothings stb stb_vorbis.c start_decoder out-of-bounds write

Published Apr 2, 2026 CVSS 4.0 · 5.3 Medium EPSS < 1% KEV · Not listed
Description
A security flaw has been discovered in Nothings stb up to 1.22. This affects the function start_decoder of the file stb_vorbis.c. The manipulation results in out-of-bounds write. The attack may be performed from remote. The exploit has been released to the public and may be used for attacks. The vendor was contacted early about this disclosure but did not respond in any way.

Analysis

AI-generated

Technical impact

An out-of-bounds write occurs in the start_decoder function of stb_vorbis.c when decoding Vorbis audio data. The flaw can corrupt memory registers and, if triggered by crafted Vorbis streams, potentially allow arbitrary code execution or crash the application. The vulnerability has an attacker able to target a system remotely by providing malicious audio input.

Affected Systems

The vulnerability affects the Nothings stb library in versions up to 1.22, which is used by many open-source applications that embed stb_vorbis for audio decoding. Any product shipping with these or earlier versions is potentially exposed.

Risk and Exploitability

The CVSS score of 5.3 denotes a Medium severity. EPSS data is unavailable, so the precise probability of exploitation is unclear, but the public availability of an exploit and the remote attack surface raise the risk. The issue is not in the CISA KEV catalog; however, without an official patch, the risk remains moderate, with the possibility of denial of service or code execution if memory corruption is leveraged.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade the stb library to a version newer than 1.22 after a vendor fix is released.
  • If an upgrade cannot be performed immediately, isolate or remove usage of stb_vorbis for processing untrusted audio, or execute the decoding in a sandboxed environment.
  • Monitor applications for crashes or abnormal memory behavior that may indicate exploitation.
  • Keep abreast of Nothings releases and security advisories for a confirmed patch or workaround.

Generated by OpenCVE AI on April 2, 2026 at 04:22 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
First Time appeared Nothings stb Vorbis.c
CPEs cpe:2.3:a:nothings:stb_vorbis.c:*:*:*:*:*:*:*:*
Vendors & Products Nothings stb Vorbis.c
Type Values Removed Values Added
First Time appeared Nothings
Nothings stb
Vendors & Products Nothings
Nothings stb
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
Description A security flaw has been discovered in Nothings stb up to 1.22. This affects the function start_decoder of the file stb_vorbis.c. The manipulation results in out-of-bounds write. The attack may be performed from remote. The exploit has been released to the public and may be used for attacks. The vendor was contacted early about this disclosure but did not respond in any way.
Title Nothings stb stb_vorbis.c start_decoder out-of-bounds write
Weaknesses CWE-119
CWE-787
References
Metrics cvssV2_0

{'score': 7.5, 'vector': 'AV:N/AC:L/Au:N/C:P/I:P/A:P/E:POC/RL:ND/RC:UR'}

cvssV3_0

{'score': 6.3, 'vector': 'CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L/E:P/RL:X/RC:R'}

cvssV3_1

{'score': 6.3, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L/E:P/RL:X/RC:R'}

cvssV4_0

{'score': 5.3, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P'}

Weaknesses
  • CWE-119

    Improper Restriction of Operations within the Bounds of a Memory Buffer

  • CWE-787

    Out-of-bounds Write

Sources

Status
PUBLISHED
Assigner
VulDB
Published
Updated
Apr 2, 2026, 1:11 PM
Reserved
Apr 1, 2026, 12:40 PM
Status
Analyzed
Published
Apr 2, 2026, 1:16 AM
Modified
Oct 26, 2026, 10:10 PM
Severity
Moderate
Public date
Apr 2, 2026, 12:45 AM