Bug 2494410

Summary: CVE-2026-58058 nmap: Nmap: Denial of Service via crafted IPv6 response [fedora-all]
Product: [Fedora] Fedora Reporter: Jon Weiser <jweiser>
Component: nmapAssignee: Martin Osvald 🛹 <mosvald>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: medium    
Version: rawhideCC: fhrdina, mosvald, pavel
Target Milestone: ---Keywords: Security, SecurityTracking
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: {"flaws": ["a9960373-42f5-4fe1-a365-986121f16825"]}
Fixed In Version: nmap-7.92-11.fc45 nmap-7.92-11.fc44 Doc Type: ---
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2026-07-02 06:57:36 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 2493951    

Description Jon Weiser 2026-06-29 14:36:01 UTC
Disclaimer: Community trackers are created by Red Hat Product Security team on a best effort basis. Package maintainers are required to ascertain if the flaw indeed affects their package, before starting the update process.

Nmap through 7.99 does not keep the IPv6 extension-header walk within the captured packet in ipv6_get_data_primitive (libnetutil/netutil.cc), so the pointer advances past the buffer and the remaining-length computation underflows to a large value. A scanned target or on-path attacker returning a crafted IPv6 response with a truncated extension header can trigger out-of-bounds reads and a crash during raw IPv6 scans.

Comment 1 Martin Osvald 🛹 2026-06-30 07:09:36 UTC
The fixing commit: https://github.com/nmap/nmap/commit/bb6754e

Comment 2 Fedora Update System 2026-07-01 13:02:25 UTC
FEDORA-2026-0245fd9f84 (nmap-7.92-11.fc45) has been submitted as an update to Fedora 45.
https://bodhi.fedoraproject.org/updates/FEDORA-2026-0245fd9f84

Comment 3 Fedora Update System 2026-07-01 13:05:16 UTC
FEDORA-2026-3b30fa1da4 (nmap-7.92-11.fc44) has been submitted as an update to Fedora 44.
https://bodhi.fedoraproject.org/updates/FEDORA-2026-3b30fa1da4

Comment 4 Fedora Update System 2026-07-01 13:05:50 UTC
FEDORA-2026-602d919dbc (nmap-7.92-8.fc43) has been submitted as an update to Fedora 43.
https://bodhi.fedoraproject.org/updates/FEDORA-2026-602d919dbc

Comment 5 Fedora Update System 2026-07-02 01:41:41 UTC
FEDORA-2026-3b30fa1da4 has been pushed to the Fedora 44 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2026-3b30fa1da4`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2026-3b30fa1da4

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 6 Fedora Update System 2026-07-02 02:07:31 UTC
FEDORA-2026-602d919dbc has been pushed to the Fedora 43 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2026-602d919dbc`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2026-602d919dbc

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 7 Fedora Update System 2026-07-02 06:57:36 UTC
FEDORA-2026-0245fd9f84 (nmap-7.92-11.fc45) has been pushed to the Fedora 45 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 8 Fedora Update System 2026-07-03 00:56:23 UTC
FEDORA-2026-3b30fa1da4 (nmap-7.92-11.fc44) has been pushed to the Fedora 44 stable repository.
If problem still persists, please make note of it in this bug report.