CVE-2022-49727 (GCVE-0-2022-49727)
Vulnerability from cvelistv5 – Published: 2025-02-26 02:24 – Updated: 2025-12-23 13:25
VLAI?
Title
ipv6: Fix signed integer overflow in l2tp_ip6_sendmsg
Summary
In the Linux kernel, the following vulnerability has been resolved:
ipv6: Fix signed integer overflow in l2tp_ip6_sendmsg
When len >= INT_MAX - transhdrlen, ulen = len + transhdrlen will be
overflow. To fix, we can follow what udpv6 does and subtract the
transhdrlen from the max.
Severity ?
5.5 (Medium)
CWE
- CWE-190 - Integer Overflow or Wraparound
Assigner
References
Impacted products
| Vendor | Product | Version | |||||||
|---|---|---|---|---|---|---|---|---|---|
| Linux | Linux |
Affected:
a32e0eec7042b21ccb52896cf715e3e2641fed93 , < 2cf73c7cb6125083408d77f43d0e84d86aed0000
(git)
Affected: a32e0eec7042b21ccb52896cf715e3e2641fed93 , < 0e818d433fc2718fe4da044ffca7431812a7e04e (git) Affected: a32e0eec7042b21ccb52896cf715e3e2641fed93 , < 6c4e3486d21173d60925ef52e512cae727b43d30 (git) Affected: a32e0eec7042b21ccb52896cf715e3e2641fed93 , < 2f42389d270f2304c8855b0b63498a5a4d0c053d (git) Affected: a32e0eec7042b21ccb52896cf715e3e2641fed93 , < b8879ca1fd7348b4d5db7db86dcb97f60c73d751 (git) Affected: a32e0eec7042b21ccb52896cf715e3e2641fed93 , < 27a37755ceb401111ded76810359d3adc4b268a1 (git) Affected: a32e0eec7042b21ccb52896cf715e3e2641fed93 , < 034246122f5c5e2e2a0b9fe04e24517920e9beb1 (git) Affected: a32e0eec7042b21ccb52896cf715e3e2641fed93 , < f638a84afef3dfe10554c51820c16e39a278c915 (git) |
|||||||
|
|||||||||
{
"containers": {
"adp": [
{
"metrics": [
{
"cvssV3_1": {
"attackComplexity": "LOW",
"attackVector": "LOCAL",
"availabilityImpact": "HIGH",
"baseScore": 5.5,
"baseSeverity": "MEDIUM",
"confidentialityImpact": "NONE",
"integrityImpact": "NONE",
"privilegesRequired": "LOW",
"scope": "UNCHANGED",
"userInteraction": "NONE",
"vectorString": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H",
"version": "3.1"
}
},
{
"other": {
"content": {
"id": "CVE-2022-49727",
"options": [
{
"Exploitation": "none"
},
{
"Automatable": "no"
},
{
"Technical Impact": "partial"
}
],
"role": "CISA Coordinator",
"timestamp": "2025-10-01T19:31:59.782521Z",
"version": "2.0.3"
},
"type": "ssvc"
}
}
],
"problemTypes": [
{
"descriptions": [
{
"cweId": "CWE-190",
"description": "CWE-190 Integer Overflow or Wraparound",
"lang": "en",
"type": "CWE"
}
]
}
],
"providerMetadata": {
"dateUpdated": "2025-10-01T19:36:43.909Z",
"orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"shortName": "CISA-ADP"
},
"title": "CISA ADP Vulnrichment"
}
],
"cna": {
"affected": [
{
"defaultStatus": "unaffected",
"product": "Linux",
"programFiles": [
"net/l2tp/l2tp_ip6.c"
],
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"vendor": "Linux",
"versions": [
{
"lessThan": "2cf73c7cb6125083408d77f43d0e84d86aed0000",
"status": "affected",
"version": "a32e0eec7042b21ccb52896cf715e3e2641fed93",
"versionType": "git"
},
{
"lessThan": "0e818d433fc2718fe4da044ffca7431812a7e04e",
"status": "affected",
"version": "a32e0eec7042b21ccb52896cf715e3e2641fed93",
"versionType": "git"
},
{
"lessThan": "6c4e3486d21173d60925ef52e512cae727b43d30",
"status": "affected",
"version": "a32e0eec7042b21ccb52896cf715e3e2641fed93",
"versionType": "git"
},
{
"lessThan": "2f42389d270f2304c8855b0b63498a5a4d0c053d",
"status": "affected",
"version": "a32e0eec7042b21ccb52896cf715e3e2641fed93",
"versionType": "git"
},
{
"lessThan": "b8879ca1fd7348b4d5db7db86dcb97f60c73d751",
"status": "affected",
"version": "a32e0eec7042b21ccb52896cf715e3e2641fed93",
"versionType": "git"
},
{
"lessThan": "27a37755ceb401111ded76810359d3adc4b268a1",
"status": "affected",
"version": "a32e0eec7042b21ccb52896cf715e3e2641fed93",
"versionType": "git"
},
{
"lessThan": "034246122f5c5e2e2a0b9fe04e24517920e9beb1",
"status": "affected",
"version": "a32e0eec7042b21ccb52896cf715e3e2641fed93",
"versionType": "git"
},
{
"lessThan": "f638a84afef3dfe10554c51820c16e39a278c915",
"status": "affected",
"version": "a32e0eec7042b21ccb52896cf715e3e2641fed93",
"versionType": "git"
}
]
},
{
"defaultStatus": "affected",
"product": "Linux",
"programFiles": [
"net/l2tp/l2tp_ip6.c"
],
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"vendor": "Linux",
"versions": [
{
"status": "affected",
"version": "3.5"
},
{
"lessThan": "3.5",
"status": "unaffected",
"version": "0",
"versionType": "semver"
},
{
"lessThanOrEqual": "4.9.*",
"status": "unaffected",
"version": "4.9.320",
"versionType": "semver"
},
{
"lessThanOrEqual": "4.14.*",
"status": "unaffected",
"version": "4.14.285",
"versionType": "semver"
},
{
"lessThanOrEqual": "4.19.*",
"status": "unaffected",
"version": "4.19.249",
"versionType": "semver"
},
{
"lessThanOrEqual": "5.4.*",
"status": "unaffected",
"version": "5.4.200",
"versionType": "semver"
},
{
"lessThanOrEqual": "5.10.*",
"status": "unaffected",
"version": "5.10.124",
"versionType": "semver"
},
{
"lessThanOrEqual": "5.15.*",
"status": "unaffected",
"version": "5.15.49",
"versionType": "semver"
},
{
"lessThanOrEqual": "5.18.*",
"status": "unaffected",
"version": "5.18.6",
"versionType": "semver"
},
{
"lessThanOrEqual": "*",
"status": "unaffected",
"version": "5.19",
"versionType": "original_commit_for_fix"
}
]
}
],
"cpeApplicability": [
{
"nodes": [
{
"cpeMatch": [
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionEndExcluding": "4.9.320",
"versionStartIncluding": "3.5",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionEndExcluding": "4.14.285",
"versionStartIncluding": "3.5",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionEndExcluding": "4.19.249",
"versionStartIncluding": "3.5",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionEndExcluding": "5.4.200",
"versionStartIncluding": "3.5",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionEndExcluding": "5.10.124",
"versionStartIncluding": "3.5",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionEndExcluding": "5.15.49",
"versionStartIncluding": "3.5",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionEndExcluding": "5.18.6",
"versionStartIncluding": "3.5",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionEndExcluding": "5.19",
"versionStartIncluding": "3.5",
"vulnerable": true
}
],
"negate": false,
"operator": "OR"
}
]
}
],
"descriptions": [
{
"lang": "en",
"value": "In the Linux kernel, the following vulnerability has been resolved:\n\nipv6: Fix signed integer overflow in l2tp_ip6_sendmsg\n\nWhen len \u003e= INT_MAX - transhdrlen, ulen = len + transhdrlen will be\noverflow. To fix, we can follow what udpv6 does and subtract the\ntranshdrlen from the max."
}
],
"providerMetadata": {
"dateUpdated": "2025-12-23T13:25:10.052Z",
"orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"shortName": "Linux"
},
"references": [
{
"url": "https://git.kernel.org/stable/c/2cf73c7cb6125083408d77f43d0e84d86aed0000"
},
{
"url": "https://git.kernel.org/stable/c/0e818d433fc2718fe4da044ffca7431812a7e04e"
},
{
"url": "https://git.kernel.org/stable/c/6c4e3486d21173d60925ef52e512cae727b43d30"
},
{
"url": "https://git.kernel.org/stable/c/2f42389d270f2304c8855b0b63498a5a4d0c053d"
},
{
"url": "https://git.kernel.org/stable/c/b8879ca1fd7348b4d5db7db86dcb97f60c73d751"
},
{
"url": "https://git.kernel.org/stable/c/27a37755ceb401111ded76810359d3adc4b268a1"
},
{
"url": "https://git.kernel.org/stable/c/034246122f5c5e2e2a0b9fe04e24517920e9beb1"
},
{
"url": "https://git.kernel.org/stable/c/f638a84afef3dfe10554c51820c16e39a278c915"
}
],
"title": "ipv6: Fix signed integer overflow in l2tp_ip6_sendmsg",
"x_generator": {
"engine": "bippy-1.2.0"
}
}
},
"cveMetadata": {
"assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"assignerShortName": "Linux",
"cveId": "CVE-2022-49727",
"datePublished": "2025-02-26T02:24:38.672Z",
"dateReserved": "2025-02-26T02:21:30.448Z",
"dateUpdated": "2025-12-23T13:25:10.052Z",
"state": "PUBLISHED"
},
"dataType": "CVE_RECORD",
"dataVersion": "5.2"
}
Loading…
Loading…
Sightings
| Author | Source | Type | Date |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or observed by the user.
- Confirmed: The vulnerability has been validated from an analyst's perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
- Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
- Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
- Not confirmed: The user expressed doubt about the validity of the vulnerability.
- Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
Loading…
Loading…