CVE-2018-17294

Source
https://nvd.nist.gov/vuln/detail/CVE-2018-17294
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2018-17294.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2018-17294
Downstream
Related
Published
2018-09-21T07:29:00Z
Modified
2025-09-16T06:53:10.291565Z
Severity
  • 6.5 (Medium) CVSS_V3 - CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H CVSS Calculator
Summary
[none]
Details

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.

References

Affected packages

Debian:11 / liblouis

Package

Name
liblouis
Purl
pkg:deb/debian/liblouis?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
3.7.0-1

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Debian:12 / liblouis

Package

Name
liblouis
Purl
pkg:deb/debian/liblouis?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
3.7.0-1

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Debian:13 / liblouis

Package

Name
liblouis
Purl
pkg:deb/debian/liblouis?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
3.7.0-1

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Debian:14 / liblouis

Package

Name
liblouis
Purl
pkg:deb/debian/liblouis?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
3.7.0-1

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Git / github.com/liblouis/liblouis

Affected ranges

Type
GIT
Repo
https://github.com/liblouis/liblouis
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed

Affected versions

v2.*

v2.6.0
v2.6.1
v2.6.2
v2.6.3
v2.6.3-1
v2.6.4
v2.6.5

v3.*

v3.0.0
v3.0.0.alpha1
v3.0.0.alpha1-1
v3.1.0
v3.2.0
v3.3.0
v3.4.0
v3.5.0
v3.6.0

Database specific

{
    "vanir_signatures": [
        {
            "source": "https://github.com/liblouis/liblouis/commit/5e4089659bb49b3095fa541fa6387b4c40d7396e",
            "deprecated": false,
            "signature_type": "Line",
            "signature_version": "v1",
            "target": {
                "file": "liblouis/lou_translateString.c"
            },
            "digest": {
                "threshold": 0.9,
                "line_hashes": [
                    "293025375813258006096499344806738091290",
                    "202534738202325194255144843342373936495",
                    "316992701927929723134959434482094089898",
                    "88845949797712808691018509916674065102"
                ]
            },
            "id": "CVE-2018-17294-2f4dd9cf"
        },
        {
            "source": "https://github.com/liblouis/liblouis/commit/5e4089659bb49b3095fa541fa6387b4c40d7396e",
            "deprecated": false,
            "signature_type": "Function",
            "signature_version": "v1",
            "target": {
                "file": "liblouis/lou_translateString.c",
                "function": "matchCurrentInput"
            },
            "digest": {
                "length": 316.0,
                "function_hash": "10198799392122735941565708499321028572"
            },
            "id": "CVE-2018-17294-aec5fdcc"
        }
    ]
}