Skip to main content [aditude-amp id="stickyleaderboard" targeting='{"env":"staging","page_type":"article","post_id":1692281,"post_type":"story","post_chan":"none","tags":null,"ai":false,"category":"none","all_categories":"business,security,","session":"A"}']

This link will crash your Chrome tab

Browsers are supposed to be able to open hyperlinks — one could argue that’s their main purpose. This past weekend, developer and Reddit user jlblatt discovered he could create links that open in Google’s browser, but then instantly crash the tab.

To try it yourself, fire up Chrome 41 (the latest stable version) or older and click this link or this link. This bug is open for abuse, as jlblatt shows in his proof of concept: this Reddit thread crashes because of the content in the user-submitted post. Even worse, you can crash a Reddit thread just by posting such a link as a comment.

[aditude-amp id="flyingcarpet" targeting='{"env":"staging","page_type":"article","post_id":1692281,"post_type":"story","post_chan":"none","tags":null,"ai":false,"category":"none","all_categories":"business,security,","session":"A"}']

Here is the code for an example link that will crash your Chrome tab:

<a href=”http://Lorem ipsum Culpa labore qui culpa enim nostrud eiusmod ullamco anim in dolor consequat voluptate in in laboris consequat dolor occaecat minim aliqua quis id in Duis eiusmod amet id do ex do dolore dolor anim sit deserunt do.”></a>

We had to use html characters < and > above or Chrome users wouldn’t be able to open this article. Interestingly, using https instead of http is enough to avoid causing a crash.

AI Weekly

The must-read newsletter for AI and Big Data industry written by Khari Johnson, Kyle Wiggers, and Seth Colaner.

Included with VentureBeat Insider and VentureBeat VIP memberships.

This issue is bigger than the last Chrome tab crash bug, caused by 13 characters, because that one was limited to just Mac OS X. This one affects Windows, OS X, Chrome OS, and some Linux installations.

The good news is that this bug was reported last month (Chromium issue) and has since been fixed, according to this Chromium code review. As a result, Chrome 42 and higher should no longer be affected (we did some basic testing and confirmed this appears to be the case).

For those interested in why this happens, Chrome is essentially running out of memory for the given tab. The fix is related to the DNS prefetch function, the renderer for which tries to send long hostnames to the browser.

We’ve reached out to Google for more information and will update you if we hear back. In the meantime, Chrome 42 is expected to arrive by the end of the month.

VentureBeat's mission is to be a digital town square for technical decision-makers to gain knowledge about transformative enterprise technology and transact. Learn More