Alerts This Week
Warning Icon 1 1,154
Alerts This Week
Warning Icon 1 1,154

Mageia 9: 2024-0186 Critical: stb Library Integer Overflow

mageia
Calendar Grey May 21, 2024
Dist Mageia Esm H88
Mageia 9 enhancements for libstb focus on resolving serious integer overflow vulnerabilities that could result in arbitrary code execution.
stb_vorbis is a single file MIT licensed library for processing ogg vorbis files

Summary

stb_vorbis is a single file MIT licensed library for processing ogg vorbis files. A crafted file may trigger memory write past an allocated heap buffer in `start_decoder`. The root cause is a potential integer overflow in `sizeof(char*) * (f->comment_list_length)` which may make `setup_malloc` allocate less memory than required. Since there is another integer overflow an attacker may overflow it too to force `setup_malloc` to return 0 and make the exploit more reliable. This issue may lead to code execution.

References

- https://bugs.mageia.org/show_bug.cgi?id=33205

- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/2MHQQXX27ACLLYUQHWSL3DVCOGUK5ZA4/

- https://www.cve.org/CVERecord?id=CVE-2023-45681

- https://www.cve.org/CVERecord?id=CVE-2023-47212

Resolution

SRPMS

- 9/core/stb-0-0.git20230129.4.1.mga9

Severity
critical
Lowest
Low
Medium
High
Critical

Publication date: 21 May 2024
URL: https://advisories.mageia.org/MGASA-2024-0186.html
Type: security
CVE: CVE-2023-45681, CVE-2023-47212

Get the latest News and Insights

Get the latest Linux and open source security news straight to your inbox.

Your message here