Description
xhtml_translate_entity in xhtml.c in epub2txt (aka epub2txt2) through 2.02 allows a stack-based buffer overflow via a crafted EPUB document.
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.
Alpine
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine v3.24 | epub2txt | 2.06-r0 | — |
| Alpine v3.23 | epub2txt | 2.06-r0 | — |
| Alpine v3.22 | epub2txt | 2.06-r0 | — |
| Alpine v3.21 | epub2txt | 2.06-r0 | — |
| Alpine v3.20 | epub2txt | 2.06-r0 | — |