# CVE-2022-49727: ipv6: Fix signed integer overflow in l2tp_ip6_sendmsg

- Severity: Medium 5.5 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.28%, higher than 22% of CVEs (2026-12-01)
- Published: 2025-02-26T02:24:38.672Z
- Modified: 2026-06-17T05:18:58.940Z
- Weaknesses: CWE-190
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

## Description

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.

(As written by CVE List.)

## Affected

- Linux Linux: from a32e0eec7042b21ccb52896cf715e3e2641fed93 before 2cf73c7cb6125083408d77f43d0e84d86aed0000; from a32e0eec7042b21ccb52896cf715e3e2641fed93 before 0e818d433fc2718fe4da044ffca7431812a7e04e; from a32e0eec7042b21ccb52896cf715e3e2641fed93 before 6c4e3486d21173d60925ef52e512cae727b43d30; from a32e0eec7042b21ccb52896cf715e3e2641fed93 before 2f42389d270f2304c8855b0b63498a5a4d0c053d; from a32e0eec7042b21ccb52896cf715e3e2641fed93 before b8879ca1fd7348b4d5db7db86dcb97f60c73d751; from a32e0eec7042b21ccb52896cf715e3e2641fed93 before 27a37755ceb401111ded76810359d3adc4b268a1; from a32e0eec7042b21ccb52896cf715e3e2641fed93 before 034246122f5c5e2e2a0b9fe04e24517920e9beb1; from a32e0eec7042b21ccb52896cf715e3e2641fed93 before f638a84afef3dfe10554c51820c16e39a278c915; 3.5 (not affected: before 3.5; from 4.9.320 up to 4.9.*; from 4.14.285 up to 4.14.*; from 4.19.249 up to 4.19.*; from 5.4.200 up to 5.4.*; from 5.10.124 up to 5.10.*; from 5.15.49 up to 5.15.*; from 5.18.6 up to 5.18.*; from 5.19 up to *)
- linux linux_kernel: before 4.9.320; from 4.10 before 4.14.285; from 4.15 before 4.19.249; from 4.20 before 5.4.200; from 5.5 before 5.10.124; from 5.11 before 5.15.49; from 5.16 before 5.18.6; 5.19

## Every score

- CISA-ADP: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- NVD: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://git.kernel.org/stable/c/2cf73c7cb6125083408d77f43d0e84d86aed0000> (patch)
- <https://git.kernel.org/stable/c/0e818d433fc2718fe4da044ffca7431812a7e04e> (patch)
- <https://git.kernel.org/stable/c/6c4e3486d21173d60925ef52e512cae727b43d30> (patch)
- <https://git.kernel.org/stable/c/2f42389d270f2304c8855b0b63498a5a4d0c053d> (patch)
- <https://git.kernel.org/stable/c/b8879ca1fd7348b4d5db7db86dcb97f60c73d751> (patch)
- <https://git.kernel.org/stable/c/27a37755ceb401111ded76810359d3adc4b268a1> (patch)
- <https://git.kernel.org/stable/c/034246122f5c5e2e2a0b9fe04e24517920e9beb1> (patch)
- <https://git.kernel.org/stable/c/f638a84afef3dfe10554c51820c16e39a278c915> (patch)

## Sources

- CVE List: [CVE-2022-49727](https://www.cve.org/CVERecord?id=CVE-2022-49727), CVE Terms of Use, modified 2026-05-11
- NVD: [CVE-2022-49727](https://nvd.nist.gov/vuln/detail/CVE-2022-49727), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2022-49727 · Whole record: https://cve.day/CVE-2022-49727.json · Rebuilt by cve.day 2026-11-25T22:58:20.829Z
