CVE-2024-7883 (GCVE-0-2024-7883)

Vulnerability from cvelistv5 – Published: 2024-10-31 17:01 – Updated: 2024-10-31 17:53
VLAI
Title
CMSE secure state may leak from stack to floating-point registers
Summary
When using Arm Cortex-M Security Extensions (CMSE), Secure stack contents can be leaked to Non-secure state via floating-point registers when a Secure to Non-secure function call is made that returns a floating-point value and when this is the first use of floating-point since entering Secure state. This allows an attacker to read a limited quantity of Secure stack contents with an impact on confidentiality. This issue is specific to code generated using LLVM-based compilers.
SSVC
Exploitation: none Automatable: no Technical Impact: partial
CISA Coordinator · CISA-ADP (v2.0.3)
Decision recorded 2024-10-31 17:53 UTC
CWE
  • CWE-226 - Sensitive Information in Resource Not Removed Before Reuse
Assigner
Arm CNA under the mitre root
CNA scorecard D 54/100 over 11 records in the last 180 days details
Date Public
2024-10-31 16:00
Show details on NVD website

{
  "containers": {
    "adp": [
      {
        "metrics": [
          {
            "other": {
              "content": {
                "id": "CVE-2024-7883",
                "options": [
                  {
                    "Exploitation": "none"
                  },
                  {
                    "Automatable": "no"
                  },
                  {
                    "Technical Impact": "partial"
                  }
                ],
                "role": "CISA Coordinator",
                "timestamp": "2024-10-31T17:53:14.089857Z",
                "version": "2.0.3"
              },
              "type": "ssvc"
            }
          }
        ],
        "providerMetadata": {
          "dateUpdated": "2024-10-31T17:53:36.751Z",
          "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
          "shortName": "CISA-ADP"
        },
        "title": "CISA ADP Vulnrichment"
      }
    ],
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "product": "Arm Compiler for Embedded",
          "vendor": "Arm Ltd",
          "versions": [
            {
              "changes": [
                {
                  "at": "6.23",
                  "status": "unaffected"
                }
              ],
              "lessThanOrEqual": "6.22",
              "status": "affected",
              "version": "6.6",
              "versionType": "semver"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "platforms": [
            "Windows",
            "Linux",
            "ARM"
          ],
          "product": "Arm Compiler for Embedded FuSa 6.16LTS",
          "vendor": "Arm Ltd",
          "versions": [
            {
              "status": "affected",
              "version": "All versions"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Arm Compiler for Embedded FuSa 6.21",
          "vendor": "Arm Ltd",
          "versions": [
            {
              "status": "affected",
              "version": "All versions"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "platforms": [
            "Windows",
            "Linux",
            "ARM"
          ],
          "product": "Arm Compiler for Functional Safety 6.6",
          "vendor": "Arm Ltd",
          "versions": [
            {
              "status": "affected",
              "version": "All versions"
            }
          ]
        },
        {
          "defaultStatus": "unaffected",
          "platforms": [
            "Windows",
            "Linux",
            "ARM"
          ],
          "product": "CLang",
          "vendor": "Arm Ltd",
          "versions": [
            {
              "changes": [
                {
                  "at": "20",
                  "status": "unaffected"
                }
              ],
              "lessThanOrEqual": "19",
              "status": "affected",
              "version": "13",
              "versionType": "semver"
            }
          ]
        }
      ],
      "datePublic": "2024-10-31T16:00:00.000Z",
      "descriptions": [
        {
          "lang": "en",
          "supportingMedia": [
            {
              "base64": false,
              "type": "text/html",
              "value": "When using Arm Cortex-M Security Extensions (CMSE), Secure stack \ncontents can be leaked to Non-secure state via floating-point registers \nwhen a Secure to Non-secure function call is made that returns a \nfloating-point value and when this is the first use of floating-point \nsince entering Secure state. This allows an attacker to read a limited \nquantity of Secure stack contents with an impact on confidentiality. \nThis issue is specific to code generated using LLVM-based compilers."
            }
          ],
          "value": "When using Arm Cortex-M Security Extensions (CMSE), Secure stack \ncontents can be leaked to Non-secure state via floating-point registers \nwhen a Secure to Non-secure function call is made that returns a \nfloating-point value and when this is the first use of floating-point \nsince entering Secure state. This allows an attacker to read a limited \nquantity of Secure stack contents with an impact on confidentiality. \nThis issue is specific to code generated using LLVM-based compilers."
        }
      ],
      "impacts": [
        {
          "capecId": "CAPEC-37",
          "descriptions": [
            {
              "lang": "en",
              "value": "CAPEC-37 Retrieve Embedded Sensitive Data"
            }
          ]
        }
      ],
      "metrics": [
        {
          "cvssV3_1": {
            "attackComplexity": "HIGH",
            "attackVector": "NETWORK",
            "availabilityImpact": "NONE",
            "baseScore": 3.7,
            "baseSeverity": "LOW",
            "confidentialityImpact": "LOW",
            "integrityImpact": "NONE",
            "privilegesRequired": "NONE",
            "scope": "UNCHANGED",
            "userInteraction": "NONE",
            "vectorString": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N",
            "version": "3.1"
          },
          "format": "CVSS",
          "scenarios": [
            {
              "lang": "en",
              "value": "GENERAL"
            }
          ]
        }
      ],
      "problemTypes": [
        {
          "descriptions": [
            {
              "cweId": "CWE-226",
              "description": "CWE-226 Sensitive Information in Resource Not Removed Before Reuse",
              "lang": "en",
              "type": "CWE"
            }
          ]
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2024-10-31T17:01:49.725Z",
        "orgId": "56a131ea-b967-4a0d-a41e-5f3549952846",
        "shortName": "Arm"
      },
      "references": [
        {
          "url": "https://developer.arm.com/Arm%20Security%20Center/Cortex-M%20Security%20Extensions%20Vulnerability"
        }
      ],
      "solutions": [
        {
          "lang": "en",
          "supportingMedia": [
            {
              "base64": false,
              "type": "text/html",
              "value": "Recompile affected code using a fixed compiler.\n\n\u003cbr\u003e"
            }
          ],
          "value": "Recompile affected code using a fixed compiler."
        }
      ],
      "source": {
        "discovery": "INTERNAL"
      },
      "title": "CMSE secure state may leak from stack to floating-point registers",
      "x_generator": {
        "engine": "Vulnogram 0.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "56a131ea-b967-4a0d-a41e-5f3549952846",
    "assignerShortName": "Arm",
    "cveId": "CVE-2024-7883",
    "datePublished": "2024-10-31T17:01:49.725Z",
    "dateReserved": "2024-08-16T15:09:09.866Z",
    "dateUpdated": "2024-10-31T17:53:36.751Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.1",
  "vulnerability-lookup:meta": {
    "epss": {
      "cve": "CVE-2024-7883",
      "date": "2026-10-25",
      "epss": "0.00468",
      "percentile": "0.40232"
    },
    "microsoft_vex": {
      "current_release_date": "2026-01-13T01:42:19.000Z",
      "cve": "CVE-2024-7883",
      "id": "msrc_CVE-2024-7883",
      "initial_release_date": "2024-10-01T07:00:00.000Z",
      "product_status:fixed": "1",
      "product_status:known_affected": "1",
      "product_status:known_not_affected": "1",
      "source": "Microsoft CSAF VEX",
      "status": "final",
      "title": "CMSE secure state may leak from stack to floating-point registers",
      "url": "https://msrc.microsoft.com/csaf/vex/2024/msrc_cve-2024-7883.json",
      "version": "3"
    },
    "nvd": {
      "cve": {
        "affected": [
          {
            "affectedData": [
              {
                "defaultStatus": "unaffected",
                "product": "Arm Compiler for Embedded",
                "vendor": "Arm Ltd",
                "versions": [
                  {
                    "changes": [
                      {
                        "at": "6.23",
                        "status": "unaffected"
                      }
                    ],
                    "lessThanOrEqual": "6.22",
                    "status": "affected",
                    "version": "6.6",
                    "versionType": "semver"
                  }
                ]
              },
              {
                "defaultStatus": "affected",
                "platforms": [
                  "Windows",
                  "Linux",
                  "ARM"
                ],
                "product": "Arm Compiler for Embedded FuSa 6.16LTS",
                "vendor": "Arm Ltd",
                "versions": [
                  {
                    "status": "affected",
                    "version": "All versions"
                  }
                ]
              },
              {
                "defaultStatus": "affected",
                "product": "Arm Compiler for Embedded FuSa 6.21",
                "vendor": "Arm Ltd",
                "versions": [
                  {
                    "status": "affected",
                    "version": "All versions"
                  }
                ]
              },
              {
                "defaultStatus": "affected",
                "platforms": [
                  "Windows",
                  "Linux",
                  "ARM"
                ],
                "product": "Arm Compiler for Functional Safety 6.6",
                "vendor": "Arm Ltd",
                "versions": [
                  {
                    "status": "affected",
                    "version": "All versions"
                  }
                ]
              },
              {
                "defaultStatus": "unaffected",
                "platforms": [
                  "Windows",
                  "Linux",
                  "ARM"
                ],
                "product": "CLang",
                "vendor": "Arm Ltd",
                "versions": [
                  {
                    "changes": [
                      {
                        "at": "20",
                        "status": "unaffected"
                      }
                    ],
                    "lessThanOrEqual": "19",
                    "status": "affected",
                    "version": "13",
                    "versionType": "semver"
                  }
                ]
              }
            ],
            "source": "arm-security@arm.com"
          }
        ],
        "configurations": [
          {
            "nodes": [
              {
                "cpeMatch": [
                  {
                    "criteria": "cpe:2.3:a:arm:arm_compiler_for_embedded:*:*:*:*:*:*:*:*",
                    "matchCriteriaId": "8DD47BCD-A63A-416B-9441-0C8150B78DBA",
                    "versionEndExcluding": "6.23",
                    "versionStartIncluding": "6.6",
                    "vulnerable": true
                  },
                  {
                    "criteria": "cpe:2.3:a:arm:arm_compiler_for_embedded_fusa:6.16:*:*:*:lts:*:*:*",
                    "matchCriteriaId": "27EF772A-BF7D-487A-9B34-6521220068F0",
                    "vulnerable": true
                  },
                  {
                    "criteria": "cpe:2.3:a:arm:arm_compiler_for_embedded_fusa:6.21:*:*:*:lts:*:*:*",
                    "matchCriteriaId": "C00CD65D-11D2-4EEA-B3A5-B57A3E61943E",
                    "vulnerable": true
                  },
                  {
                    "criteria": "cpe:2.3:a:arm:arm_compiler_for_functional_safety:6.6:*:*:*:*:*:*:*",
                    "matchCriteriaId": "E56C6F5A-5EA7-42F8-958D-9B02944C57BB",
                    "vulnerable": true
                  },
                  {
                    "criteria": "cpe:2.3:a:arm:clang:*:*:*:*:*:*:*:*",
                    "matchCriteriaId": "5E5FA179-8BC7-4A97-8F44-638F7777665E",
                    "versionEndExcluding": "20.1.0",
                    "versionStartIncluding": "11.0.0",
                    "vulnerable": true
                  }
                ],
                "negate": false,
                "operator": "OR"
              }
            ]
          }
        ],
        "cveTags": [],
        "descriptions": [
          {
            "lang": "en",
            "value": "When using Arm Cortex-M Security Extensions (CMSE), Secure stack \ncontents can be leaked to Non-secure state via floating-point registers \nwhen a Secure to Non-secure function call is made that returns a \nfloating-point value and when this is the first use of floating-point \nsince entering Secure state. This allows an attacker to read a limited \nquantity of Secure stack contents with an impact on confidentiality. \nThis issue is specific to code generated using LLVM-based compilers."
          },
          {
            "lang": "es",
            "value": "Al utilizar las extensiones de seguridad Arm Cortex-M (CMSE), el contenido de la pila segura puede filtrarse al estado no seguro a trav\u00e9s de registros de punto flotante cuando se realiza una llamada de funci\u00f3n de seguro a no seguro que devuelve un valor de punto flotante y cuando este es el primer uso del punto flotante desde que se ingresa al estado seguro. Esto permite que un atacante lea una cantidad limitada de contenido de la pila segura con un impacto en la confidencialidad. Este problema es espec\u00edfico del c\u00f3digo generado mediante compiladores basados ??en LLVM."
          }
        ],
        "id": "CVE-2024-7883",
        "lastModified": "2026-06-17T08:21:06.623",
        "metrics": {
          "cvssMetricV31": [
            {
              "cvssData": {
                "attackComplexity": "HIGH",
                "attackVector": "NETWORK",
                "availabilityImpact": "NONE",
                "baseScore": 3.7,
                "baseSeverity": "LOW",
                "confidentialityImpact": "LOW",
                "integrityImpact": "NONE",
                "privilegesRequired": "NONE",
                "scope": "UNCHANGED",
                "userInteraction": "NONE",
                "vectorString": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N",
                "version": "3.1"
              },
              "exploitabilityScore": 2.2,
              "impactScore": 1.4,
              "source": "arm-security@arm.com",
              "type": "Secondary"
            }
          ],
          "ssvcV203": [
            {
              "source": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
              "ssvcData": {
                "id": "CVE-2024-7883",
                "options": [
                  {
                    "exploitation": "none"
                  },
                  {
                    "automatable": "no"
                  },
                  {
                    "technicalImpact": "partial"
                  }
                ],
                "role": "CISA Coordinator",
                "timestamp": "2024-10-31T17:53:14.089857Z",
                "version": "2.0.3"
              }
            }
          ]
        },
        "published": "2024-10-31T17:15:14.013",
        "references": [
          {
            "source": "arm-security@arm.com",
            "tags": [
              "Exploit",
              "Vendor Advisory"
            ],
            "url": "https://developer.arm.com/Arm%20Security%20Center/Cortex-M%20Security%20Extensions%20Vulnerability"
          }
        ],
        "sourceIdentifier": "arm-security@arm.com",
        "vulnStatus": "Analyzed",
        "weaknesses": [
          {
            "description": [
              {
                "lang": "en",
                "value": "CWE-226"
              }
            ],
            "source": "arm-security@arm.com",
            "type": "Secondary"
          }
        ]
      }
    },
    "redhat_vex": {
      "aggregate_severity": "Low",
      "current_release_date": "2026-06-30T10:39:41+00:00",
      "cve": "CVE-2024-7883",
      "id": "CVE-2024-7883",
      "initial_release_date": "2024-10-31T17:01:49.725000+00:00",
      "product_status:known_affected": "17",
      "source": "Red Hat CSAF VEX",
      "status": "final",
      "title": "clang: CMSE secure state may leak from stack to floating-point registers",
      "url": "https://security.access.redhat.com/data/csaf/v2/vex/2024/cve-2024-7883.json",
      "version": "3"
    },
    "vulnrichment": {
      "containers": {
        "adp": [
          {
            "metrics": [
              {
                "other": {
                  "content": {
                    "id": "CVE-2024-7883",
                    "options": [
                      {
                        "Exploitation": "none"
                      },
                      {
                        "Automatable": "no"
                      },
                      {
                        "Technical Impact": "partial"
                      }
                    ],
                    "role": "CISA Coordinator",
                    "timestamp": "2024-10-31T17:53:14.089857Z",
                    "version": "2.0.3"
                  },
                  "type": "ssvc"
                }
              }
            ],
            "providerMetadata": {
              "dateUpdated": "2024-10-31T17:53:22.080Z",
              "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
              "shortName": "CISA-ADP"
            },
            "title": "CISA ADP Vulnrichment"
          }
        ],
        "cna": {
          "affected": [
            {
              "defaultStatus": "unaffected",
              "product": "Arm Compiler for Embedded",
              "vendor": "Arm Ltd",
              "versions": [
                {
                  "changes": [
                    {
                      "at": "6.23",
                      "status": "unaffected"
                    }
                  ],
                  "lessThanOrEqual": "6.22",
                  "status": "affected",
                  "version": "6.6",
                  "versionType": "semver"
                }
              ]
            },
            {
              "defaultStatus": "affected",
              "platforms": [
                "Windows",
                "Linux",
                "ARM"
              ],
              "product": "Arm Compiler for Embedded FuSa 6.16LTS",
              "vendor": "Arm Ltd",
              "versions": [
                {
                  "status": "affected",
                  "version": "All versions"
                }
              ]
            },
            {
              "defaultStatus": "affected",
              "product": "Arm Compiler for Embedded FuSa 6.21",
              "vendor": "Arm Ltd",
              "versions": [
                {
                  "status": "affected",
                  "version": "All versions"
                }
              ]
            },
            {
              "defaultStatus": "affected",
              "platforms": [
                "Windows",
                "Linux",
                "ARM"
              ],
              "product": "Arm Compiler for Functional Safety 6.6",
              "vendor": "Arm Ltd",
              "versions": [
                {
                  "status": "affected",
                  "version": "All versions"
                }
              ]
            },
            {
              "defaultStatus": "unaffected",
              "platforms": [
                "Windows",
                "Linux",
                "ARM"
              ],
              "product": "CLang",
              "vendor": "Arm Ltd",
              "versions": [
                {
                  "changes": [
                    {
                      "at": "20",
                      "status": "unaffected"
                    }
                  ],
                  "lessThanOrEqual": "19",
                  "status": "affected",
                  "version": "13",
                  "versionType": "semver"
                }
              ]
            }
          ],
          "datePublic": "2024-10-31T16:00:00.000Z",
          "descriptions": [
            {
              "lang": "en",
              "supportingMedia": [
                {
                  "base64": false,
                  "type": "text/html",
                  "value": "When using Arm Cortex-M Security Extensions (CMSE), Secure stack \ncontents can be leaked to Non-secure state via floating-point registers \nwhen a Secure to Non-secure function call is made that returns a \nfloating-point value and when this is the first use of floating-point \nsince entering Secure state. This allows an attacker to read a limited \nquantity of Secure stack contents with an impact on confidentiality. \nThis issue is specific to code generated using LLVM-based compilers."
                }
              ],
              "value": "When using Arm Cortex-M Security Extensions (CMSE), Secure stack \ncontents can be leaked to Non-secure state via floating-point registers \nwhen a Secure to Non-secure function call is made that returns a \nfloating-point value and when this is the first use of floating-point \nsince entering Secure state. This allows an attacker to read a limited \nquantity of Secure stack contents with an impact on confidentiality. \nThis issue is specific to code generated using LLVM-based compilers."
            }
          ],
          "impacts": [
            {
              "capecId": "CAPEC-37",
              "descriptions": [
                {
                  "lang": "en",
                  "value": "CAPEC-37 Retrieve Embedded Sensitive Data"
                }
              ]
            }
          ],
          "metrics": [
            {
              "cvssV3_1": {
                "attackComplexity": "HIGH",
                "attackVector": "NETWORK",
                "availabilityImpact": "NONE",
                "baseScore": 3.7,
                "baseSeverity": "LOW",
                "confidentialityImpact": "LOW",
                "integrityImpact": "NONE",
                "privilegesRequired": "NONE",
                "scope": "UNCHANGED",
                "userInteraction": "NONE",
                "vectorString": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N",
                "version": "3.1"
              },
              "format": "CVSS",
              "scenarios": [
                {
                  "lang": "en",
                  "value": "GENERAL"
                }
              ]
            }
          ],
          "problemTypes": [
            {
              "descriptions": [
                {
                  "cweId": "CWE-226",
                  "description": "CWE-226 Sensitive Information in Resource Not Removed Before Reuse",
                  "lang": "en",
                  "type": "CWE"
                }
              ]
            }
          ],
          "providerMetadata": {
            "dateUpdated": "2024-10-31T17:01:49.725Z",
            "orgId": "56a131ea-b967-4a0d-a41e-5f3549952846",
            "shortName": "Arm"
          },
          "references": [
            {
              "url": "https://developer.arm.com/Arm%20Security%20Center/Cortex-M%20Security%20Extensions%20Vulnerability"
            }
          ],
          "solutions": [
            {
              "lang": "en",
              "supportingMedia": [
                {
                  "base64": false,
                  "type": "text/html",
                  "value": "Recompile affected code using a fixed compiler.\n\n\u003cbr\u003e"
                }
              ],
              "value": "Recompile affected code using a fixed compiler."
            }
          ],
          "source": {
            "discovery": "INTERNAL"
          },
          "title": "CMSE secure state may leak from stack to floating-point registers",
          "x_generator": {
            "engine": "Vulnogram 0.2.0"
          }
        }
      },
      "cveMetadata": {
        "assignerOrgId": "56a131ea-b967-4a0d-a41e-5f3549952846",
        "assignerShortName": "Arm",
        "cveId": "CVE-2024-7883",
        "datePublished": "2024-10-31T17:01:49.725Z",
        "dateReserved": "2024-08-16T15:09:09.866Z",
        "dateUpdated": "2024-10-31T17:53:36.751Z",
        "state": "PUBLISHED"
      },
      "dataType": "CVE_RECORD",
      "dataVersion": "5.1"
    }
  }
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Drag nodes to arrange them. Double-click a related vulnerability to open it, or a source to visit its link. The Physics button on the left tunes the layout and the simulation; the legend at the bottom left hides or shows nodes by kind and by sighting type.

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
Vulnerability timeline

Sightings and recorded dates, grouped by day · UTC

JSON
Events included in the timeline

Loading timeline…


    Loading…

    Loading…

    Loading…

    Related by attack behaviour

    Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.