Skip to Content

Apple Says NeuralHash Tech Impacted by 'Hash Collisions' Is Not the Version Used for CSAM Detection

Developer Asuhariet Yvgar this morning said that he had reverse-engineered the NeuralHash algorithm that Apple is using to detect Child Sexual Abuse Materials (CSAM) in iCloud Photos, posting evidence on GitHub and details on Reddit.

Child Safety Feature Blue
Yvgar said that he reverse-engineered the NeuralHash algorithm from iOS 14.3, where the code was hidden, and he rebuilt it in Python. After he uploaded his findings, another user was able to create a collision, an issue where two non-matching images share the same hash. Security researchers have warned about this possibility because the potential for collisions could allow the CSAM system to be exploited.

In a statement to Motherboard, Apple said that the version of the NeuralHash that Yvgar reverse-engineered is not the same as the final implementation that will be used with the CSAM system. Apple also said that it made the algorithm publicly available for security researchers to verify, but there is a second private server-side algorithm that verifies a CSAM match after the threshold is exceeded, along with human verification.

Apple however told Motherboard in an email that that version analyzed by users on GitHub is a generic version, and not the one final version that will be used for iCloud Photos CSAM detection. Apple said that it also made the algorithm public.

"The NeuralHash algorithm [... is] included as part of the code of the signed operating system [and] security researchers can verify that it behaves as described," one of Apple's pieces of documentation reads. Apple also said that after a user passes the 30 match threshold, a second non-public algorithm that runs on Apple's servers will check the results.

Matthew Green, who teaches cryptography at Johns Hopkins University and who has been a vocal critic of Apple's CSAM system, told Motherboard that if collisions "exist for this function," then he expects "they'll exist in the system Apple eventually activates."

"Of course, it's possible that they will re-spin the hash function before they deploy," he said. "But as a proof of concept, this is definitely valid," he said of the information shared on GitHub.

Because of the human element, though, another researcher, Nicholas Weaver, told Motherboard that all people can do with manipulating non-CSAM hashes into CSAM is "annoy Apple's response team with garbage images until they implement a filter" to get rid of false positives. Actually fooling Apple's system would also require access to the hashes provided by NCMEC and it would require the production of over 30 colliding images, with the end result not fooling the human oversight.

Apple is using its NeuralHash system to match a database of image hashes provided by agencies like the National Center for Missing Children (NCMEC) to images on user devices to search for CSAM. The system is designed to produce exact matches and Apple says there's a one in a trillion chance that an iCloud account can be accidentally flagged.

Apple is planning to implement the NeuralHash CSAM system in iOS and iPadOS 15 as part of a suite of child safety features, and it has been a hugely controversial decision with Apple receiving criticism from customers and privacy advocates. Apple has been attempting to reassure customers and security researchers about the implementation of the system with additional documentation and executive interviews.

Popular Stories

apple design award 2025

Apple Announces 2025 Design Award Winners Ahead of WWDC 2025

Tuesday June 3, 2025 10:14 am PDT by
As we wait for WWDC to kick off next Monday, Apple today announced the winners of its annual Apple Design Awards, recognizing apps and games for their innovation, ingenuity, and technical achievement. The 2025 Apple Design Award winners are listed below, with one app and one game selected per category: Delight and Fun - CapWords (App) and Balatro (Game) Innovation - Play (App) and PBJ -...
Apple 2026 Black Friday Event Hero

Apple's Official 2026 Black Friday Offer Starts Rolling Out

Thursday November 26, 2026 8:37 am PST by
Apple's annual four-day Black Friday through Cyber Monday shopping event is now live in Australia, New Zealand, and Thailand, and it will continue to roll out across Europe, the U.S., and Canada as the calendar turns to Friday, November 27 around the world. In the U.S., Apple's terms and conditions say the promotion begins on November 27 at 12 a.m. Pacific Time and ends on November 30 at...
ipod nano 7 ios project

iPod Nano Can Finally Run iOS

