Cybersecurity news

Jessica Doner

Back to the list

Three in four AI-generated vulnerability patches leave something broken

Help Net Security,

AI models often produce vulnerability patches that look correct and pass tests, but three in four of them leave something broken.

Vulnerabilities and patchesAI and security

Overview

Researchers at 1Password tested how well AI models could fix real software flaws by generating 6,080 patchesA software update released by a developer to fix a bug or close a security flaw for six disclosed vulnerabilitiesA flaw in software or hardware that lets an attacker do something the maker did not intend. They found that three in four of these AI-generated fixes left the software broken in some way. In a specific test of the Freenginx web serverA computer or program on a network that stores data and responds to requests from client devices, ChatGPT 5.5 produced 270 attempts to fix a memory bug, and every single one introduced a new problem. The failures often looked like correct fixes and passed basic tests, but they left exploitable paths open or created new bugs. Organizations relying on AI to secure their systems might think they are safe when they are actually more vulnerable. A standard client can now crash the Freenginx server using the new flaw that the AI patches created.

Terms in this story

patches
A software update released by a developer to fix a bug or close a security flaw. When a software flaw is discovered, the vendor ships a patch so administrators and ordinary users can update their systems before attackers exploit the bug. Security+ objective 4.3 lists the term
server
A computer or program on a network that stores data and responds to requests from client devices. Online stores, email systems, and multiplayer games all run on servers in data centers or the cloud, making unpatched servers a primary target for intruders.
exploit
A piece of code or technique that uses a software flaw to break into or crash a system. Finding a vulnerability is only the discovery of a weakness, whereas an exploit is the working code or sequence of inputs that triggers that weakness in practice. Security+ objective 2.4 lists the term
vulnerability
A flaw in software or hardware that lets an attacker do something the maker did not intend. Security advisories report a vulnerability when researchers or attackers find a coding mistake in an app or server that allows someone to break in or crash it. Security+ objective 2.3 lists the term
maintainer
The developer or small team responsible for reviewing changes and publishing releases for an open-source project. Supply chain attackers often target a volunteer maintainer with phishing emails or offers to help, hoping to gain publishing rights over a popular code library.
CVEs
The public tracking code assigned to a specific known security flaw in software or hardware. Every cataloged software flaw gets a unique CVE label so security teams, vendors, and news reports can talk about the exact same bug without confusion. Security+ objective 2.3 lists the term
use-after-free
A memory bug where a program keeps using a memory slot after releasing it. Software makers frequently patch use-after-free bugs because an attacker can fill that freed memory slot with crafted data and trick the program into running malicious code.
Bits
1 binary digit, a 1 or a 0 (a switch that is on or off). Every file, network packet, and cryptographic key in a computer is stored as a long sequence of bits, and key strength is measured by how many bits the key contains. From the CYBR 101 room CYBR 101: Ciphers and encryption (part 1)

This page is a short description made for this site. The article itself, with its author's name and its own link, is on the Help Net Security website. Cite the article, not this page.

Read the full article on Help Net Security (opens in a new tab)

Course connections

Each line below connects this story to a Security+ objective (a skill on CompTIA's Security+ exam, a common first cybersecurity certification), a CYBR 101 week, or a cybersecurity job, and quotes the words that made the connection.

How a story is connected to the course, and every objective, week and job role

Related