Skip to content
Heist/ feed
Back to feed
Medium

Security advisory

Type: advisorySources: OSVCVE: CVE-2018-17294

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.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2018-17294
Confirmed fixed CVEs
Not specified
Updated in this feed
31 Oct 2026, 12:26 UTC · Revision 1

Source evidence

CVE-2018-17294

core-osv · Original source

Published 21 Sept 2018, 07:29 UTC

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.

osv:CVE-2018-17294
Complete source record
{
  "id": "3c6848d77835e7883503481cc72f83fd2347e16ee359177747f4562da2846052",
  "url": "https://osv.dev/vulnerability/CVE-2018-17294",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2018-17294",
    "summary": "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.",
    "evidence": "osv:CVE-2018-17294",
    "products": [],
    "severity": "medium",
    "structured": {
      "id": "CVE-2018-17294",
      "aliases": [
        "CVE-2018-17294"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/liblouis/liblouis",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "97ce1c67fccbd3668291b7e63c06161c095d49f2"
                },
                {
                  "fixed": "5e4089659bb49b3095fa541fa6387b4c40d7396e"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:liblouis:liblouis:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "fixed": "3.7.0"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "range": [
                      {
                        "fixed": "5e4089659bb49b3095fa541fa6387b4c40d7396e"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  }
                ]
              }
            }
          ],
          "versions": [
            "v3.2.0",
            "v3.6.0",
            "v3.4.0",
            "v3.3.0",
            "v3.0.0",
            "v3.1.0",
            "v2.6.1",
            "v2.6.0"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2018-17294.json",
            "vanir_signatures": [
              {
                "id": "CVE-2018-17294-2f4dd9cf",
                "digest": {
                  "threshold": 0.9,
                  "line_hashes": [
                    "293025375813258006096499344806738091290",
                    "202534738202325194255144843342373936495",
                    "316992701927929723134959434482094089898",
                    "88845949797712808691018509916674065102"
                  ]
                },
                "source": "https://github.com/liblouis/liblouis/commit/5e4089659bb49b3095fa541fa6387b4c40d7396e",
                "target": {
                  "file": "liblouis/lou_translateString.c"
                },
                "deprecated": false,
                "signature_type": "Line",
                "signature_version": "v1"
              },
              {
                "id": "CVE-2018-17294-aec5fdcc",
                "digest": {
                  "length": 316,
                  "function_hash": "10198799392122735941565708499321028572"
                },
                "source": "https://github.com/liblouis/liblouis/commit/5e4089659bb49b3095fa541fa6387b4c40d7396e",
                "target": {
                  "file": "liblouis/lou_translateString.c",
                  "function": "matchCurrentInput"
                },
                "deprecated": false,
                "signature_type": "Function",
                "signature_version": "v1"
              }
            ],
            "vanir_signatures_modified": "2026-10-20T13:32:43Z"
          }
        }
      ],
      "modified": "2026-10-20T13:32:43.560097812Z",
      "provider": "osv",
      "references": [
        "https://usn.ubuntu.com/3782-1/",
        "https://github.com/liblouis/liblouis/commit/5e4089659bb49b3095fa541fa6387b4c40d7396e",
        "https://github.com/liblouis/liblouis/issues/635"
      ],
      "provider_metadata": {
        "unresolved_ranges": [
          {
            "cpes": [
              "cpe:2.3:o:canonical:ubuntu_linux:14.04:*:*:*:lts:*:*:*",
              "cpe:2.3:o:canonical:ubuntu_linux:16.04:*:*:*:lts:*:*:*",
              "cpe:2.3:o:canonical:ubuntu_linux:18.04:*:*:*:lts:*:*:*"
            ],
            "vendor_product": "canonical:ubuntu_linux",
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "14.04"
                  },
                  {
                    "last_affected": "14.04"
                  },
                  {
                    "introduced": "16.04"
                  },
                  {
                    "last_affected": "16.04"
                  },
                  {
                    "introduced": "18.04"
                  },
                  {
                    "last_affected": "18.04"
                  }
                ],
                "source": "CPE_STRING"
              }
            ]
          },
          {
            "cpes": [
              "cpe:2.3:o:opensuse:leap:15.0:*:*:*:*:*:*:*"
            ],
            "vendor_product": "opensuse:leap",
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "15.0"
                  },
                  {
                    "last_affected": "15.0"
                  }
                ],
                "source": "CPE_STRING"
              }
            ]
          }
        ]
      }
    },
    "related_cves": [
      {
        "value": "CVE-2018-17294",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 387801,
  "published_at": "2018-09-21T07:29:00.617+00:00"
}