Sunday November 29, 2026 10:10 am PST by
A new, unofficial software project allows Apple's seventh-generation iPod nano to run iOS and classic iPhone apps. Despite looking like a miniature iPod touch, the device originally ran its own operating system with an unusual, iOS 6-like interface and round app icons, without support for iPhone apps. At just 5.4mm thick and weighing 31 grams, it remains Apple's thinnest standalone device...

Top Rated Comments

69 months ago
Make it all public. It’s for the children, right? What do you have to hide, Apple?
Score: 63 Votes (Like | Disagree)
miniyou64 Avatar
69 months ago
People giving Apple the benefit of the doubt here are making a tremendous amount of assumptions. This kind of tech never remains only for its intended use. No matter which way you spin it (for the children!) this is invasive. Someone on Twitter mentioned what happens if someone airdrops you a bunch of illicit photos and they sync to iCloud in a matter of seconds? Boom you’re flagged. There’s 1,000,000 ways for this system to go wrong or be exploited or worse ruin innocent peoples lives. And if you do end up being one of those people, you will have exactly zero recourse to prove your innocence. It’s over for you. This entire thing is very stupid on Apple’s part.
Score: 58 Votes (Like | Disagree)
zakarhino Avatar
69 months ago
*amateur devs exploit the system within a few hours of discovery*

Apple: "Uhhh guys, this is totally not the finished algorithm! Believe us!"
Score: 47 Votes (Like | Disagree)
69 months ago
As Rene Ritchie says on MacBreak Weekly, Apple keeps talking down to us as if we don't understand, and our response is "You don't understand, we understand and do not like this"
Score: 42 Votes (Like | Disagree)
69 months ago
Wait - I’m confused by this. Does this mean that everyone’s iCloud is going to be scanned without user’s authorization in the name of child welfare??

While I am sure people may agree with this, it seems like one step away from doctors/dentists submitting DNA samples of *every* patient because it is in the public interest.

This program seems just a small morale slip away from being an invasion of privacy on a monumental scale. Give what Snowden revealed the US government has a huge thirst for data collection like this. It’s a short hop to scan for compromising photos of your political rivals, yes?
Score: 42 Votes (Like | Disagree)
PharaohVision Avatar
69 months ago

Make it all public. It’s for the children, right? What do you have to hide, Apple?
Yeah, this is increasingly sounding like its not meant for children. Not forgetting the fact that actual pedos, who are likely very small in number, will either just turn off iCloud Photos or get Android phones. Normal people are left stuck with the bill. Apple are going to have to pull this whole thing.
Score: 39 Votes (Like | Disagree)

Guides

ios 27 icon square sidebar

Our comprehensive guide highlighting every major new addition in iOS 27, plus how-tos that walk you through using the new features.

macos golden gate sidebar square

New features and lesser-known changes to check out if you're upgrading.

ios 27 2 newsletter

Siri AI improvements, Suggestions in Messages, Apple Music rebrand, and more.

iPhone Duo New Features Feature

Apple's iPhone Duo is in customers' hands, and our dedicated how-to series explains the new features worth trying first.

Upcoming

iphone 17 colors sidebar square
Spring 2027

Apple's cheapest flagship model won't get an update until early 2027.

