CVE-2026-6985

Cesanta Mongoose TCP Option net_builtin.c handle_opt infinite loop

State
Published
Severity
6.9 Medium
Published
Apr 25, 2026
Updated
Apr 27, 2026
Reserved
Apr 24, 2026

Read the record on cve.org

Description

A weakness has been identified in Cesanta Mongoose up to 7.20. This vulnerability affects the function handle_opt of the file /src/net_builtin.c of the component TCP Option Handler. This manipulation of the argument optlen causes infinite loop. The attack is possible to be carried out remotely. The exploit has been made available to the public and could be used for attacks. Upgrading to version 7.21 is able to resolve this issue. Upgrading the affected component is advised. VulDB has contacted the vendor early and they confirmed quickly, that this issue got fixed already.

Scores

CVSSScoreVectorSource
4.06.9 MediumCVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:PVulDB
3.15.3 MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L/E:P/RL:O/RC:CVulDB
3.05.3 MediumCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L/E:P/RL:O/RC:CVulDB
2.05.0 MediumAV:N/AC:L/Au:N/C:N/I:N/A:P/E:POC/RL:OF/RC:CVulDB

Weaknesses

Affected Products

ProductVersions
MongooseCesanta
  • 7.0Affected
  • 7.1Affected
  • 7.2Affected
  • 7.3Affected
  • 7.4Affected
  • 7.5Affected
  • 7.6Affected
  • 7.7Affected
  • 7.8Affected
  • 7.9Affected
  • 7.10Affected
  • 7.11Affected
  • 7.12Affected
  • 7.13Affected
  • 7.14Affected
  • 7.15Affected
  • 7.16Affected
  • 7.17Affected
  • 7.18Affected
  • 7.19Affected
  • 7.20Affected
  • 7.21Not affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.