Advisory

USN-8406-1

Also known as: CVE-2021-47154, CVE-2026-40198, CVE-2026-40199

Summary

libnet-cidr-lite-perl vulnerabilities

Details

Dave Rolsky discovered that Net::CIDR::Lite did not properly handle
extraneous zero characters at the beginning of an IP address string. A
remote attacker could possibly use this issue to bypass access controls
that are based on IP addresses. This issue only affected Ubuntu 16.04 LTS
and Ubuntu 18.04 LTS. (CVE-2021-47154)

It was discovered that Net::CIDR::Lite did not properly validate the IPv6
group count when handling uncompressed IPv6 addresses. A remote attacker
could possibly use this issue to bypass access controls. (CVE-2026-40198)

It was discovered that Net::CIDR::Lite mishandled IPv4 mapped IPv6
addresses. A remote attacker could possibly use this issue to bypass access
controls that are based on IP addresses. (CVE-2026-40199)

Severity

Not rated by the source.

Dates

Published
2026-06-08 16:06 UTC
Modified
2026-06-08 23:14 UTC

Affected packages and fixes

libnet-cidr-lite-perl

Debian packages (deb) · Ubuntu 22.04

Affected

  • introduced 0, fixed 0.22-1ubuntu0.1 (ecosystem)

Fixed versions

0.22-1ubuntu0.1

Fix

  • Fixed version 0.22-1ubuntu0.1
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

libnet-cidr-lite-perl

Debian packages (deb) · Ubuntu 24.04

Affected

  • introduced 0, fixed 0.22-2ubuntu0.24.04.1 (ecosystem)

Fixed versions

0.22-2ubuntu0.24.04.1

Fix

  • Fixed version 0.22-2ubuntu0.24.04.1
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

libnet-cidr-lite-perl

Debian packages (deb) · Ubuntu 25.10

Affected

  • introduced 0, fixed 0.22-2ubuntu0.25.10.1 (ecosystem)

Fixed versions

0.22-2ubuntu0.25.10.1

Fix

  • Fixed version 0.22-2ubuntu0.25.10.1
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

libnet-cidr-lite-perl

Debian packages (deb) · Ubuntu 26.04

Affected

  • introduced 0, fixed 0.22-2ubuntu0.26.04.1 (ecosystem)

Fixed versions

0.22-2ubuntu0.26.04.1

Fix

  • Fixed version 0.22-2ubuntu0.26.04.1
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: Ubuntu Security Notices · CC BY-SA 4.0

Sources & licences