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
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| book-readers | eBook-speaker | 6.1.0 – ≤ 6.2.0 | — |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | ebook-speaker | No fix yet | — |
| Debian 13 | ebook-speaker | No fix yet | — |
| Debian 12 | ebook-speaker | No fix yet | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 26.10 | ebook-speaker | No fix yet | — |
| Ubuntu 26.04 LTS | ebook-speaker | No fix yet | — |
| Ubuntu 24.04 LTS | ebook-speaker | No fix yet | — |
| Ubuntu 22.04 LTS | ebook-speaker | No fix yet | — |
| Ubuntu 20.04 LTS | ebook-speaker | No fix yet | — |
Show 2 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 18.04 LTS | ebook-speaker | No fix yet | — |
| Ubuntu 16.04 LTS | ebook-speaker | No fix yet | — |
References
- https://github.com/book-readers/ebook-speaker/commit/23b5c86585d7e3c27c932b112f4e36858e70f210 patch
- https://github.com/book-readers/ebook-speaker/blob/4a8f457a0fd65a96463c0fa9bd0612242c081dc8/src/common.c#L631-L632 technical-description
- VulnCheck Advisory: eBook-speaker through 6.2.0 Stack-based Buffer Overflow via element name attribute third-party-advisory