{
    "id": "CVE-2018-7186",
    "published": "2018-02-16 16:29:00",
    "last_modified": "2026-06-17 02:02:45",
    "cvss_score": "9.8",
    "cvss_severity": "CRITICAL",
    "cvss_version": "3.0",
    "cvss_vector": "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H",
    "cwe": "CWE-787",
    "description": "Leptonica before 1.75.3 does not limit the number of characters in a %s format argument to fscanf or sscanf, which allows remote attackers to cause a denial of service (stack-based buffer overflow) or possibly have unspecified other impact via a long string, as demonstrated by the gplotRead and ptaReadStream functions.",
    "epss_score": "0.03401",
    "epss_percentile": "0.88534",
    "kev": 0,
    "kev_due": null,
    "has_exploit": 0,
    "updated_at": "2026-10-09 18:17:21",
    "priority": {
        "rank": 3,
        "label": "In your normal cycle",
        "why": "Critical by CVSS (9.8), but no sign of active exploitation."
    },
    "products": [
        {
            "vendor": "debian",
            "product": "debian_linux"
        },
        {
            "vendor": "leptonica",
            "product": "leptonica"
        }
    ],
    "kev_detail": null,
    "exploits": [],
    "refs_list": [
        "https://bugs.debian.org/890548",
        "https://github.com/DanBloomberg/leptonica/commit/ee301cb2029db8a6289c5295daa42bba7715e99a",
        "https://lists.debian.org/debian-lts-announce/2018/03/msg00005.html",
        "https://lists.debian.org/debian-lts/2018/02/msg00054.html",
        "https://security.gentoo.org/glsa/202312-01",
        "https://bugs.debian.org/890548",
        "https://github.com/DanBloomberg/leptonica/commit/ee301cb2029db8a6289c5295daa42bba7715e99a",
        "https://lists.debian.org/debian-lts-announce/2018/03/msg00005.html",
        "https://lists.debian.org/debian-lts/2018/02/msg00054.html",
        "https://security.gentoo.org/glsa/202312-01"
    ]
}