Description
eBook-speaker 6.1.0 through 6.2.0 contains a stack buffer overflow vulnerability in get_attributes() in src/common.c caused by an unbounded strcpy of an element's name attribute. Attackers can craft an EPUB or DAISY book with a name attribute of 511 or more characters to corrupt the stack and crash the reader when opened.
Affected products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
book-readers eBook-speaker
Default version status: unaffected
6.1.0 to ≤ 6.2.0affected
pkg:github/book-readers/ebook-speakerReferences
- https://github.com/book-readers/ebook-speaker/commit/23b5c86585d7e3c27c932b112f4e36858e70f210 ↗
- https://github.com/book-readers/ebook-speaker/blob/4a8f457a0fd65a96463c0fa9bd0612242c081dc8/src/common.c#L631-L632 ↗
- https://www.vulncheck.com/advisories/ebook-speaker-through-6.2.0-stack-based-buffer-overflow-via-element-name-attribute ↗