AI Found 99 Flaws in Embedded TCP/IP Stacks in 90 Hours, but Missed Over Half the Known Ones

By IoTAdda Desk ·

A gloved hand holding a magnifying loupe over a microcontroller and Ethernet jack on a white embedded controller board, with a logic probe beside it

Key takeaways

  • Forescout’s Vedere Labs reports 99 validated vulnerabilities across ten embedded TCP/IP stacks in about 90 hours: 66 previously unknown and 33 rediscovered. Roughly half are rated high or critical.
  • Forescout estimates the model spend at $1,200 to $2,300, against about nine months for the earlier manual project. That excludes building the tooling, and about 80 of the 90 hours were dynamic validation with humans involved. The AI rediscovered only 33 of 82 known bugs, about 40%.
  • Of the 66 new findings, 54 were reported. By Forescout’s count 24 are fixed and 29 are still being investigated, and one maintainer has not responded. Only 5 of the 34 findings in proprietary stacks are fixed.

Almost every connected device runs a network stack somewhere below the application code, and most teams never read it. Forescout Research – Vedere Labs has now shown how cheaply an AI-assisted pipeline can find bugs in embedded TCP/IP stacks: 99 confirmed vulnerabilities across ten of them, in about 90 hours. Forescout published the research on 12 November 2026 in a report titled “Finding Critical Infrastructure Bugs with Off-the-Shelf AI”.

What Forescout actually did

The team did not ask a chatbot to find bugs. It built a four-stage harness: AI-guided target examination (Ghidra for stripped binaries), deterministic discovery with Semgrep and Joern, reachability and exploitability reasoning by the models, then dynamic verification with proof-of-concept scripts. IoT Business News reports that the system used Anthropic’s Claude models. Static analysis produced 362 candidate findings for about $935, which dedupe to 312 candidates and 99 confirmed vulnerabilities.

Six of the stacks are open source: Contiki, Ethernut, FNET, PicoTCP, lwIP v2.2.1 and wolfIP. Four are proprietary binaries: Siemens Nucleus NET and three that Forescout does not name. Forescout reports that 48 of the 99 findings are memory corruption, 27 are integer issues, 16 are input validation and 8 are logic or control-flow flaws.

Stack Type Reported Status (Forescout)
Contiki Open source 4 Fixed
Ethernut Open source 1 No response
FNET Open source 3 Fixed
PicoTCP Open source 5 Fixed
lwIP v2.2.1 Open source 4 Fixed in commits
wolfIP Open source 3 Fixed
Siemens Nucleus NET Proprietary 5 Fixed (Siemens advisory SSA-333035)
Three unnamed stacks (S1, S2, S3) Proprietary 29 Under investigation

What the numbers do and do not say

The headline comparison, nine months to 90 hours and roughly 100 times cheaper, is Forescout’s own estimate, and Cybersecurity Dive notes it was not independently verified. The comparison is also not like for like: the Joern rules were drafted from artefacts of the earlier manual research. The $1,200 to $2,300 covers model spend for running a finished harness, not designing it.

The weaker number is recall. The pipeline rediscovered 33 of 82 previously disclosed bugs, about 40%, and it was best at memory-safety and parsing flaws. It missed design weaknesses such as predictable sequence numbers and DNS cache poisoning. Binaries cost about six times as much to analyse as source code. The report is also not internally consistent: its executive summary table counts 71 known bugs rather than 82, and it applies the 52% high-or-critical share to all 99 in one place and to the 66 new ones in another. Treat the percentages as approximate.

Why your firmware may be exposed

lwIP is the most relevant name for Indian hardware teams. Espressif’s documentation says ESP-IDF uses lwIP, as a modified fork. The Raspberry Pi Pico SDK wraps lwIP, and ST ships it as middleware in STM32Cube packages. Zephyr’s documentation does not mention it, and FreeRTOS recommends its own FreeRTOS+TCP, so not every stack is affected. Forescout’s four lwIP findings sit mainly in optional pieces: the MQTT client, the SMTP client and TFTP, plus one crash in the TCP receive path. Whether your product is exposed depends on which of those you compile in.

The fix path is not simple. Forescout links three commits for the four lwIP findings and names no release. As of 24 November 2026 the newest tag in lwIP’s repository is still 2.2.1, so the fixes appear to be in the main branch only. ESP-IDF carries its own fork, and STM32Cube and the Pico SDK bundle their own copies, so upstream fixes reach your product only when your SDK vendor pulls them. We have not confirmed that any of those vendors has done so.

What to do this week

  • List the TCP/IP stack and version in every shipping product, including the copy inside your SDK.
  • Switch off optional network applications you do not use, such as MQTT, SMTP and TFTP clients, and re-test.
  • Ask your SDK vendor in writing which upstream lwIP commits it has taken.
  • Keep a software bill of materials that you can query in minutes, not days.
  • Put devices you cannot patch on isolated network segments.

The compliance clock

For exporters, the timing matters. The European Commission says the Cyber Resilience Act’s Article 14 reporting duties apply from 11 September 2026: an early warning within 24 hours for actively exploited vulnerabilities and severe incidents, and a full notification within 72 hours. The main obligations apply from 11 December 2027. In India, CERT-In issued guidelines for OEMs on 10 June 2026 that call for immediate reporting of critical and high vulnerabilities and for evidence of AI-assisted security testing. They are advisory, not law.

Why it matters for India

Most Indian device makers build on ESP-IDF, STM32Cube or the Pico SDK, so the exposed network code probably arrives inside your SDK copy rather than in code your team wrote. That makes a bill of materials, not a code review, the first thing to produce.

For small exporters, the EU’s 24-hour reporting clock is the harder test: a firm that cannot say within a day whether it ships a given stack version has a process problem that no patch solves.

Our view

The lesson is not that AI finds bugs. It is that the price of finding them has fallen so far that anyone with a harness and a few thousand dollars can scan the stacks you ship. Closed-source binaries are no longer a shield: the proprietary stacks cost more to analyse, not impossible, and they are where fixes are slowest. Indian OEMs should assume that attackers can run the same pipeline and spend one engineer-day this month building a stack-and-version inventory for each product. Waiting for the SDK vendor is a plan only if you can prove your vendor is moving.

Related reading

Sources

Representative image, AI-generated.

  • CERT-In
  • Cyber Resilience Act
  • ESP-IDF
  • Firmware Security
  • Forescout
  • IoT security
  • lwIP
  • Vulnerability Research

Related articles