An integer overflow was discovered in the CoAP library in Arm Mbed OS 5.14.0
Published Nov 5, 2019
9.8
CRITICALCVSS 3.1
EPSS 2.57%
Description
An integer overflow was discovered in the CoAP library in Arm Mbed OS 5.14.0. The function sn_coap_builder_calc_needed_packet_data_size_2() is used to calculate the required memory for the CoAP message from the sn_coap_hdr_s data structure. Both returned_byte_count and src_coap_msg_ptr->payload_len are of type uint16_t. When added together, the result returned_byte_count can wrap around the maximum uint16_t value. As a result, insufficient buffer space is allocated for the corresponding CoAP message.
Affected products
Remediation
No remediation recorded yet.
Metrics
No CVSS v4.0 score for this CVE.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
No CVSS v3.0 score for this CVE.
AV:N/AC:L/Au:N/C:C/I:C/A:C
This CVE is not in the KEV list.
No CISA SSVC assessment for this CVE yet.
Estimated probability of exploitation in the wild in the next 30 days (FIRST EPSS). As of Oct 3, 2026.
Score over time
2021–2026- EPSS v1
- EPSS v5
- EPSS v2
- EPSS v3
- EPSS v4
Percentile over time
- EPSS v1
- EPSS v5
- EPSS v2
- EPSS v3
- EPSS v4
Table of values (20 key points)
Flat stretches are collapsed; showing up to 120 newest points.
| Date | Score | Percentile | Model |
|---|---|---|---|
| Oct 3, 2026 | 2.57% (0.02574) | 84.65th | v5 (v2026.06.15) |
| Jun 15, 2026 | 2.57% (0.02574) | 83.10th | v5 (v2026.06.15) |
| Nov 21, 2025 | 1.16% (0.01158) | 77.95th | v4 (v2025.03.14) |
| Nov 18, 2025 | 2.17% (0.02172) | 82.95th | v4 (v2025.03.14) |
| Mar 30, 2025 | 1.16% (0.01158) | 76.63th | v4 (v2025.03.14) |
| Mar 29, 2025 | 2.48% (0.02480) | 75.45th | v4 (v2025.03.14) |
| Mar 17, 2025 | 1.16% (0.01158) | 77.10th | v4 (v2025.03.14) |
| Dec 17, 2024 | 2.30% (0.02301) | 89.36th | v3 (v2023.03.01) |
| Oct 29, 2024 | 5.65% (0.05653) | 93.49th | v3 (v2023.03.01) |
| Feb 29, 2024 | 4.64% (0.04644) | 92.36th | v3 (v2023.03.01) |
| Oct 12, 2023 | 4.70% (0.04704) | 91.70th | v3 (v2023.03.01) |
| Sep 26, 2023 | 4.15% (0.04149) | 91.14th | v3 (v2023.03.01) |
| Mar 7, 2023 | 3.09% (0.03089) | 89.50th | v3 (v2023.03.01) |
| Mar 6, 2023 | 1.18% (0.01183) | 61.76th | v2 (v2022.01.01) |
| Apr 1, 2022 | 1.18% (0.01183) | 58.77th | v2 (v2022.01.01) |
| Feb 4, 2022 | 20.15% (0.20148) | 94.00th | v2 (v2022.01.01) |
| Feb 3, 2022 | 7.85% (0.07855) | 85.01th | v1 |
| Jan 6, 2022 | 7.85% (0.07855) | 84.84th | v1 |
| Jan 5, 2022 | 1.86% (0.01865) | 76.93th | v5 (v2026.06.15) |
| Apr 14, 2021 | 1.86% (0.01865) | 0.00th | v1 |
References (8)
- https://github.com/ARMmbed/mbed-os/blob/d0686fd30b4d3d02efdc7e4d0fbf0dfe173543b6/features/frameworks/mbed-coap/source/sn_coap_builder.c#L1090 x_refsource_MISCThird Party Advisory
- https://github.com/ARMmbed/mbed-os/blob/d0686fd30b4d3d02efdc7e4d0fbf0dfe173543b6/features/frameworks/mbed-coap/source/sn_coap_builder.c#L355 x_refsource_MISCThird Party Advisory
- https://github.com/ARMmbed/mbed-os/blob/d0686fd30b4d3d02efdc7e4d0fbf0dfe173543b6/features/frameworks/mbed-coap/source/sn_coap_builder.c#L524 x_refsource_MISCThird Party Advisory
- https://github.com/ARMmbed/mbed-os/blob/d0686fd30b4d3d02efdc7e4d0fbf0dfe173543b6/features/frameworks/mbed-coap/source/sn_coap_builder.c#L527 x_refsource_MISCThird Party Advisory
- https://github.com/ARMmbed/mbed-os/blob/d0686fd30b4d3d02efdc7e4d0fbf0dfe173543b6/features/frameworks/mbed-coap/source/sn_coap_builder.c#L710 x_refsource_MISCThird Party Advisory
- https://github.com/ARMmbed/mbed-os/blob/d0686fd30b4d3d02efdc7e4d0fbf0dfe173543b6/features/frameworks/mbed-coap/source/sn_coap_builder.c#L718 x_refsource_MISCThird Party Advisory
- https://github.com/ARMmbed/mbed-os/blob/d0686fd30b4d3d02efdc7e4d0fbf0dfe173543b6/features/frameworks/mbed-coap/source/sn_coap_builder.c#L746 x_refsource_MISCThird Party Advisory
- https://github.com/ARMmbed/mbed-os/issues/11804 x_refsource_MISCExploitIssue TrackingThird Party Advisory
Change history (0)
No recorded changes yet.