IP length underflow in Zeek GTPv1 analyzer causes out-of-bounds read
Key facts
- Attack vector
- —
- Privileges required
- —
- User interaction
- —
- Attack complexity
- —
- Impact type
- —
- Confidentiality · integrity · availability
- —
- Fix status
- Fixed
No CVSS vector from any source. Fix status from GitHub.
Summary
Zeek versions up to and including 8.0.10, and 9.0.0, are affected. The GTPv1 analyzer can underflow the IP header length when handling the gtpv1_g_pdu_packet event, so reading the payload can go up to 20 bytes past the buffer. Only IPv4 is affected. A remote attacker who sends crafted GTPv1 packets can crash a Zeek sensor, causing denial of service, but only when that event is handled.
Written with Claude Haiku 5.5 from the sources below · 2026-11-12
Description from the GitHub advisory
### Summary When the `gtpv1_g_pdu_packet` event is handled, the GTPv1 analyzer could cause an underflow in the IP header length. Then, retrieving the payload could read up to 20 bytes past the buffer. This only affected IPv4. Found by Anthropic using Claude to study the security of open-source software, validated manually by Ada Logics, under Anthropic's coordinated vulnerability disclosure policy (https://www.anthropic.com/coordinated-vulnerability-disclosure). ### Details Zeek now guards against underflows for such packets, and correctly passes the captured length to tunnelled analyzers. Both of these fixes should defend against any future, similar cases. ### Proof of concept Proof of concept PCAP generator script can be found in the Zeek source code, used for the test: testing/btest/Traces/tunnels/gtp/gtp-inner-ipv4-hdrlen-overrun.pcap.py ### Impact This is a denial-of-service risk due to the possibility of receiving these packets from remote systems. A Zeek sensor may crash from such input. However, it only occurs when the `gtpv1_g_pdu_packet` event is handled, so it is downgraded to medium severity.
Why it matters now
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | zeek | <=8.0.10, 9.0.0 | 8.0.11, 9.0.1 | Patch available | GHSA-85jg-jxjg-3rvh |
- zeek Vendor— Affected <=8.0.10, 9.0.0 Fixed in 8.0.11, 9.0.1 Patch available GHSA-85jg-jxjg-3rvh
Remediation
Upgrade Zeek to version 8.0.11 or 9.0.1, which add guards against the underflow and pass the captured length to tunnelled analyzers.
Written with Claude Haiku 5.5 from the sources below · 2026-11-12
- Fix · GHSA-85jg-jxjg-3rvh zeek Fixed in 8.0.11, 9.0.1 Advisory →
Timeline
- 2026-11-12 Threatist record created from GHSA-85jg-jxjg-3rvh
References
Sources
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences