CORTEXA
← Browse
arxivcs.NI2026-06-28

CornerCase: Automated Extremal Testing of Protocol Implementations using LLMs

Rathin Singha, Kuan Qian, Srinath Saikrishnan, Tracy Zhao, Soheil Abbasloo, Ryan Beckett, Siva Kesava Reddy Kakarla, Todd Millstein, George Varghese

Many software bugs in network protocol implementations arise near specification boundaries, such as inputs just within or outside allowed ranges, or messages that are valid in isolation but invalid in a given state. From the SSL Heartbleed exploit to TCP Christmas Tree packets, boundary inputs have repeatedly exposed critical weaknesses, yet remain under-tested by existing techniques such as fuzzing and model-based testing. We present CornerCase, an automated extremal testing approach that systematically targets such boundary behaviors. Our key idea is to decompose test generation into two stages: first, large language models (LLMs) extract explicit validity constraints from protocol specifications (e.g., RFCs) in a structured, section-by-section manner; second, extremal test cases are generated at or near the boundary of each constraint. These tests are executed across multiple implementations, and differential testing identifies inconsistencies. We evaluate CornerCase on widely used implementations of HTTP, DNS, BGP, SMTP, and QUIC, uncovering many previously unknown bugs. For example, the HTTP server h2o enters a redirect loop when processing URLs containing encoded null bytes. Overall, we used CornerCase to identify and file 42 anomalies; to date 26 have been acknowledged as bugs and 18 fixed, with others under active investigation

View free PDFSource page

Related papers

arxivcs.NIcs.AI2026-07-20

Human Grounded Evaluation of Large Language Models for Optical Network Automation

Kiarash Rezaei, Omran Ayoub, Paolo Monti, Carlos Natalino

Large language models (LLMs) are increasingly adopted for network automation, yet their output quality and inference cost can vary substantially across LLM families. We present HuGLEN, a stepwise evaluation pipeline that uses an LLM-as-a-judge together with a small set of expert…

View free PDFSource page
arxivcs.NI2026-06-29

A Practical Implementation of Day-3 Cooperative Intersection with Automated Connected Mini-Cars

Lorenzo Farina, Vittorio Todisco, Federico Gavioli, Salvatore Iandolo, Francesco Moretti, Giuseppe Perrone, et al.

Cooperative driving enabled by connected and automated vehicles is expected to improve traffic efficiency and safety, particularly at intersections where traditional control mechanisms such as traffic lights introduce delays and unnecessary stops. Although cooperative intersectio…

View free PDFSource page
arxivcs.NIcs.ET2026-07-20

Enhanced Dynamic Beamwidth Selection-based THz MAC Protocol for Wireless Data Center Networks

Muhammad Absaruddin, Saim Ghafoor, Mubashir Husain Rehmani

Terahertz (THz) wireless communication offers a promising alternative to traditional wired links in data centres (DCs), enabling ultra-high data rates, low latency, and greater scalability. However, THz signals suffer from high path loss, necessitating the use of directional ante…

View free PDFSource page
arxivquant-phcs.NI2026-07-15

Emulation of Entanglement Distribution Networks on a Quantum Computer

Ashley N. Tittelbaugh, Jerry Horgan, Rohan Bali, Marco Ruffini, Daniel C. Kilper, Shelbi L. Jenkins, et al.

We investigate how quantum computers can be used to emulate quantum networks and study their performance under practical impairments. In particular, we evaluate how degraded entanglement and communication latency affect teleportation-based distributed multipartite-entanglement-st…

View free PDFSource page
arxivcs.NIcs.CR2026-07-03

A Binary and System Integrated Analysis Approach for Securing the QUIC Protocol

Maitha Alshaali, Wanqing Tu, Gaofei Huang, Mthandazo Ndhlovu

The Quick UDP Internet Connections (QUIC) protocol is increasingly used to provide secure transport for Internet of Things (IoT) firmware and applications. Existing security analyses of QUIC focus on the captured network traffic, while binary-level analyses of QUIC implementation…

View free PDFSource page
arxivquant-phcs.ETcs.NI2026-07-22

Distributed Entanglement Distribution Using Multiple Entanglement Sources in WDM-based Quantum Optical Networks

Anuj Agrawal, Abhay Singh Dulta, Bhaskar Kanseri

Quantum network implementations using single spontaneous parametric downconversion (SPDC)-based broadband entangled photon pair source (EPPS) have been reported recently. Here, leveraging the wavelength-correlation between entangled photon pairs, the traditional wavelength divisi…

View free PDFSource page