Bug 1632834 (CVE-2018-17294) - CVE-2018-17294 liblouis: Stack-based buffer over-read in matchCurrentInput function lou_translateString.c
Summary: CVE-2018-17294 liblouis: Stack-based buffer over-read in matchCurrentInput fu...
Status: NEW
Alias: CVE-2018-17294
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
Depends On: 1632836 1632837
Blocks: 1632835
TreeView+ depends on / blocked
Reported: 2018-09-25 15:58 UTC by Pedro Sampaio
Modified: 2020-12-17 09:55 UTC (History)
2 users (show)

Fixed In Version: liblouis 3.7
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Last Closed:

Attachments (Terms of Use)

Description Pedro Sampaio 2018-09-25 15:58:51 UTC
The matchCurrentInput function inside lou_translateString.c of Liblouis prior to 3.7 does not check the input string's length, allowing attackers to cause a denial of service (application crash via out-of-bounds read) by crafting an input file with certain translation dictionaries.

Upstream patch:


Upstream issue:


Comment 1 Pedro Sampaio 2018-09-25 15:59:50 UTC
Created liblouis tracking bugs for this issue:

Affects: fedora-all [bug 1632836]

Comment 3 Scott Gayou 2018-10-30 21:26:20 UTC
Rebuilt with ASAN. No crashes, no errors. Same with Valgrind. Source has similar potentially vulnerable code, i.e. matchcurrentInput, but since this didn't trigger and is low, closing as NOTAFFECTED instead of going deeper into this.

Note You need to log in before you can comment on or make changes to this bug.