Medium
net: icmp: Out of bound memory read
Type: advisorySources: OSV
A flaw in Zephyr’s network stack allows an IPv4 packet containing ICMP type 128 to be misclassified as an ICMPv6 Echo Request. This results in an out-of-bounds memory read and creates a potential information-leak vulnerability in the networking subsystem.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2025-12899
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 3 Nov 2026, 16:48 UTC · Revision 1
Source evidence
A flaw in Zephyr’s network stack allows an IPv4 packet containing ICMP type 128 to be misclassified as an ICMPv6 Echo Request. This results in an out-of-bounds memory read and creates a potential information-leak vulnerability in the networking subsystem.
osv:CVE-2025-12899
Complete source record
{
"id": "1993ff292b18c8bf28ad7d5df39a9273c3d765a2db1251273444c2473cb818b8",
"url": "https://osv.dev/vulnerability/CVE-2025-12899",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "net: icmp: Out of bound memory read",
"summary": "A flaw in Zephyr’s network stack allows an IPv4 packet containing ICMP type 128 to be misclassified as an ICMPv6 Echo Request. This results in an out-of-bounds memory read and creates a potential information-leak vulnerability in the networking subsystem.",
"evidence": "osv:CVE-2025-12899",
"products": [],
"severity": "medium",
"structured": {
"id": "CVE-2025-12899",
"aliases": [
"CVE-2025-12899",
"GHSA-c2vg-hj83-c2vg"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:L"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/zephyrproject-rtos/zephyr",
"type": "GIT",
"events": [
{
"introduced": "0"
},
{
"fixed": "bbbf8b30094dacd0d6830946ba206bcec8af6b0c"
},
{
"introduced": "8469084dfae85f854555f0607f2c838dad097235"
},
{
"fixed": "dbb536326e611dc8e97cc6a322d379ba9cac1ab7"
}
],
"database_specific": {
"extracted_events": [
{
"range": [
{
"introduced": "*"
},
{
"fixed": "3.7.2"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StandardRange"
},
{
"range": [
{
"introduced": "4.0.0"
},
{
"fixed": "4.2.2"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StandardRange"
}
]
}
}
],
"versions": [
"v3.7.2-rc2",
"v4.2.1",
"v4.2.0",
"v4.2.0-rc3",
"v4.2.0-rc2",
"v4.2.0-rc1",
"v4.1.0",
"v4.1.0-rc3",
"v4.1.0-rc2",
"v4.1.0-rc1",
"v3.7.1",
"v4.0.0",
"v3.7.1-rc1",
"v3.7.0",
"v3.7.0-rc3",
"v3.7.0-rc2",
"v3.7.0-rc1",
"v3.6.0",
"v3.6.0-rc3",
"v3.6.0-rc2",
"v3.6.0-rc1",
"zephyr-v3.5.0",
"v3.5.0",
"v3.5.0-rc3",
"v3.5.0-rc2",
"v3.5.0-rc1",
"zephyr-v3.4.0",
"v3.4.0",
"v3.4.0-rc3",
"v3.4.0-rc2",
"v3.4.0-rc1",
"zephyr-v3.3.0",
"v3.3.0",
"v3.3.0-rc3",
"v3.3.0-rc2",
"v3.3.0-rc1",
"zephyr-v3.2.0",
"v3.2.0",
"v3.2.0-rc3",
"v3.2.0-rc2",
"v3.2.0-rc1",
"zephyr-v3.1.0",
"v3.1.0",
"v3.1.0-rc3",
"v3.1.0-rc2",
"v3.1.0-rc1",
"zephyr-v3.0.0",
"v3.0.0",
"v3.0.0-rc3",
"v3.0.0-rc2",
"v3.0.0-rc1",
"v2.7.99",
"v2.7.0-rc3",
"v2.7.0-rc2",
"v2.7.0-rc1",
"zephyr-v2.6.0",
"v2.6.0",
"v2.6.0-rc3",
"v2.6.0-rc2",
"v2.6.0-rc1",
"zephyr-v2.5.0",
"v2.5.0",
"v2.5.0-rc4",
"v2.5.0-rc3",
"v2.5.0-rc2",
"v2.5.0-rc1",
"zephyr-v2.4.0",
"v2.4.0",
"v2.4.0-rc3",
"v2.4.0-rc2",
"v2.4.0-rc1",
"zephyr-v2.3.0",
"v2.3.0",
"v2.3.0-rc2",
"v2.3.0-rc1",
"zephyr-v2.1.0",
"v2.1.0",
"zephyr-v2.2.0",
"v2.2.0",
"v2.2.0-rc3",
"v2.2.0-rc2",
"v2.2.0-rc1",
"v2.1.0-rc3",
"v2.1.0-rc2",
"v2.1.0-rc1",
"zephyr-v2.0.0",
"v2.0.0",
"v2.0.0-rc3",
"v2.0.0-rc2",
"v2.0.0-rc1",
"zephyr-v1.14.0",
"v1.14.0",
"v1.14.0-rc3",
"v1.14.0-rc2",
"v1.14.0-rc1",
"zephyr-v1.13.0",
"v1.13.0",
"v1.13.0-rc3",
"v1.13.0-rc2",
"v1.13.0-rc1",
"zephyr-v1.12.0",
"v1.12.0",
"v1.12.0-rc3",
"v1.12.0-rc2",
"v1.12.0-rc1",
"zephyr-v1.11.0",
"v1.11.0",
"v1.11.0-rc3",
"v1.11.0-rc2",
"v1.11.0-rc1",
"zephyr-v1.10.0",
"v1.10.0",
"v1.10.0-rc3",
"v1.10.0-rc2",
"v1.10.0-rc1",
"zephyr-v1.9.0",
"v1.9.0",
"v1.9.0-rc4",
"v1.9.0-rc3",
"v1.9.0-rc2",
"v1.9.0-rc1",
"v1.8.99",
"zephyr-v1.5.0",
"v1.5.0",
"v1.7.99",
"v1.6.99",
"v1.5.0-rc4",
"v1.5.0-rc3",
"v1.5.0-rc2",
"v1.5.0-rc1",
"v1.5.0-rc0",
"zephyr-v1.4.0",
"v1.4.0",
"v1.4.0-rc3",
"v1.4.0-rc2",
"v1.4.0-rc1",
"zephyr-v1.3.0",
"v1.3.0",
"v1.3.0-rc2",
"v1.3.0-rc1",
"zephyr-v1.2.0",
"v1.2.0",
"v1.2.0-rc2",
"v1.2.0-rc1",
"zephyr-v1.1.0",
"v1.1.0",
"v1.1.0-rc1",
"zephyr-v1.0.0",
"v1.0.0"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-12899.json"
}
}
],
"modified": "2026-10-28T02:30:30.646402826Z",
"provider": "osv",
"references": [
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/12xxx/CVE-2025-12899.json",
"https://github.com/zephyrproject-rtos/zephyr/security/advisories/GHSA-c2vg-hj83-c2vg",
"https://nvd.nist.gov/vuln/detail/CVE-2025-12899",
"https://github.com/zephyrproject-rtos/zephyr"
],
"provider_metadata": {
"cwe_ids": [
"CWE-843"
],
"cna_assigner": "zephyr",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/12xxx/CVE-2025-12899.json"
}
},
"related_cves": [
{
"value": "CVE-2025-12899",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 497573,
"published_at": "2026-01-30T05:34:19.703+00:00"
}