Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 835093 (CVE-2022-26981, CVE-2022-31783) - dev-libs/liblouis: multiple vulnerabilities
Summary: dev-libs/liblouis: multiple vulnerabilities
Status: CONFIRMED
Alias: CVE-2022-26981, CVE-2022-31783
Product: Gentoo Security
Classification: Unclassified
Component: Vulnerabilities (show other bugs)
Hardware: All Linux
: Normal minor (vote)
Assignee: Gentoo Security
URL: https://github.com/liblouis/liblouis/...
Whiteboard: B3 [upstream/ebuild]
Keywords:
Depends on:
Blocks:
 
Reported: 2022-03-13 22:58 UTC by John Helmert III
Modified: 2022-06-02 21:58 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description John Helmert III archtester Gentoo Infrastructure gentoo-dev Security 2022-03-13 22:58:41 UTC
CVE-2022-26981:

Liblouis through 3.21.0 has a buffer overflow in compilePassOpcode in compileTranslationTable.c (called, indirectly, by tools/lou_checktable.c).
Comment 2 John Helmert III archtester Gentoo Infrastructure gentoo-dev Security 2022-06-02 21:58:01 UTC
CVE-2022-31783 (https://github.com/liblouis/liblouis/commit/ff747ec5e1ac54d54194846f6fe5bfc689192a85):
https://github.com/liblouis/liblouis/issues/1214

Liblouis 3.21.0 has an out-of-bounds write in compileRule in compileTranslationTable.c, as demonstrated by lou_trace.

The actual (unreleased) patch is: https://github.com/liblouis/liblouis/commit/2e4772befb2b1c37cb4b9d6572945115ee28630a