{"document":{"aggregate_severity":{"namespace":"https://www.suse.com/support/security/rating/","text":"important"},"category":"csaf_vex","csaf_version":"2.0","distribution":{"text":"Copyright 2024 SUSE LLC. All rights reserved.","tlp":{"label":"WHITE","url":"https://www.first.org/tlp/"}},"lang":"en","notes":[{"category":"summary","text":"SUSE CVE-2023-45666","title":"Title"},{"category":"description","text":"stb_image is a single file MIT licensed library for processing images.  It may look like `stbi__load_gif_main` doesn't give guarantees about the content of output value `*delays` upon failure. Although it sets `*delays` to zero at the beginning, it doesn't do it in case the image is not recognized as GIF and a call to `stbi__load_gif_main_outofmem` only frees possibly allocated memory in `*delays` without resetting it to zero. Thus it would be fair to say the caller of `stbi__load_gif_main` is responsible to free the allocated memory in `*delays` only if `stbi__load_gif_main` returns a non null value. However at the same time the function may return null value, but fail to free the memory in `*delays` if internally `stbi__convert_format` is called and fails. Thus the issue may lead to a memory leak if the caller chooses to free `delays` only when `stbi__load_gif_main` didn't fail or to a double-free if the `delays` is always freed","title":"Description of the CVE"},{"category":"legal_disclaimer","text":"CSAF 2.0 data is provided by SUSE under the Creative Commons License 4.0 with Attribution (CC-BY-4.0).","title":"Terms of use"}],"publisher":{"category":"vendor","contact_details":"https://www.suse.com/support/security/contact/","name":"SUSE Product Security Team","namespace":"https://www.suse.com/"},"references":[{"category":"external","summary":"CVE-2023-45666","url":"https://www.suse.com/security/cve/CVE-2023-45666"},{"category":"external","summary":"SUSE Security Ratings","url":"https://www.suse.com/support/security/rating/"},{"category":"external","summary":"SUSE Bug 1216478 for CVE-2023-45666","url":"https://bugzilla.suse.com/1216478"}],"title":"SUSE CVE CVE-2023-45666","tracking":{"current_release_date":"2025-12-19T01:19:26Z","generator":{"date":"2024-06-04T12:28:34Z","engine":{"name":"cve-database.git:bin/generate-csaf-vex.pl","version":"1"}},"id":"CVE-2023-45666","initial_release_date":"2024-06-04T12:28:34Z","revision_history":[{"date":"2024-06-04T12:28:34Z","number":"2","summary":"Current version"},{"date":"2025-01-01T01:52:50Z","number":"3","summary":"Current version"},{"date":"2025-02-14T06:11:39Z","number":"4","summary":"Current version"},{"date":"2025-02-16T06:04:47Z","number":"5","summary":"Current version"},{"date":"2025-12-17T01:10:36Z","number":"6","summary":"description changed"},{"date":"2025-12-19T01:19:26Z","number":"7","summary":"description changed"}],"status":"interim","version":"7"}}}