# CVE-2021-33642: When a file is processed, an infinite loop occurs in nextinline() of the morecurly() function.

- Severity: Medium 5.5 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/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.23%, higher than 8% of CVEs (2026-11-30)
- Published: 2023-01-20T00:00:00.000Z
- Modified: 2026-06-17T03:54:56.923Z
- Weaknesses: CWE-835
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: openEuler

## Description

When a file is processed, an infinite loop occurs in next_inline() of the more_curly() function.

(As written by CVE List.)

## Affected

- byacc: <1.9.20200330 and <2.0.20210808
- openeuler byacc: before 1.9.20200330; from 2.0 before 2.0.20210808

## Every score

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

## References

- <https://gitee.com/src-openeuler/byacc/commit/50225f48c6b53e9d7c936681a06682404cb8ec4d> (permissions-required, third-party-advisory)

## Sources

- CVE List: [CVE-2021-33642](https://www.cve.org/CVERecord?id=CVE-2021-33642), CVE Terms of Use, modified 2025-04-02
- NVD: [CVE-2021-33642](https://nvd.nist.gov/vuln/detail/CVE-2021-33642), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2021-33642 · Whole record: https://cve.day/CVE-2021-33642.json · Rebuilt by cve.day 2026-11-25T22:58:08.143Z
