CWE
476
Advisory Published
Updated

CVE-2023-45680: Null pointer dereference in vorbis_deinit in stb_vorbis

First published: Fri Oct 20 2023(Updated: )

stb_vorbis is a single file MIT licensed library for processing ogg vorbis files. A crafted file may trigger memory allocation failure in `start_decoder`. In that case the function returns early, the `f->comment_list` is set to `NULL`, but `f->comment_list_length` is not reset. Later in `vorbis_deinit` it tries to dereference the `NULL` pointer. This issue may lead to denial of service.

Credit: security-advisories@github.com

Affected SoftwareAffected VersionHow to fix
Nothings STB=1.22

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Frequently Asked Questions

  • What is CVE-2023-45680?

    CVE-2023-45680 is a vulnerability in the stb_vorbis library that can lead to a null pointer dereference in the vorbis_deinit function.

  • What is the severity level of CVE-2023-45680?

    The severity level of CVE-2023-45680 is medium with a CVSS score of 5.3.

  • How does CVE-2023-45680 affect software?

    CVE-2023-45680 affects software that uses the stb_vorbis library version 1.22.

  • How can I fix CVE-2023-45680?

    To fix CVE-2023-45680, update the stb_vorbis library to a version that has addressed the vulnerability.

  • What is CWE-476?

    CWE-476 is a category of vulnerabilities that includes null pointer dereference vulnerabilities.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2025 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203