Every CVE Search/ Get API key

CVE-2022-31783

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

5.5 MediumFix available

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

1.13%Up 0.2 points since May 28, 2022
90%50%10%1%

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 MediumCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
CVSS 2.0
4.3 MediumAV: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 MediumCVSS: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 MediumCVSS: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

Affected packages
PackageAffectedFixed
liblouis
Debian:12
before 3.22.0-1
3.22.0-1
liblouis
Debian:13
before 3.22.0-1
3.22.0-1
liblouis
Debian:14
before 3.22.0-1
3.22.0-1
liblouis
SUSE: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
liblouis
SUSE: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
liblouis
SUSE: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
liblouis
SUSE: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
liblouis
SUSE: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
liblouis
SUSE: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
liblouis
SUSE: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
Affected packages
PackageAffectedFixed
liblouis
SUSE: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
liblouis
SUSE: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
liblouis
SUSE:Enterprise Storage 7
From an advisory covering 2 CVEs
before 3.11.0-150200.3.3.1
3.11.0-150200.3.3.1
liblouis
openSUSE:Leap 15.3
From an advisory covering 2 CVEs
before 3.11.0-150200.3.3.1
3.11.0-150200.3.3.1
liblouis
openSUSE:Leap 15.4
From an advisory covering 2 CVEs
before 3.11.0-150200.3.3.1
3.11.0-150200.3.3.1
liblouis
SUSE: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
liblouis
SUSE: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
liblouis
SUSE: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
liblouis
SUSE: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
liblouis
SUSE: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
liblouis
SUSE: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
liblouis
SUSE: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
liblouis
SUSE: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
liblouis
SUSE: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
liblouis
SUSE:Enterprise Storage 6
From an advisory covering 2 CVEs
before 3.3.0-150000.4.8.1
3.3.0-150000.4.8.1
liblouis
openSUSE:Leap 15.3
From an advisory covering 2 CVEs
before 3.3.0-150000.4.8.1
3.3.0-150000.4.8.1
liblouis
openSUSE:Leap 15.4
From an advisory covering 2 CVEs
before 3.3.0-150000.4.8.1
3.3.0-150000.4.8.1
liblouis
SUSE: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
liblouis
openSUSE:Leap 15.4
From an advisory covering 2 CVEs
before 3.20.0-150400.3.3.1
3.20.0-150400.3.3.1
liblouis
Ubuntu: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
liblouis
Ubuntu: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
liblouis
Ubuntu: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
liblouis
Ubuntu: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
liblouis
Ubuntu: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
liblouis
Ubuntu: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
liblouis
openSUSE:Tumbleweed
From an advisory covering 2 CVEs
before 3.21.0-2.1
3.21.0-2.1

History

History
RecordedChangedSources
affected, factsOSV
aliasesEUVD
first indexedCVE 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

Show 15 moreShow less
MoveEnter Open