# CVE-2017-7476: Gnulib before 2017-04-26 has a heap-based buffer overflow with the TZ environment variable.

- Severity: Critical 9.8 (CVSS:3.0, scored by NVD) `CVSS:3.0/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): 3.65%, higher than 89% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2017-05-02T17:00:00.000Z
- Modified: 2026-06-17T01:24:25.473Z
- Weaknesses: CWE-119
- Assigned by: redhat

## Description

Gnulib before 2017-04-26 has a heap-based buffer overflow with the TZ environment variable. The error is in the save_abbr function in time_rz.c.

(As written by CVE List.)

## Affected

- Gnulib before 2017-04-26: Gnulib before 2017-04-26
- gnulib gnulib: up to 2017-04-25

## Every score

- NVD: CVSS:3.0 9.8 Critical `CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:2.0 7.5 High `AV:N/AC:L/Au:N/C:P/I:P/A:P`

## References

- <https://bugzilla.redhat.com/show_bug.cgi?id=1444774> (exploit, issue-tracking, mitigation, third-party-advisory, vdb-entry)
- <https://security-tracker.debian.org/tracker/CVE-2017-7476> (third-party-advisory)
- <https://bugzilla.redhat.com/show_bug.cgi?id=1445185> (issue-tracking, patch, third-party-advisory, vdb-entry)
- <http://git.savannah.gnu.org/gitweb/?p=gnulib.git%3Ba=commit%3Bh=94e01571507835ff59dd8ce2a0b56a4b566965a4>
- <http://www.securityfocus.com/bid/98098> (third-party-advisory, vdb-entry)

## Sources

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

---

Page: https://cve.day/CVE-2017-7476 · Whole record: https://cve.day/CVE-2017-7476.json · Rebuilt by cve.day 2026-11-25T22:57:30.693Z
