# CVE-2023-6780: Glibc: integer overflow in \_\_vsyslog\_internal()

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** MEDIUM 5.3
- **CVSS:** 5.3 (v3.1, CNA) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Privileges required: None; User interaction: None; Scope: Unchanged; Confidentiality impact: None; Integrity impact: None; Availability impact: Low
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** Yes (see exploit references)
- **Remote exploitation:** Remote, no login needed
- **EPSS:** 2.35% (percentile 84, 2026-11-26)
- **CWE:** CWE-131
- **Published:** 2024-01-31T14:08:02.610Z
- **Modified:** 2026-10-14T22:15:20.900Z

## Who should check

- Anyone running glibc (versions: see the vendor advisory)
- Anyone running Red Hat Enterprise Linux 6 (versions: see the vendor advisory)
- Anyone running Red Hat Enterprise Linux 7 (versions: see the vendor advisory)
- Anyone running Red Hat Enterprise Linux 8 (versions: see the vendor advisory)
- Anyone running Red Hat Enterprise Linux 9 (versions: see the vendor advisory)
- Anyone running Fedora all versions

## Description

An integer overflow was found in the \_\_vsyslog\_internal function of the glibc library. This function is called by the syslog and vsyslog functions. This issue occurs when these functions are called with a very long message, leading to an incorrect calculation of the buffer size to store the message, resulting in undefined behavior. This issue affects glibc 2.37 and newer.

## Affected and fixed versions

- glibc: see vendor advisory (cvelist)
- Red Hat Enterprise Linux 6: see vendor advisory (cvelist)
- Red Hat Enterprise Linux 6: see vendor advisory (cvelist)
- Red Hat Enterprise Linux 7: see vendor advisory (cvelist)
- Red Hat Enterprise Linux 7: see vendor advisory (cvelist)
- Red Hat Enterprise Linux 8: see vendor advisory (cvelist)
- Red Hat Enterprise Linux 9: see vendor advisory (cvelist)
- Fedora: all versions (cvelist)

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2023-6780. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2023-6780.md
Affected: glibc; Red Hat Enterprise Linux 6; Red Hat Enterprise Linux 6; Red Hat Enterprise Linux 7; Red Hat Enterprise Linux 7; Red Hat Enterprise Linux 8; Red Hat Enterprise Linux 9; Fedora all versions
Fixed in: no fixed version listed yet

Steps:
1. Search this machine and project for glibc, Red Hat Enterprise Linux 6, Red Hat Enterprise Linux 7, Red Hat Enterprise Linux 8, Red Hat Enterprise Linux 9, Fedora: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2023-6780 being exploited?

There is no confirmed exploitation: CVE-2023-6780 is not in the CISA Known Exploited Vulnerabilities catalog. Public exploit code or a proof of concept is available. EPSS estimates a 2.35% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2023-6780?

Medium: CVSS 5.3 (v3.1, scored by CNA). Remote, no login needed.

### Which versions are affected by CVE-2023-6780?

glibc; Red Hat Enterprise Linux 6; Red Hat Enterprise Linux 6; Red Hat Enterprise Linux 7; Red Hat Enterprise Linux 7; Red Hat Enterprise Linux 8; Red Hat Enterprise Linux 9; Fedora all versions.

### Is there a fix for CVE-2023-6780?

No fixed version is listed in the sources yet. No fix listed yet: follow the vendor advisory.

### How do I check if I'm affected by CVE-2023-6780?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- exploit: <http://packetstormsecurity.com/files/176932/glibc-syslog-Heap-Based-Buffer-Overflow.html>
- exploit: <http://seclists.org/fulldisclosure/2024/Feb/3>
- exploit: <https://www.openwall.com/lists/oss-security/2024/01/30/6>
- other: <https://access.redhat.com/security/cve/CVE-2023-6780>
- other: <https://bugzilla.redhat.com/show_bug.cgi?id=2254396>
- other: <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/D2FIH77VHY3KCRROCXOT6L27WMZXSJ2G/>
- other: <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/MWQ6BZJ6CV5UAW4VZSKJ6TO4KIW2KWAQ/>
- other: <https://security.gentoo.org/glsa/202402-01>
- other: <https://www.qualys.com/2024/01/30/cve-2023-6246/syslog.txt>
- other: <https://security.netapp.com/advisory/ntap-20250207-0010/>
- other: <https://cert-portal.siemens.com/productcert/html/ssa-082556.html>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2023-6780>

HTML: <https://flawdb.com/CVE-2023-6780> · JSON: <https://flawdb.com/api/v1/entries/CVE-2023-6780>
