# CVE-2024-32664: Suricata's base64 contains an out of bounds write

- Severity: Medium 5.3 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.87%, higher than 59% of CVEs (2026-12-01)
- Published: 2024-05-07T14:57:01.967Z
- Modified: 2026-06-17T07:30:11.210Z
- Weaknesses: CWE-120, CWE-122
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: GitHub_M

## Description

Suricata is a network Intrusion Detection System, Intrusion Prevention System and Network Security Monitoring engine. Prior to 7.0.5 and 6.0.19, specially crafted traffic or datasets can cause a limited buffer overflow. This vulnerability is fixed in 7.0.5 and 6.0.19. Workarounds include not use rules with `base64_decode` keyword with `bytes` option with value 1, 2 or 5 and for 7.0.x, setting `app-layer.protocols.smtp.mime.body-md5` to false.

(As written by CVE List.)

## Affected

- OISF suricata: >= 6.0.0, <= 6.0.18; >= 7.0.0, <= 7.0.4; from 6.0.0 up to 6.0.18; from 7.0.0 up to 7.0.4; from 6.0.0 before 6.0.19; from 7.0.0 before 7.0.5

## Every score

- GitHub_M: CVSS:3.1 5.3 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L`
- NVD: CVSS:3.1 7.3 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L`

## References

- <https://github.com/OISF/suricata/security/advisories/GHSA-79vh-hpwq-3jh7> (mitigation, vendor-advisory)
- <https://github.com/OISF/suricata/commit/311002baf288a225f62cf18a90c5fdd294447379> (patch)
- <https://github.com/OISF/suricata/commit/d5ffecf11ad2c6fe89265e518f5d7443caf26ba4> (patch)

## Sources

- CVE List: [CVE-2024-32664](https://www.cve.org/CVERecord?id=CVE-2024-32664), CVE Terms of Use, modified 2024-08-02
- NVD: [CVE-2024-32664](https://nvd.nist.gov/vuln/detail/CVE-2024-32664), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2024-32664 · Whole record: https://cve.day/CVE-2024-32664.json · Rebuilt by cve.day 2026-11-25T22:58:40.038Z
