{"id":"CVE-2025-59149","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.","aliases":["GHSA-vxcg-38x4-gj7j"],"modified":"2026-10-22T16:07:53.123623919Z","published":"2025-10-01T20:07:44.042Z","related":["openSUSE-SU-2025:15592-1"],"database_specific":{"cwe_ids":["CWE-121"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/59xxx/CVE-2025-59149.json","cna_assigner":"GitHub_M"},"references":[{"type":"WEB","url":"https://forum.suricata.io/t/suricata-8-0-1-and-7-0-12-released/6018"},{"type":"WEB","url":"https://redmine.openinfosecfoundation.org/issues/7861"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/59xxx/CVE-2025-59149.json"},{"type":"ADVISORY","url":"https://github.com/OISF/suricata/security/advisories/GHSA-vxcg-38x4-gj7j"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-59149"},{"type":"FIX","url":"https://github.com/OISF/suricata/commit/38a2cba5c397002047d84645f5ab770ff88020e1"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/oisf/suricata","events":[{"introduced":"9956286fb89f9cad9e9f95b99dc751f8666617b7"},{"fixed":"2444feed0d5ff5beb52e4d6e1f7ece487f3de179"},{"fixed":"38a2cba5c397002047d84645f5ab770ff88020e1"}],"database_specific":{"extracted_events":[{"range":[{"introduced":"8.0.0"},{"fixed":"8.0.1"}],"source":"AFFECTED_FIELD","strategy":"StringRangeExpression"},{"range":[{"fixed":"38a2cba5c397002047d84645f5ab770ff88020e1"}],"source":"REFERENCES_COMMIT"}]}}],"versions":["8.0.0-NA","8.0.0-beta1","8.0.0-rc1","suricata-8.0.0"],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2025-59149.json","vanir_signatures":[{"source":"https://github.com/oisf/suricata/commit/38a2cba5c397002047d84645f5ab770ff88020e1","target":{"function":"ShortenString","file":"src/util-misc.c"},"deprecated":false,"digest":{"function_hash":"246716000966071891689352228662048327144","length":553},"id":"CVE-2025-59149-95b41533","signature_type":"Function","signature_version":"v1"},{"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-22T16:07:53Z"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"}]}