JLSEC-2026-2267

Source
https://github.com/JuliaLang/SecurityAdvisories.jl/blob/main/advisories/published/2026/JLSEC-2026-2267.md
Import Source
https://github.com/JuliaLang/SecurityAdvisories.jl/tree/generated/osv/2026/JLSEC-2026-2267.json
JSON Data
https://api.osv.dev/v1/vulns/JLSEC-2026-2267
Upstream
Published
2026-12-02T21:30:37Z
Modified
2026-12-02T21:58:28Z
Severity
  • 7.5 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H (Source: CNA) CVSS Calculator
Summary
Calling the ungetwc function on a FILE stream with wide characters encoded in a character set...
Details

Calling the ungetwc function on a FILE stream with wide characters encoded in a character set that has overlaps between its single byte and multi-byte character encodings, in the GNU C Library version 2.43 or earlier, may result in an attempt to read bytes before an allocated buffer, potentially resulting in unintentional disclosure of neighboring data in the heap, or a program crash.

A bug in the wide character pushback implementation (_IO_wdefault_pbackfail in libio/wgenops.c) causes ungetwc() to operate on the regular character buffer (fp->_IO_read_ptr) instead of the actual wide-stream read pointer (fp->_wide_data->_IO_read_ptr). The program crash may happen in cases where fp->_IO_read_ptr is not initialized and hence points to NULL. The buffer under-read requires a special situation where the input character encoding is such that there are overlaps between single byte representations and multibyte representations in that encoding, resulting in spurious matches. The spurious match case is not possible in the standard Unicode character sets.

Database specific
{
    "license":  "CC-BY-4.0",
    "sources":  [
        {
            "affected":  {
                "gnu:glibc":  [
                    "<= 2.43"
                ]
            },
            "database_specific":  {
                "status":  "Modified"
            },
            "html_url":  "https://nvd.nist.gov/vuln/detail/CVE-2026-5928",
            "id":  "CVE-2026-5928",
            "imported":  "2026-12-02T20:36:47.152Z",
            "modified":  "2026-11-11T23:10:00.263Z",
            "published":  "2026-04-20T21:16:36.963Z",
            "url":  "https://services.nvd.nist.gov/rest/json/cves/2.0?cveId=CVE-2026-5928"
        },
        {
            "html_url":  "https://github.com/advisories/GHSA-829p-mc9m-7xhr",
            "id":  "GHSA-829p-mc9m-7xhr",
            "imported":  "2026-12-02T20:37:29.254Z",
            "modified":  "2026-07-14T15:31:51Z",
            "published":  "2026-04-20T21:31:47Z",
            "url":  "https://api.github.com/advisories/GHSA-829p-mc9m-7xhr"
        },
        {
            "html_url":  "https://euvd.enisa.europa.eu/vulnerability/EUVD-2026-23980",
            "id":  "EUVD-2026-23980",
            "imported":  "2026-12-02T20:36:48.806Z",
            "modified":  "2026-10-15T01:12:14Z",
            "published":  "2026-04-20T20:37:31Z",
            "url":  "https://euvdservices.enisa.europa.eu/api/enisaid?id=EUVD-2026-23980"
        }
    ]
}
References

Affected packages

Julia / GCCBootstrap_jll

Package

Name
GCCBootstrap_jll
Purl
pkg:julia/GCCBootstrap_jll?uuid=7627cfbf-f290-59f7-b5e8-595c7b62b918

Affected ranges

Type
SEMVER
Events
Introduced
0 Unknown introduced version / All previous versions are affected

Database specific

source
"https://github.com/JuliaLang/SecurityAdvisories.jl/tree/generated/osv/2026/JLSEC-2026-2267.json"