Key takeaway

Security patches can help attackers identify weaknesses in older software versions through a technique known as patch diffing. Organisations should prioritise vulnerabilities that are actively exploited or exposed to the internet, verify that updates have been installed and investigate suspected compromises separately.

A security patch closes a known weakness, but the changes can also help attackers understand what was wrong. By comparing vulnerable software with its updated version, they may identify the flaw the developer fixed and investigate systems that have not installed the patch. The technique is called patch diffing.

The risk is not that every update creates an immediate attack. It is that a public fix can give attackers a useful starting point while older versions remain accessible. For organisations with internet-facing websites, routers, VPNs and business applications, the time between a patch becoming available and its installation can become an exposure window.

How patch diffing works

A researcher or attacker compares two versions of the same software: one containing a vulnerability and another in which the developer has corrected it. The comparison may involve source code or compiled binaries. Changes to a function, input check or access-control rule can reveal where the weakness was located.

Google Project Zero documented the technique in 2017, showing how differences between Windows versions helped researchers identify security flaws that had been fixed in one release but remained present in older versions.

A vulnerability with an available fix is often called an N-day vulnerability once it is publicly known. A zero-day, by contrast, is a flaw being exploited before the vendor has made an effective fix available. N-day attacks take advantage of the fact that releasing a patch does not update every copy of the affected software.

AI is shortening parts of the process

On 16 November 2026, Google's Threat Intelligence Group reported finding an exposed staging server hosting a multi-agent framework called exploit_agent. It was configured to compare popular web applications before and after patch announcements, analyse the changes, draft exploits and execute them automatically.

Google said this was the first time it had identified threat actors using large language model frameworks to automate vulnerability discovery and exploitation end to end without a human in the loop.

The report said telemetry on the server suggested the operator was interested in French media, entertainment and education websites. It did not publish a Nigerian victim count or establish that the framework was responsible for every compromise associated with the server.

The development shows how AI can connect stages of vulnerability research that previously required separate tools and specialist effort. It does not mean every patched vulnerability can now be exploited automatically. A usable exploit still has to work against a particular software version and configuration, and attackers need a reachable target.

What the African evidence says

A group of people in a dark room working on computers, related to cybersecurity. Image Credit: Tima Miroshnichenko via Pexels.
A group of people in a dark room working on computers, related to cybersecurity. Image Credit: Tima Miroshnichenko via Pexels.

INTERPOL's African Cyberthreat Assessment Report 2026 says the Shadowserver Foundation identified more than 6,000 exploitable vulnerabilities across Africa in 2025. The report names South Africa, Kenya and Nigeria among the countries with the highest concentrations. Its country-level chart assigns Nigeria 9.1 per cent of the detected-vulnerability distribution.

The systems most frequently implicated included outdated routers, vulnerable virtual private network (VPN) devices and misconfigured web-based document-management platforms.

These findings do not show that 9.1 per cent of Nigerian systems were compromised, or that the vulnerabilities were all exploited through patch diffing. They show that known weaknesses in ordinary network and business infrastructure remained exposed.

Nigeria's ngCERT also warned in its 30 April 2026 advisory, ngCERT-2026-040007, that attacks against organisations included the exploitation of unpatched systems. The warning is relevant to businesses that rely on internet-facing services, remote access, websites and connected office equipment.

Which security updates should be installed first?

When an organisation cannot patch everything at once, prioritisation should be based on exposure and potential harm rather than the number of available updates.

Three questions provide a practical starting point:

  1. Is the vulnerability already being exploited? Prioritise vendor or national CERT warnings, confirmed exploitation and vulnerabilities listed in recognised exploited-vulnerability catalogues.
  2. Can attackers reach the affected system? Public websites, remote-access gateways, VPNs, routers and services exposed to the internet generally deserve closer attention than isolated devices.
  3. What could the system expose or disrupt? A flaw affecting an administrator account, customer database, payment workflow or business-critical service may carry greater consequences than one on a low-impact device.

