---
title: "CVE-2023-45675"
canonical_url: "https://pkgseek.com/security/CVE-2023-45675"
locale: "zh-CN"
source: "pkgseek"
entity_type: "cve"
severity: "high"
---

# CVE-2023-45675

stb_vorbis is a single file MIT licensed library for processing ogg vorbis files. A crafted file may trigger out of bounds write in \`f-&gt;vendor\[len\] = (char)'\\0';\`. The root cause is that if the len read in \`start_decoder\` is \`-1\` and \`len + 1\` becomes 0 when passed to \`setup_malloc\`. The \`setup_malloc\` behaves differently when \`f-&gt;alloc.alloc_buffer\` is pre-allocated. Instead of returning \`NULL\` as in \`malloc\` case it shifts the pre-allocated buffer by zero and returns the currently available memory block. This issue may lead to code execution.

CVE-2023-45675 严重级别为 HIGH (7.8)，共索引 2 条受影响软件包构建记录，涉及 1 个发行版。

- **级别 / 评分**: HIGH (7.8)
- **受影响构建数**: 2
- **涉及发行版**: 1
- **已标明修复版本发行版**: 暂无已标明修复记录

## Affected Packages

| Distribution | Release | Package | Version | Fixed In |
| --- | --- | --- | --- | --- |
| Debian | trixie | libstb0t64 | 0.0~git20241109.5c20573+ds-1 | — |
| Debian | trixie | libstb-dev | 0.0~git20241109.5c20573+ds-1 | — |