Latest Stories
Best Apple Cyber Monday Deals: Record Low Prices on AirPods, Macs, and More
Best Apple Cyber Monday Deals: Record Low Prices on AirPods, Macs, and More
15 hours ago
Apple Could Be Forced to Allow Rival App Stores in Yet Another Country
Apple Could Be Forced to Allow Rival App Stores in Yet Another Country
2 hours ago
iPod Nano Can Finally Run iOS
iPod Nano Can Finally Run iOS
19 hours ago
Apple Gift Card Purchases Over $100 on Amazon Include $15 Credit
Apple Gift Card Purchases Over $100 on Amazon Include $15 Credit
21 hours ago
AirPods Max 2 Drop to Record Low $399 Price for Cyber Monday
AirPods Max 2 Drop to Record Low $399 Price for Cyber Monday
22 hours ago
Apple Now Aims to Repair Rather Than Replace iPhone Duos With Cracked Screens
Apple Now Aims to Repair Rather Than Replace iPhone Duos With Cracked Screens
2 days ago
Here Are the Best Apple Black Friday Leftover Deals You Can Get Today
Here Are the Best Apple Black Friday Leftover Deals You Can Get Today
2 days ago
HomePod Mini 2 in (RED) Seemingly Spotted Ahead of Announcement
HomePod Mini 2 in (RED) Seemingly Spotted Ahead of Announcement
2 days ago
Apple's M6 and PROLED MacBook Pro Reach New Low Prices for Black Friday
Apple's M6 and PROLED MacBook Pro Reach New Low Prices for Black Friday
3 days ago
The MacRumors Show: iPhone Air 2 and iPhone 18 Are Coming
The MacRumors Show: iPhone Air 2 and iPhone 18 Are Coming
3 days ago
Apple Store in Brisbane Reopening Next Month With New Design
Apple Store in Brisbane Reopening Next Month With New Design
3 days ago
The 60+ Best Black Friday Accessory Deals on iPhone Chargers, TVs, Headphones, and More
The 60+ Best Black Friday Accessory Deals on iPhone Chargers, TVs, Headphones, and More
2 days ago
GTA VI Now (Barely) Running on Apple Silicon Macs
GTA VI Now (Barely) Running on Apple Silicon Macs
3 days ago
The Best Black Friday Streaming Deals on Apple TV, Disney+, and More
The Best Black Friday Streaming Deals on Apple TV, Disney+, and More
3 days ago
Apple TV's 'Carême' Wins International Emmy for Best Drama
Apple TV's 'Carême' Wins International Emmy for Best Drama
3 days ago
iPhone 18 Production Delay Leaves Apple Little Time Before Launch
iPhone 18 Production Delay Leaves Apple Little Time Before Launch
3 days ago
The Best Black Friday AirPods Deals Still Available
The Best Black Friday AirPods Deals Still Available
3 days ago
The Best Black Friday Deals on Apple Home Products
The Best Black Friday Deals on Apple Home Products
3 days ago
The Best Black Friday iPhone Deals Still Available
The Best Black Friday iPhone Deals Still Available
3 days ago
The Best Black Friday iPad Deals Still Available
The Best Black Friday iPad Deals Still Available
3 days ago
The Best Black Friday Apple Watch Deals Still Available
The Best Black Friday Apple Watch Deals Still Available
3 days ago
The Best Black Friday AirTag Deals Still Available
The Best Black Friday AirTag Deals Still Available
3 days ago
The Best Black Friday Mac Deals Still Available
The Best Black Friday Mac Deals Still Available
3 days ago
iPhone Share of US Smartphone Market Hits 57% as Rivals Slip
iPhone Share of US Smartphone Market Hits 57% as Rivals Slip
3 days ago
iPhone 20 Pro Rumored to Feature 3D-Printed Titanium Frame
iPhone 20 Pro Rumored to Feature 3D-Printed Titanium Frame
3 days ago
The 50+ Best Apple Black Friday Deals Still Available on AirPods, iPads, and More
The 50+ Best Apple Black Friday Deals Still Available on AirPods, iPads, and More
2 days ago
Apple's Official 2026 Black Friday Offer Starts Rolling Out
Apple's Official 2026 Black Friday Offer Starts Rolling Out
4 days ago
Halide Adds Fill Light Feature for iPhone Duo
Halide Adds Fill Light Feature for iPhone Duo
4 days ago
MacBook Air Black Friday Deals Now Live With Massive $399 Savings
MacBook Air Black Friday Deals Now Live With Massive $399 Savings
4 days ago
Amazon Discounts All MacBook Neo Models by $99 for Black Friday
Amazon Discounts All MacBook Neo Models by $99 for Black Friday
4 days ago

🔗 Related Apple News & Rumors

Stay updated with the latest Apple ecosystem news and verified rumors