CVE-2025-59149

Source
https://cve.org/CVERecord?id=CVE-2025-59149
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-59149.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2025-59149
Aliases
  • GHSA-vxcg-38x4-gj7j
Downstream
Related
Published
2025-10-01T20:07:44Z
Modified
2026-10-21T09:20:21Z
Severity
  • 6.2 (Medium) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H CVSS Calculator
Summary
Suricata: Stack buffer overflow in rule parser when processing long keywords with transforms
Details

Suricata is a network IDS, IPS and NSM engine developed by the OISF (Open Information Security Foundation) and the Suricata community. In version 8.0.0, rules using keyword ldap.responses.attribute_type (which is long) with transforms can lead to a stack buffer overflow during Suricata startup or during a rule reload. This issue is fixed in version 8.0.1. To workaround this issue, users can disable rules with ldap.responses.attribute_type and transforms.

Database specific
{
    "cna_assigner":  "GitHub_M",
    "cwe_ids":  [
        "CWE-121"
    ],
    "osv_generated_from":  "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/59xxx/CVE-2025-59149.json"
}
References

Affected packages

Git / github.com/oisf/suricata

Affected ranges

Type
GIT
Repo
https://github.com/oisf/suricata
Events
Database specific
Show details
{
    "extracted_events":  [
        {
            "range":  [
                {
                    "introduced":  "8.0.0"
                },
                {
                    "fixed":  "8.0.1"
                }
            ],
            "source":  "AFFECTED_FIELD",
            "strategy":  "StringRangeExpression"
        },
        {
            "range":  [
                {
                    "fixed":  "38a2cba5c397002047d84645f5ab770ff88020e1"
                }
            ],
            "source":  "REFERENCES_COMMIT"
        }
    ]
}

Affected versions

8.*
8.0.0-NA
8.0.0-beta1
8.0.0-rc1
suricata-8.*
suricata-8.0.0

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-59149.json"
vanir_signatures
[
    {
        "deprecated":  false,
        "digest":  {
            "function_hash":  "246716000966071891689352228662048327144",
            "length":  553
        },
        "id":  "CVE-2025-59149-95b41533",
        "signature_type":  "Function",
        "signature_version":  "v1",
        "source":  "https://github.com/oisf/suricata/commit/38a2cba5c397002047d84645f5ab770ff88020e1",
        "target":  {
            "file":  "src/util-misc.c",
            "function":  "ShortenString"
        }
    },
    {
        "deprecated":  false,
        "digest":  {
            "line_hashes":  [
                "192113999744537312311160510684165180869",
                "223654191433175668963539210523796752458",
                "54712696253789251392596502336281188804",
                "309528896202963133257098826634540341289",
                "230107285276929107735184772905275462952",
                "50197354667723421573547377497826939983",
                "114791121792774310041567583940928441398",
                "336607941240978094070149117016016275049",
                "198100600462240161439585683353531908832",
                "328845915896372637977269501017989663089",
                "258514873277367801101161069278392095341",
                "331115911061212807875011653066057665280"
            ],
            "threshold":  0.9
        },
        "id":  "CVE-2025-59149-ce8370b2",
        "signature_type":  "Line",
        "signature_version":  "v1",
        "source":  "https://github.com/oisf/suricata/commit/38a2cba5c397002047d84645f5ab770ff88020e1",
        "target":  {
            "file":  "src/util-misc.c"
        }
    }
]
vanir_signatures_modified
"2026-10-21T09:20:21Z"