CVE-2022-31783
Liblouis 3.21.0 has an out-of-bounds write in compileRule in compileTranslationTable.c, as...
Liblouis 3.21.0 has an out-of-bounds write in compileRule in compileTranslationTable.c, as demonstrated by lou_trace.
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
- None
- Integrity
- None
- Availability
- High
Exploit likelihood
What each source reports
NVD Score used
5.5
Liblouis 3.21.0 has an out-of-bounds write in compileRule in compileTranslationTable.c, as demonstrated by lou_trace.
- Record
CVE-2022-31783- CVSS 3.1
- 5.5 Medium
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H - CVSS 2.0
- 4.3 Medium
AV:N/AC:M/Au:N/C:N/I:N/A:P - Weakness
- CWE-787
- Updated
- 2026-11-02
CVE List No score
Liblouis 3.21.0 has an out-of-bounds write in compileRule in compileTranslationTable.c, as demonstrated by lou_trace.
- Record
CVE-2022-31783- Updated
- 2026-11-02
EUVDEUVD-2022-53175 No score
Liblouis 3.21.0 has an out-of-bounds write in compileRule in compileTranslationTable.c, as demonstrated by lou_trace.
- Record
EUVD-2022-53175- Updated
- 2026-11-03
GitHub AdvisoriesGHSA-qh6w-j8cx-jf53
5.5
Liblouis 3.21.0 has an out-of-bounds write in compileRule in compileTranslationTable.c, as...
Liblouis 3.21.0 has an out-of-bounds write in compileRule in compileTranslationTable.c, as demonstrated by lou_trace.
- Record
GHSA-qh6w-j8cx-jf53- CVSS 3.1
- 5.5 Medium
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H - Weakness
- CWE-787
- Updated
- 2026-11-02
OSVUBUNTU-CVE-2022-31783
5.5
Liblouis 3.21.0 has an out-of-bounds write in compileRule in compileTranslationTable.c, as demonstrated by lou_trace.
- Record
UBUNTU-CVE-2022-31783- CVSS 3.1
- 5.5 Medium
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H - Updated
- 2026-11-02
OSV No score
Liblouis 3.21.0 has an out-of-bounds write in compileRule in compileTranslationTable.c, as demonstrated by lou_trace.
- Record
CVE-2022-31783- Updated
- 2026-11-02
Show 6 moreShow less
OSVDEBIAN-CVE-2022-31783 No score
Liblouis 3.21.0 has an out-of-bounds write in compileRule in compileTranslationTable.c, as demonstrated by lou_trace.
- Record
DEBIAN-CVE-2022-31783- Updated
- 2026-11-03
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 |
|---|---|---|
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 |
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 |
Show 26 moreShow less
| Package | Affected | Fixed |
|---|---|---|
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: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 | |
| 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-31783 is a medium vulnerability (CVSS 5.5) in Liblouis, published May 27, 2022. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 1.13%, the 66th percentile. Fixed in liblouis 3.22.0-1.
References
github.com/liblouis/liblouis/issues/1214
github.com/liblouis/liblouis/commit/ff747ec5e1ac54d54194846f6fe5bfc689192a85
lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/CFD2KIHESDUCNWTEW3USFB5GKTWT624L
security.gentoo.org/glsa/202301-06
nvd.nist.gov/vuln/detail/CVE-2022-31783
lists.fedoraproject.org/archives/list/[email protected]/message/CFD2KIHESDUCNWTEW3USFB5GKTWT624L
Show 15 moreShow less
github.com/advisories/GHSA-qh6w-j8cx-jf53
github.com/CVEProject/cvelistV5/tree/main/cves/2022/31xxx/CVE-2022-31783.json
security-tracker.debian.org/tracker/CVE-2022-31783
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-31783
ubuntu.com/security/notices/USN-5476-1
cve.org/CVERecord?id=CVE-2022-31783
ubuntu.com/security/CVE-2022-26981