{"answers":{"affected":"It affects 1 product.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2023-45682 exists.","fix":"Apply the vendor's patch.","what":"CVE-2023-45682 is a medium-severity vulnerability in nothings stb, published on 20 Oct 2023. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2023-45682 and fix it if it is affected.\n\nWhat it is: CVE-2023-45682 is a medium-severity vulnerability in nothings stb, published on 20 Oct 2023. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2023-45682 exists.\n\nAffected product: nothings stb. No package-level version data is available, so check the vendor advisory linked from the reference page.\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2023-45682/ (Markdown: https://insights.sbomify.com/CVE-2023-45682/index.md)","id":"CVE-2023-45682","markdown":"https://insights.sbomify.com/CVE-2023-45682/index.md","name":"CVE-2023-45682","record":{"aliases":["DEBIAN-CVE-2023-45682","UBUNTU-CVE-2023-45682"],"analysis":{"component_type":"library","fix_type":"patch","impacts":["data_read"],"network_reachable":"yes","non_default_config":false,"product_category":"stb_vorbis audio library","requires_auth":"none","summary":"A crafted Ogg Vorbis file can trigger an out-of-bounds read in stb_vorbis, potentially leaking internal memory allocation information to an attacker.","user_interaction":"not_required","vuln_class":"information_disclosure"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"stb_vorbis.c","vendor":"nothings"}],"cvss":{"score":5.3,"severity":"medium","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","version":"3.1"},"cwes":[{"id":"CWE-125","name":"Out-of-bounds Read"}],"description":"stb_vorbis is a single file MIT licensed library for processing ogg vorbis files. A crafted file may trigger out of bounds read in `DECODE` macro when `var` is negative. As it can be seen in the definition of `DECODE_RAW` a negative `var` is a valid value. This issue may be used to leak internal memory allocation information.","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"weaponised"},"has_fix":true,"headline":"Wild address read in vorbis_decode_packet_rest in stb_vorbis","id":"CVE-2023-45682","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"information_disclosure","year":"2023"},"n_packages":0,"n_references":4,"next":{"headline":"Cross site scripting via missing binding syntax validation In ACS location in github.com/crewjam/saml","id":"CVE-2023-45683"},"packages":[],"prev":{"headline":"Out of bounds heap buffer write in stb_vorbis","id":"CVE-2023-45681"},"products":["stb"],"published":"2023-10-20","related":[{"cvss_score":7.3,"headline":"Multi-byte write heap buffer overflow in start_decoder in stb_vorbis","id":"CVE-2023-45676","kev_date_added":null,"published":"2023-10-20"},{"cvss_score":7.3,"headline":"Heap buffer out of bounds write in start_decoder in stb_vorbis","id":"CVE-2023-45677","kev_date_added":null,"published":"2023-10-20"},{"cvss_score":7.3,"headline":"Attempt to free an uninitialized memory pointer in vorbis_deinit in stb_vorbis","id":"CVE-2023-45679","kev_date_added":null,"published":"2023-10-20"},{"cvss_score":7.3,"headline":"Out of bounds heap buffer write in stb_vorbis","id":"CVE-2023-45681","kev_date_added":null,"published":"2023-10-20"},{"cvss_score":6.5,"headline":"0 byte write heap buffer overflow in start_decoder in stb_vorbis","id":"CVE-2023-45675","kev_date_added":null,"published":"2023-10-20"},{"cvss_score":6.5,"headline":"Off-by-one heap buffer write in start_decoder in stb_vorbis","id":"CVE-2023-45678","kev_date_added":null,"published":"2023-10-20"},{"cvss_score":5.3,"headline":"Nothings stb stb_vorbis.c setup_free allocation of resources","id":"CVE-2026-5316","kev_date_added":null,"published":"2026-04-02"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"yes","exploitation":"poc","technical_impact":"partial"},"state":"PUBLISHED","updated":"2024-09-12","vendors":["nothings"]},"summary":"A crafted Ogg Vorbis file can trigger an out-of-bounds read in stb_vorbis, potentially leaking internal memory allocation information to an attacker.","url":"https://insights.sbomify.com/CVE-2023-45682/"}