Skip to content
Memory corruption Advisory Advanced CVE-2025-20359

Cisco Snort process_mime_body Out-Of-Bounds Read Information Disclosure Vulnerability

The process_mime_body method in Cisco Snort fails to properly validate user-supplied data, causing a read before the start of an allocated buffer. A remote, unauthenticated attacker could use this to disclose sensitive information, and could combine it with other flaws to execute code as the service account.

Guy Lederfein Follow

Originally disclosed on Zero Day Initiative

Medium 6.5 View original

This vulnerability allows remote attackers to disclose sensitive information on affected installations of Cisco Snort. Authentication is not required to exploit this vulnerability.

Guy Lederfein of Trend Research, on the Zero Day Initiative

The full write-up lives on its author's site

It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

How it worked

Root cause

Likely the MIME body parsing routine trusts a length or offset from the input without checking it against the buffer boundaries, so it reads before the buffer start.

Impact

A remote unauthenticated attacker could disclose sensitive information, and may chain this with other vulnerabilities to execute arbitrary code as the service account.

What the attacker needed

Network access to the Snort service; no authentication needed

The fix

Cisco issued an update to correct the vulnerability.

Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

Snort inspects network traffic. Its process_mime_body routine reads data from before the memory it was given, which can leak sensitive information. No login is required.

What is Memory corruption?

Native code reads or writes memory it should not: overflows, use-after-free, type confusion. The core of browser, kernel and parser bugs.

More by Guy Lederfein

View all

2 more disclosed reports, best first.

More from Zero Day Initiative

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Memory corruption

The lesson behind this report.

Native code reads or writes memory it should not: overflows, use-after-free, type confusion. The core of browser, kernel and parser bugs.