Skip to content

Glossary: Physical and Wireless Vectors, and Vulnerabilities

Race condition

Also written: race

A flaw where a program's result depends on the timing of two things happening at once, so an attacker who changes the timing changes the result. An example is two customers using a discount code's last use at the same moment.

Where the book teaches it

Related terms

TOCTOU (time-of-check to time-of-use)Atomic operationLock (resource)Thread