# CVE-2021-47244: mptcp: Fix out of bounds when parsing TCP options

- Severity: High 8.2 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/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.72%, higher than 55% of CVEs (2026-12-01)
- Published: 2024-05-21T14:19:42.983Z
- Modified: 2026-08-05T08:46:55.302Z
- Weaknesses: CWE-125
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

## Description

In the Linux kernel, the following vulnerability has been resolved:

mptcp: Fix out of bounds when parsing TCP options

The TCP option parser in mptcp (mptcp_get_options) could read one byte
out of bounds. When the length is 1, the execution flow gets into the
loop, reads one byte of the opcode, and if the opcode is neither
TCPOPT_EOL nor TCPOPT_NOP, it reads one more byte, which exceeds the
length of 1.

This fix is inspired by commit 9609dad263f8 ("ipv4: tcp_input: fix stack
out of bounds when parsing TCP options.").

(As written by CVE List.)

## Affected

- Linux Linux: from cec37a6e41aae7bf3df9a3da783380a4d9325fd8 before 73eeba71dc9932970befa009e68272a3d5ec4a58; from cec37a6e41aae7bf3df9a3da783380a4d9325fd8 before 76e02b8905d0691e89e104a882f3bba7dd0f6037; from cec37a6e41aae7bf3df9a3da783380a4d9325fd8 before 07718be265680dcf496347d475ce1a5442f55ad7; 5.6 (not affected: before 5.6; from 5.10.46 up to 5.10.*; from 5.12.13 up to 5.12.*; from 5.13 up to *)
- linux linux_kernel: from 5.6 before 5.10.46; from 5.11 before 5.12.13; 5.13

## Every score

- Linux: CVSS:3.1 8.2 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:H`
- CISA-ADP: CVSS:3.1 6.2 Medium `CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://git.kernel.org/stable/c/73eeba71dc9932970befa009e68272a3d5ec4a58> (patch)
- <https://git.kernel.org/stable/c/76e02b8905d0691e89e104a882f3bba7dd0f6037> (patch)
- <https://git.kernel.org/stable/c/07718be265680dcf496347d475ce1a5442f55ad7> (patch)

## Sources

- CVE List: [CVE-2021-47244](https://www.cve.org/CVERecord?id=CVE-2021-47244), CVE Terms of Use, modified 2026-08-05
- NVD: [CVE-2021-47244](https://nvd.nist.gov/vuln/detail/CVE-2021-47244), Public domain, modified 2026-08-04

---

Page: https://cve.day/CVE-2021-47244 · Whole record: https://cve.day/CVE-2021-47244.json · Rebuilt by cve.day 2026-11-25T22:58:08.754Z
