LiveActive security incident?Get immediate response
CVE Record

CVE-2018-7247: An issue was discovered in pixHtmlViewer in prog/htmlviewer.c in Leptonica before 1.75.3.

An issue was discovered in pixHtmlViewer in prog/htmlviewer.c in Leptonica before 1.75.3. Unsanitized input (rootname) can overflow a buffer, leading potentially to arbitrary code execution or possibly unspecified other impact.

UnknownCVSS not scoredNot KEV-listedUpdated
Glexia's TakeAutomated analysismoderate

Security readout for executives and security teams

Plain-English summary

Leptonica before 1.75.3 contains a buffer overflow in pixHtmlViewer when handling an unsanitized rootname value. If an application exposes this path to untrusted input, the issue could potentially lead to arbitrary code execution or other undefined impact. The available bundle does not show active exploitation.

Executive priority

Prioritize remediation during normal vulnerability maintenance, escalating if Leptonica is used in exposed document, image, OCR, or file-conversion services. The possible impact is serious, but the bundle does not establish active exploitation or broad reachability.

Technical view

The flaw is in prog/htmlviewer.c, where pixHtmlViewer did not adequately bound or sanitize rootname before copying into a buffer. The public description states possible arbitrary code execution or unspecified impact. The fix reference is a Leptonica commit, and Gentoo later issued GLSA-202312-01.

Likely exposure

Exposure is most likely on systems or applications using Leptonica before 1.75.3 where pixHtmlViewer can receive attacker-influenced rootname input. The source bundle lacks precise CPEs or downstream product inventory, so environment-specific dependency review is required.

Exploitation context

CISA KEV status is false in the bundle, and no cited source states active exploitation. Risk depends on whether vulnerable Leptonica functionality is reachable with untrusted input. Treat exploitability as plausible because the described weakness is a buffer overflow, but source evidence is limited.

Researcher notes

Affected metadata in the bundle is incomplete, listing vendor and product as n/a. The strongest technical anchors are the CVE description, the upstream fixing commit, and Gentoo’s advisory. Avoid assuming exploit availability, affected downstream products, or mitigations beyond upgrade/vendor guidance.

Mitigation direction

  • Upgrade Leptonica to version 1.75.3 or a vendor-supported fixed package.
  • Apply relevant distribution security updates, including Gentoo guidance where applicable.
  • Identify applications bundling or linking vulnerable Leptonica versions.
  • Restrict untrusted input paths that can reach pixHtmlViewer until patched.
  • Check vendor advisories for platform-specific remediation details.

Validation and detection

  • Inventory installed and bundled Leptonica versions across hosts and applications.
  • Confirm Leptonica is 1.75.3 or includes the referenced fixing commit.
  • Review whether applications call pixHtmlViewer with user-controlled rootname values.
  • Verify distribution packages include the vendor security fix.
  • Run regression tests for image/document processing workflows after updating.
Prepared
Confidence
medium
Sources
4

Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.

Potential ATT&CK relevance

Conservative CVE-to-ATT&CK context

These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.

ATT&CK lookup starting points

Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.

description · low confidence lookup

Execution behavior lookup

The CVE wording references code or command execution, so execution technique review may help defensive triage. This is a Glexia inferred lookup path, not an official MITRE, ATT&CK, or CVE Program mapping.

Open ATT&CK lookup
cve · low confidence lookup

CVE-2018-7247 mapping review

Open the CVE-to-ATT&CK bridge for reviewed, inferred, or future official mappings tied to this CVE.

Open ATT&CK lookup
Vulnerability profileCVE Program record
Severity
Unknown
CVSS
Not scored
Known Exploited
No
Published
Official CVE source material

CNA and ADP enrichment extracted from CVE v5

These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.

0CVSS vectors
0Timeline events
0ADP providers
3Source links

CVSS and timeline data

No CVSS vectors or timeline events were available in the normalized CVE source material.

Affected products

Products and packages named in the record

VendorProductVersion / packageStatus
n/an/an/aListed
Weakness

CWE details

No CWE listed

CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.