This is a prioritisation test, not a substitute for a full vulnerability assessment. NIST's SP 800-40 Revision 4 guide to enterprise patch management recommends an organised patch-management process that identifies, prioritises, acquires, installs and verifies updates.

Verification is essential. A download may be pending, an installation may require a restart, or the update may have been applied to the wrong software layer.

A WordPress update, for example, does not necessarily patch the PHP runtime serving the website. Website operators can use the PHP2Shell guide to checking and patching a vulnerable PHP website to understand that separate responsibility.

The same discipline applies to applications built with AI tools. A functioning website is not proof that its software dependencies, database permissions and maintenance arrangements are secure. TechView Africa's guide to assessing whether an AI-built website can safely run a business examines those wider checks.

Where a patch cannot be installed immediately, follow the vendor's mitigation advice. Depending on the service, this may mean restricting remote access, disabling an exposed feature or temporarily isolating the affected system.

Unsupported software that no longer receives security fixes should be upgraded, replaced or isolated from sensitive networks.

What individuals should check

Keep phones, computers, browsers, applications and home routers on supported software. Install updates through device settings or the vendor's official channel, not links in unexpected messages. After installation, confirm that the update has completed and restart the device when required.

Android users can check the installed security patch date rather than relying only on the main Android version. The guide to checking an Android security patch level and updating a phone explains where to find it.

Our Recommendation

Treat security updates as maintenance that must be completed and verified, not notifications that can be dismissed indefinitely.

For businesses, keep an inventory of internet-facing systems, assign responsibility for each one and prioritise vulnerabilities with evidence of exploitation, broad exposure or serious consequences. Ask hosting and IT providers to confirm which software layer was updated and whether the corrected version is running.

Patching closes the known weakness; it does not prove that nobody exploited it before the fix was installed. Where a system may already have been compromised, investigate it separately rather than assuming an update has removed an intruder.

Sources & Verification

NIST — place in Which security updates should be installed first

Google Threat Intelligence Group — place in AI is shortening parts of the process

INTERPOL — place in What the African evidence says

Frequently asked questions

Does patch diffing mean every security update reveals an exploitable flaw?

No. Comparing versions may reveal what changed, but an attacker still needs to identify a weakness that can be exploited against a particular system. Some patches are difficult to analyse, and not every vulnerability can be turned into a working attack.

Does installing a patch remove an attacker who accessed the system earlier?

Not necessarily. An update corrects the vulnerability it addresses, but it may not remove malware, unauthorised accounts or other persistence left behind. Organisations should investigate suspected compromise and follow an incident-response process as well as patching.

Can patch diffing affect web applications as well as operating systems?

Yes. Patch diffing can be used to analyse updates to web applications, network devices and other software, not just operating systems. If attackers identify a corrected vulnerability, they may look for websites or services still running the affected version. Exploitation depends on the specific flaw, software configuration and whether the vulnerable service is accessible.

How can I check whether my router or VPN device has an unpatched vulnerability?

Find the device's exact manufacturer, model, hardware revision and installed firmware version. Check the manufacturer's security advisories to see whether that version is affected and whether a fixed firmware release is available. Where a device is no longer supported, consider replacing it or isolating it from internet-facing and sensitive networks.

Are automatic software updates enough to protect a business from cyberattacks?

No. Automatic updates can reduce the time systems remain unpatched, but they do not guarantee that every application, server, router or software dependency is covered. Some updates also require approval or a restart before they take effect. Businesses should maintain an inventory of their software, confirm installed versions and prioritise vulnerabilities that are actively exploited or expose critical systems.

Add TechView Africa To Your Google Newsfeed
Comment
Reader discussion

Leave a comment

Comments cannot be edited or deleted after posting. Please review your comment before submitting.

No comments yet. Start the conversation.

Found an error, outdated step or safety concern? Contact the desk.