CVE-2022-26981
Liblouis through 3.21.0 has a buffer overflow in compilePassOpcode in compileTranslationTable.c ...
Liblouis through 3.21.0 has a buffer overflow in compilePassOpcode in compileTranslationTable.c (called, indirectly, by tools/lou_checktable.c).
Attack profile
How easy it is to exploit
- Attack vector
- Local
- Complexity
- Low
- Privileges needed
- None
- User interaction
- Required
What an attacker can affect
- Confidentiality
- High
- Integrity
- High
- Availability
- High
Exploit likelihood
What each source reports
NVD Score used
7.8
Liblouis through 3.21.0 has a buffer overflow in compilePassOpcode in compileTranslationTable.c (called, indirectly, by tools/lou_checktable.c).
- Record
CVE-2022-26981- CVSS 3.1
- 7.8 High
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H - CVSS 2.0
- 6.8 Medium
AV:N/AC:M/Au:N/C:P/I:P/A:P - Weakness
- CWE-120
- Updated
- 2026-11-02
CVE List No score
Liblouis through 3.21.0 has a buffer overflow in compilePassOpcode in compileTranslationTable.c (called, indirectly, by tools/lou_checktable.c).
- Record
CVE-2022-26981- Updated
- 2026-11-02
EUVDEUVD-2022-31522 No score
Liblouis through 3.21.0 has a buffer overflow in compilePassOpcode in compileTranslationTable.c (called, indirectly, by tools/lou_checktable.c).
- Record
EUVD-2022-31522- Updated
- 2026-11-03
GitHub AdvisoriesGHSA-xrp8-mw8v-p6mq
7.8
Liblouis through 3.21.0 has a buffer overflow in compilePassOpcode in compileTranslationTable.c ...
Liblouis through 3.21.0 has a buffer overflow in compilePassOpcode in compileTranslationTable.c (called, indirectly, by tools/lou_checktable.c).
- Record
GHSA-xrp8-mw8v-p6mq- CVSS 3.1
- 7.8 High
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H - Weakness
- CWE-120
- Updated
- 2026-11-02
OSVALPINE-CVE-2022-26981
7.8
Liblouis through 3.21.0 has a buffer overflow in compilePassOpcode in compileTranslationTable.c (called, indirectly, by tools/lou_checktable.c).
- Record
ALPINE-CVE-2022-26981- CVSS 3.1
- 7.8 High
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H - Updated
- 2026-11-03
OSVDEBIAN-CVE-2022-26981
7.8
Liblouis through 3.21.0 has a buffer overflow in compilePassOpcode in compileTranslationTable.c (called, indirectly, by tools/lou_checktable.c).
- Record
DEBIAN-CVE-2022-26981- CVSS 3.1
- 7.8 High
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H - Updated
- 2026-11-03
Show 11 moreShow less
OSVOESA-2023-1920
7.8
liblouis security update
The Liblouis software suite provides an open-source braille translator, back-translator and formatter for a large number of languages and braille codes. It is a set of libraries designed for use in any of a number of applications, both free and commercial. It is written in C so that it does not require a runtime environment and hence can be used in applications written in high-level languages such as Java and Python.
Security Fix(es):
Liblouis through 3.21.0 has a buffer overflow in compilePassOpcode in compileTranslationTable.c (called, indirectly, by tools/lou_checktable.c).(CVE-2022-26981)
- Record
OESA-2023-1920- CVSS 3.1
- 7.8 High
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
OSVOESA-2023-1949
7.8
liblouis security update
The Liblouis software suite provides an open-source braille translator, back-translator and formatter for a large number of languages and braille codes. It is a set of libraries designed for use in any of a number of applications, both free and commercial. It is written in C so that it does not require a runtime environment and hence can be used in applications written in high-level languages such as Java and Python.
Security Fix(es):
Liblouis through 3.21.0 has a buffer overflow in compilePassOpcode in compileTranslationTable.c (called, indirectly, by tools/lou_checktable.c).(CVE-2022-26981)
- Record
OESA-2023-1949- CVSS 3.1
- 7.8 High
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
OSVUBUNTU-CVE-2022-26981
7.8
Liblouis through 3.21.0 has a buffer overflow in compilePassOpcode in compileTranslationTable.c (called, indirectly, by tools/lou_checktable.c).
- Record
UBUNTU-CVE-2022-26981- CVSS 3.1
- 7.8 High
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
OSVCLSA-2026-1784221215 No score
liblouis: Fix of CVE-2022-26981
- CVE-2022-26981: Fix buffer overflow in compilePassOpcode (compileTranslationTable.c)
- Record
CLSA-2026-1784221215- Updated
- 2026-11-02
OSVCLSA-2026-1784292256 No score
liblouis: Fix of CVE-2022-26981
- CVE-2022-26981: fix buffer overflow in compilePassOpcode in compileTranslationTable.c
- Record
CLSA-2026-1784292256- Updated
- 2026-11-02
OSV No score
Liblouis through 3.21.0 has a buffer overflow in compilePassOpcode in compileTranslationTable.c (called, indirectly, by tools/lou_checktable.c).
- Record
CVE-2022-26981- Updated
- 2026-11-02
OSVopenSUSE-SU-2024:12125-1 No score
liblouis-data-3.21.0-2.1 on GA media
These are all security issues fixed in the liblouis-data-3.21.0-2.1 package on the GA media of openSUSE Tumbleweed.
- Record
openSUSE-SU-2024:12125-1- Updated
- 2026-11-02
OSVSUSE-SU-2022:2184-1 No score
Security update for liblouis
This update for liblouis fixes the following issues:
- CVE-2022-26981: fix buffer overrun in compilePassOpcode (bsc#1197085).
- CVE-2022-31783: prevent an invalid memory write in compileRule (bsc#1200120).
- Record
SUSE-SU-2022:2184-1- Updated
- 2026-11-02
OSVSUSE-SU-2022:2252-1 No score
Security update for liblouis
This update for liblouis fixes the following issues:
- CVE-2022-26981: fix buffer overrun in compilePassOpcode (bsc#1197085).
- CVE-2022-31783: prevent an invalid memory write in compileRule (bsc#1200120).
- Record
SUSE-SU-2022:2252-1- Updated
- 2026-11-02
OSVSUSE-SU-2022:2298-1 No score
Security update for liblouis
This update for liblouis fixes the following issues:
- CVE-2022-26981: fix buffer overrun in compilePassOpcode (bsc#1197085).
- CVE-2022-31783: prevent an invalid memory write in compileRule (bsc#1200120).
- Record
SUSE-SU-2022:2298-1- Updated
- 2026-11-02
OSVUSN-5476-1 No score
liblouis vulnerabilities
Han Zheng discovered that Liblouis incorrectly handled certain inputs. An attacker could possibly use this issue to cause a crash. This issue was addressed in Ubuntu 21.10 and Ubuntu 22.04 LTS. (CVE-2022-26981)
It was discovered that Liblouis incorrectly handled certain inputs. An attacker could possibly use this issue to execute arbitrary code or cause a crash. (CVE-2022-31783)
- Record
USN-5476-1- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
liblouisAlpine:v3.20 |
before 3.22.0-r0 | 3.22.0-r0 |
liblouisAlpine:v3.21 |
before 3.22.0-r0 | 3.22.0-r0 |
liblouisAlpine:v3.22 |
before 3.22.0-r0 | 3.22.0-r0 |
liblouisAlpine:v3.23 |
before 3.22.0-r0 | 3.22.0-r0 |
liblouisAlpine:v3.24 |
before 3.22.0-r0 | 3.22.0-r0 |
liblouisTuxCare:AlmaLinux:9.6 |
before 3.16.1-5.el9_6.tuxcare.els1 | 3.16.1-5.el9_6.tuxcare.els1 |
liblouis-develTuxCare:AlmaLinux:9.6 |
before 3.16.1-5.el9_6.tuxcare.els1 | 3.16.1-5.el9_6.tuxcare.els1 |
liblouis-docTuxCare:AlmaLinux:9.6 |
before 3.16.1-5.el9_6.tuxcare.els1 | 3.16.1-5.el9_6.tuxcare.els1 |
liblouis-utilsTuxCare:AlmaLinux:9.6 |
before 3.16.1-5.el9_6.tuxcare.els1 | 3.16.1-5.el9_6.tuxcare.els1 |
python3-louisTuxCare:AlmaLinux:9.6 |
before 3.16.1-5.el9_6.tuxcare.els1 | 3.16.1-5.el9_6.tuxcare.els1 |
Show 48 moreShow less
| Package | Affected | Fixed |
|---|---|---|
liblouisTuxCare:AlmaLinux:9.2 |
before 3.16.1-4.el9_2.tuxcare.els4 | 3.16.1-4.el9_2.tuxcare.els4 |
liblouis-develTuxCare:AlmaLinux:9.2 |
before 3.16.1-4.el9_2.tuxcare.els4 | 3.16.1-4.el9_2.tuxcare.els4 |
liblouis-docTuxCare:AlmaLinux:9.2 |
before 3.16.1-4.el9_2.tuxcare.els4 | 3.16.1-4.el9_2.tuxcare.els4 |
liblouis-utilsTuxCare:AlmaLinux:9.2 |
before 3.16.1-4.el9_2.tuxcare.els4 | 3.16.1-4.el9_2.tuxcare.els4 |
python3-louisTuxCare:AlmaLinux:9.2 |
before 3.16.1-4.el9_2.tuxcare.els4 | 3.16.1-4.el9_2.tuxcare.els4 |
liblouisDebian:12 |
before 3.22.0-1 | 3.22.0-1 |
liblouisDebian:13 |
before 3.22.0-1 | 3.22.0-1 |
liblouisDebian:14 |
before 3.22.0-1 | 3.22.0-1 |
liblouisopenEuler:20.03-LTS-SP1 |
before 3.7.0-5.oe1 | 3.7.0-5.oe1 |
liblouisopenEuler:20.03-LTS-SP3 |
before 3.7.0-5.oe1 | 3.7.0-5.oe1 |
liblouisopenEuler:22.03-LTS |
before 3.7.0-6.oe2203sp2 | 3.7.0-6.oe2203sp2 |
liblouisopenEuler:22.03-LTS-SP1 |
before 3.7.0-6.oe2203sp1 | 3.7.0-6.oe2203sp1 |
liblouisopenEuler:22.03-LTS-SP2 |
before 3.7.0-6.oe2203sp2 | 3.7.0-6.oe2203sp2 |
liblouisopenEuler:20.03-LTS-SP4 |
before 3.7.0-5.oe2003sp4 | 3.7.0-5.oe2003sp4 |
liblouisSUSE:Linux Enterprise Module for Desktop Applications 15 SP3 From an advisory covering 2 CVEs |
before 3.11.0-150200.3.3.1 | 3.11.0-150200.3.3.1 |
liblouisSUSE:Linux Enterprise High Performance Computing 15 SP2-ESPOS From an advisory covering 2 CVEs |
before 3.11.0-150200.3.3.1 | 3.11.0-150200.3.3.1 |
liblouisSUSE:Linux Enterprise High Performance Computing 15 SP2-LTSS From an advisory covering 2 CVEs |
before 3.11.0-150200.3.3.1 | 3.11.0-150200.3.3.1 |
liblouisSUSE:Linux Enterprise Server 15 SP2-BCL From an advisory covering 2 CVEs |
before 3.11.0-150200.3.3.1 | 3.11.0-150200.3.3.1 |
liblouisSUSE:Linux Enterprise Server 15 SP2-LTSS From an advisory covering 2 CVEs |
before 3.11.0-150200.3.3.1 | 3.11.0-150200.3.3.1 |
liblouisSUSE:Linux Enterprise Server for SAP Applications 15 SP2 From an advisory covering 2 CVEs |
before 3.11.0-150200.3.3.1 | 3.11.0-150200.3.3.1 |
liblouisSUSE:Manager Proxy 4.1 From an advisory covering 2 CVEs |
before 3.11.0-150200.3.3.1 | 3.11.0-150200.3.3.1 |
liblouisSUSE:Manager Retail Branch Server 4.1 From an advisory covering 2 CVEs |
before 3.11.0-150200.3.3.1 | 3.11.0-150200.3.3.1 |
liblouisSUSE:Manager Server 4.1 From an advisory covering 2 CVEs |
before 3.11.0-150200.3.3.1 | 3.11.0-150200.3.3.1 |
liblouisSUSE:Enterprise Storage 7 From an advisory covering 2 CVEs |
before 3.11.0-150200.3.3.1 | 3.11.0-150200.3.3.1 |
liblouisopenSUSE:Leap 15.3 From an advisory covering 2 CVEs |
before 3.11.0-150200.3.3.1 | 3.11.0-150200.3.3.1 |
liblouisopenSUSE:Leap 15.4 From an advisory covering 2 CVEs |
before 3.11.0-150200.3.3.1 | 3.11.0-150200.3.3.1 |
liblouisSUSE:Linux Enterprise High Performance Computing 15-ESPOS From an advisory covering 2 CVEs |
before 3.3.0-150000.4.8.1 | 3.3.0-150000.4.8.1 |
liblouisSUSE:Linux Enterprise High Performance Computing 15-LTSS From an advisory covering 2 CVEs |
before 3.3.0-150000.4.8.1 | 3.3.0-150000.4.8.1 |
liblouisSUSE:Linux Enterprise High Performance Computing 15 SP1-ESPOS From an advisory covering 2 CVEs |
before 3.3.0-150000.4.8.1 | 3.3.0-150000.4.8.1 |
liblouisSUSE:Linux Enterprise High Performance Computing 15 SP1-LTSS From an advisory covering 2 CVEs |
before 3.3.0-150000.4.8.1 | 3.3.0-150000.4.8.1 |
liblouisSUSE:Linux Enterprise Server 15-LTSS From an advisory covering 2 CVEs |
before 3.3.0-150000.4.8.1 | 3.3.0-150000.4.8.1 |
liblouisSUSE:Linux Enterprise Server 15 SP1-BCL From an advisory covering 2 CVEs |
before 3.3.0-150000.4.8.1 | 3.3.0-150000.4.8.1 |
liblouisSUSE:Linux Enterprise Server 15 SP1-LTSS From an advisory covering 2 CVEs |
before 3.3.0-150000.4.8.1 | 3.3.0-150000.4.8.1 |
liblouisSUSE:Linux Enterprise Server for SAP Applications 15 From an advisory covering 2 CVEs |
before 3.3.0-150000.4.8.1 | 3.3.0-150000.4.8.1 |
liblouisSUSE:Linux Enterprise Server for SAP Applications 15 SP1 From an advisory covering 2 CVEs |
before 3.3.0-150000.4.8.1 | 3.3.0-150000.4.8.1 |
liblouisSUSE:Enterprise Storage 6 From an advisory covering 2 CVEs |
before 3.3.0-150000.4.8.1 | 3.3.0-150000.4.8.1 |
liblouisopenSUSE:Leap 15.3 From an advisory covering 2 CVEs |
before 3.3.0-150000.4.8.1 | 3.3.0-150000.4.8.1 |
liblouisopenSUSE:Leap 15.4 From an advisory covering 2 CVEs |
before 3.3.0-150000.4.8.1 | 3.3.0-150000.4.8.1 |
liblouisSUSE:Linux Enterprise Module for Desktop Applications 15 SP4 From an advisory covering 2 CVEs |
before 3.20.0-150400.3.3.1 | 3.20.0-150400.3.3.1 |
liblouisopenSUSE:Leap 15.4 From an advisory covering 2 CVEs |
before 3.20.0-150400.3.3.1 | 3.20.0-150400.3.3.1 |
liblouisUbuntu:Pro:16.04:LTS |
All versions, plus listed versions 2.6.2-22.6.4-22.6.4-2ubuntu0.12.6.4-2ubuntu0.22.6.4-2ubuntu0.32.6.4-2ubuntu0.42.6.4-2ubuntu0.4+esm1 |
None known |
liblouisUbuntu:18.04:LTS |
before 3.5.0-1ubuntu0.4, plus listed versions 3.0.0-3ubuntu13.3.0-13.4.1-13.5.0-13.5.0-1ubuntu0.13.5.0-1ubuntu0.23.5.0-1ubuntu0.3 |
3.5.0-1ubuntu0.4 |
liblouisUbuntu:20.04:LTS |
before 3.12.0-3ubuntu0.1, plus listed versions 3.10.0-13.11.0-23.11.0-33.12.0-23.12.0-3 |
3.12.0-3ubuntu0.1 |
liblouisUbuntu:22.04:LTS |
before 3.20.0-2ubuntu0.1, plus listed versions 3.18.0-13.18.0-1build13.19.0-23.20.0-2 |
3.20.0-2ubuntu0.1 |
liblouisUbuntu:18.04:LTS From an advisory covering 2 CVEs |
before 3.5.0-1ubuntu0.4, plus listed versions 3.0.0-3ubuntu13.3.0-13.4.1-13.5.0-13.5.0-1ubuntu0.13.5.0-1ubuntu0.23.5.0-1ubuntu0.3 |
3.5.0-1ubuntu0.4 |
liblouisUbuntu:20.04:LTS From an advisory covering 2 CVEs |
before 3.12.0-3ubuntu0.1, plus listed versions 3.10.0-13.11.0-23.11.0-33.12.0-23.12.0-3 |
3.12.0-3ubuntu0.1 |
liblouisUbuntu:22.04:LTS From an advisory covering 2 CVEs |
before 3.20.0-2ubuntu0.1, plus listed versions 3.18.0-13.18.0-1build13.19.0-23.20.0-2 |
3.20.0-2ubuntu0.1 |
liblouisopenSUSE:Tumbleweed From an advisory covering 2 CVEs |
before 3.21.0-2.1 | 3.21.0-2.1 |
History
| Recorded | Changed | Sources |
|---|---|---|
| affected, facts | OSV | |
| affected, aliases, references | OSV | |
| aliases | EUVD | |
| first indexed | CVE List, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2022-26981 is a high vulnerability (CVSS 7.8) in Liblouis, published March 13, 2022. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 1.45%, the 73rd percentile. Fixed in liblouis 3.22.0-r0.
References
github.com/liblouis/liblouis/issues/1171
lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/CFD2KIHESDUCNWTEW3USFB5GKTWT624L
support.apple.com/kb/HT213340
support.apple.com/kb/HT213345
support.apple.com/kb/HT213342
support.apple.com/kb/HT213346
Show 28 moreShow less
seclists.org/fulldisclosure/2022/Jul/15
seclists.org/fulldisclosure/2022/Jul/18
seclists.org/fulldisclosure/2022/Jul/12
seclists.org/fulldisclosure/2022/Jul/16
security.gentoo.org/glsa/202301-06
nvd.nist.gov/vuln/detail/CVE-2022-26981
lists.fedoraproject.org/archives/list/[email protected]/message/CFD2KIHESDUCNWTEW3USFB5GKTWT624L
github.com/advisories/GHSA-xrp8-mw8v-p6mq
security.alpinelinux.org/vuln/CVE-2022-26981
errata.tuxcare.com/els_os/tuxcare9.6esu/CLSA-2026-1784221215.html
errata.tuxcare.com/els_os/almalinux9.2esu/CLSA-2026-1784292256.html
github.com/CVEProject/cvelistV5/tree/main/cves/2022/26xxx/CVE-2022-26981.json
security-tracker.debian.org/tracker/CVE-2022-26981
openeuler.org/en/security/safety-bulletin/detail.html?id=openEuler-SA-2023-1920
openeuler.org/en/security/safety-bulletin/detail.html?id=openEuler-SA-2023-1949
suse.com/support/update/announcement/2022/suse-su-20222184-1
bugzilla.suse.com/1197085
bugzilla.suse.com/1200120
suse.com/security/cve/CVE-2022-26981
suse.com/security/cve/CVE-2022-31783
suse.com/support/update/announcement/2022/suse-su-20222252-1
bugzilla.suse.com/1130813
suse.com/support/update/announcement/2022/suse-su-20222298-1
ubuntu.com/security/CVE-2022-26981
github.com/liblouis/liblouis/pull/1185/commits/73751be7a5617bfff4a735ae095203a2d3ec50ef
ubuntu.com/security/notices/USN-5476-1
cve.org/CVERecord?id=CVE-2022-26981
ubuntu.com/security/CVE-2022-31783