# CVE-2022-1841: Out-of-bound write in tcp_flags

- Severity: High 7.2 (CVSS:3.1, scored by zephyr) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:L/A:L`
- 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.60%, higher than 50% of CVEs (2026-12-01)
- Published: 2022-08-31T19:40:08.845Z
- Modified: 2026-06-17T04:23:12.600Z
- Weaknesses: CWE-787
- Assigned by: zephyr

## Description

In subsys/net/ip/tcp.c , function tcp_flags , when the incoming parameter flags is ECN or CWR , the buf will out-of-bounds write a byte zero.

(As written by CVE List.)

## Affected

- zephyrproject-rtos zephyr: from unspecified up to v3.0
- zephyrproject zephyr: up to 3.0.0

## Every score

- zephyr: CVSS:3.1 7.2 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:L/A:L`
- NVD: CVSS:3.1 5.3 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N`

## References

- <http://github.com/zephyrproject-rtos/zephyr/security/advisories/GHSA-5c3j-p8cr-2pgh> (patch, third-party-advisory)

## Sources

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

---

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