Number line vulnerability?
« previous post | next post »
Today's xkcd:
Mouseover title: "Other numbers are largely unaffected, but anyone using '4' for their certificate key is urged to upgrade to '5'."
This obviously echoes the recent panic about vulnerabilities in PHP. The joke works because PHP was just about as much of the assumed ontological background as the number line, even for the small fraction of people who knew what it is.
Although if you were one of those (even fewer) people who knew that its TLA was recursive for "PHP: Hypertext Preprocessor", you might have wondered…

Michal Hanula said,
October 23, 2026 @ 7:52 am
This is most probably about the eMudhra incident, where it turned out that a certificate authority used private keys which were a little bit too simple.
One of the keys was 4.
Which was probably not related to https://xkcd.com/221, but should have been.
Bruce Stephens said,
October 23, 2026 @ 8:00 am
Wrong catastrophic security fail, I think. This one's surely about the CA eMudhra which had 8 CA certificates with unusually small private keys, the smallest being 4.
Mark Liberman said,
October 23, 2026 @ 8:40 am
@Bruce Stephens:
explainxkcd lists both the PHP hack and the eMudhra vulnerability.
The eMudhra part:
TLS is intended to use a random 384-bit-long integer as its key. Falsifying a TLS certificate requires the key, and determining the key from the certificate is effectively impossible. Due to the massive number of possible values in a 384-bit integer (over 10^115 distinct values), any attempt to guess-and-check keys should have astronomically low chances of finding the real key in any reasonable timeframe. However, although they were expressed in 384-bit formats, a coding error meant that the private keys for eMudhra's 8 certificates were actually set to random numbers from 0 through 255, one of them being simply the number 4. A simple guess-and-check strategy, starting from 0, can easily find all of these keys in less than a second.
The title text is a reference to the eMudhra security vulnerability, specifically the certificate key "4". However, using "5" instead would not have been an improvement.
Trevor Stone said,
October 23, 2026 @ 12:27 pm
Unlike the natural numbers, "PHP probably has a security flaw" is an ontological assumption that many people in the software world hold. PHP's early design prioritized ease of coding over error handling and correctness, so for three decades we've seen a flood of security problems in PHP websites: https://en.wikipedia.org/wiki/PHP#Security A fire drill where everyone needs to update PHP is about as surprising as an alcoholic crashing a car.
Y said,
October 23, 2026 @ 2:19 pm
recursive for "PHP: Hypertext Preprocessor"
Then why the first "P" in particular? It could have been any letter.
Daniel Wachsstock said,
October 23, 2026 @ 2:37 pm
From Wikipedia:
PHP was originally an abbreviation of "Personal Home Page", but it now stands for the recursive backronym "PHP: Hypertext Preprocessor". Computer geeks like being weird.
Alexander Browne said,
October 23, 2026 @ 2:51 pm
Y: Wikipedia says "PHP was originally an abbreviation of 'Personal Home Page', but it now stands for the recursive backronym 'PHP: Hypertext Preprocessor'."
Viseguy said,
October 23, 2026 @ 4:22 pm
@Y:
For the palindromic kicker, I suppose. Or maybe they used a random-letter generator that always returns "P".
Jonathan Smith said,
October 23, 2026 @ 8:51 pm
Hm well plenty of Australian languages apparently have a compositional 3 (generally lit. "2+1")… running updates on such things just because your neighbors have doesn't always pay I guess.
bks said,
October 24, 2026 @ 6:14 am
2+2 = 5 for sufficiently large values of 2.
https://en.wikipedia.org/wiki/2_%2B_2_%3D_5
Philip Taylor said,
October 24, 2026 @ 10:06 am
"Hm well plenty of Australian languages apparently have a compositional 3 (generally lit. "2+1")… running updates on such things just because your neighbors have doesn't always pay I guess." — could anyone offer a translation of this into standard (ideally British) English, capable of comprehension by a native speaker of same ?
Jonathan Smith said,
October 24, 2026 @ 11:14 am
@ Philip Taylor
Here is ChatGPT's (OpenAI) attempt at the Queen's English:
—–
The joke rests on the intersection of linguistic conservatism, technological obsolescence, and the unexpected advantages of not adopting the latest innovations.
In the xkcd cartoon, mathematicians have discovered a critical vulnerability affecting the number three. The cartoon treats the number line as though it were a computer operating system, in which individual numbers might develop security flaws requiring emergency software patches. Until the vulnerability has been repaired, people are advised to avoid using the number three directly, substituting expressions such as ‘half six’ or ‘baker’s two’.
The response points out that a number of Australian Aboriginal languages have traditionally been described as having small numeral systems in which ‘three’ is not expressed by an independent, unanalyzable numeral, but rather by a compound expression meaning something like ‘two plus one’.
The joke is that these languages have inadvertently avoided the mathematical security vulnerability by never adopting the supposedly more advanced technology in the first place.
The final sentence, ‘running updates on such things just because your neighbours have doesn't always pay’, extends the computer metaphor to linguistic change. It imagines the development or adoption of an independent numeral for ‘three’ as a software upgrade, perhaps encouraged by neighbouring speech communities that have already installed it.
The speakers who retained the older, compositional expression might previously have appeared technologically backward. But now that the new version of ‘three’ has been found to contain a critical vulnerability, their reluctance to upgrade looks unexpectedly prudent.
There is also a secondary absurdity: the joke treats the independent lexicalisation of a numeral as though it were an optional technological innovation, rather than an ordinary feature of the historical development of languages.
The humour therefore has a rather neat reversal at its heart: what looked like a failure to modernise turns out to have been a successful security precaution.
There is a genuine linguistic basis for the joke. For example, Wiradjuri has an attested compositional numeral buula-nguunbaay (‘two-one’) for ‘three’. Research also shows that Australian numeral systems have undergone changes involving the acquisition, loss and replacement of numeral forms, although these changes do not necessarily constitute a straightforward progression from simpler to more elaborate systems.
In short, the joke suggests that speakers who resisted the fashionable new standalone ‘three’ have been vindicated: their supposedly outdated counting system is still running perfectly well, whilst everybody else's requires an urgent security patch.
Philip Taylor said,
October 24, 2026 @ 11:37 am
Thank you Jonathan, thank you ChatGPT.
unekdoud said,
October 24, 2026 @ 12:29 pm
Math as programming language is also current, with the same AI models that write code also being tasked to write proofs (which can also be code).
Rewinding the logical system to the last century: Russell's paradox is a logical vulnerability in naive set theory which was patched out by forbidding some self-referential expressions.
Roughly speaking, of course.
wgj said,
October 25, 2026 @ 9:03 am
The solution is patently obvious: Migrate to the binary system, in which there is no "three", only 11. This is also what those Australian languages mentioned mentioned by Jonathan must have done already – they aren't backwards, but super advanced!
Andrew Usher said,
October 25, 2026 @ 12:34 pm
I admit I shared Philip Taylor's confusion on:
"… running updates on such things just because your neighbors have doesn't always pay I guess."
I'm not sure if he shared this, but I read "running updates" as participle + noun ('updates' = 'news') rather than gerund + object ('updates' = 'changes'), a garden-path turn that is fine with "on such things" but makes the remaining clause nonsense, though it's completely correct in the intended reading. I'm not unfamiliar, of course, with the computer meaning of 'updates', but the context here hadn't triggered it.
Edith said,
October 26, 2026 @ 12:18 am
Re: 2 + 2 = 5
Rudy Rucker and Terry Bisson wrote a short story with that name.
In it, the protagonists posit if you count up high enough your counter will skip a number – that skipped integer simply does not exist on our real-world number line.
They conclude the missing integer is 4.
Available here: https://www.rudyrucker.com/completestories/completestories.html
Olaf Zimmermann said,
October 26, 2026 @ 2:56 am
https://www.youtube.com/watch?v=xOrgLj9lOwk
Chris Button said,
October 26, 2026 @ 6:39 am
I've always liked how YARA rules for pattern detection in malware officially stands for "Yet Another Recursive Acronym".
Chris Button said,
October 26, 2026 @ 7:10 am
And so perhaps those "one, two, many" counting systems go well beyond a binary opposition to a quantum state of "many" that operates simultaneously between "one" and "two"….
Maybe Q-Day (Quantum Day) won't be that scary after all. Been there, done that…
pfb said,
October 26, 2026 @ 6:09 pm
And of course "GNU" stands for "Gnu's Not Unix."
Ryan said,
October 27, 2026 @ 10:47 am
>Here is ChatGPT's (OpenAI) attempt
Enchattification: 10 paragraphs for C-GPT to show it has no idea what it's talking about.
Cliff Arroyo said,
October 27, 2026 @ 4:13 pm
OT: With Victor Mair sadly gone, it sure would be nice if you could get regular contributors who talk about languages besides English.
Olaf Zimmermann said,
November 1, 2026 @ 12:46 am
@Cliff Arroyo:
I do not think that the Language Log is the right place for you, for three reasons:
a) gratuitous slights to not belong here
b) being high on opinion but low on substance does not qualify you as a contributor (I checked out your own blog)
c) you failed to apply any of Grice's four maxims.
Philip Taylor said,
November 3, 2026 @ 10:02 am
« And of course "GNU" stands for "Gnu's Not Unix" » — Would that be « Gnu's "Not Unix" » or « Gnu is Not Unix » ?