# CVE-2024-30949: An issue in newlib v.4.3.0 allows an attacker to execute arbitrary code via the time unit scaling in the gettimeofday function.

- Severity: Critical 9.8 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/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.76%, higher than 56% of CVEs (2026-12-01)
- Published: 2024-08-20T00:00:00.000Z
- Modified: 2026-06-17T07:27:32.500Z
- Weaknesses: CWE-190, CWE-787
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact total
- Assigned by: mitre

## Description

An issue in newlib v.4.3.0 allows an attacker to execute arbitrary code via the time unit scaling in the _gettimeofday function.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- newlib_project newlib: 4.3.0

## Every score

- CISA-ADP: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://inbox.sourceware.org/newlib/20231129035714.469943-1-visitorckw%40gmail.com/> (mailing-list, patch)
- <https://sourceware.org/git/?p=newlib-cygwin.git%3Ba=commit%3Bh=5f15d7c5817b07a6b18cbab17342c95cb7b42be4> (broken-link)
- <https://gist.github.com/visitorckw/6b26e599241ea80210ea136b28441661> (patch)

## Sources

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

---

Page: https://cve.day/CVE-2024-30949 · Whole record: https://cve.day/CVE-2024-30949.json · Rebuilt by cve.day 2026-11-25T22:58:44.583Z
