JLSEC-2026-2248: Buffer Overflow

Published Dec 2, 2026
·
Updated

A flaw was found in glibc. An off-by-one buffer overflow and underflow in getcwd() may lead to memory corruption when the size of the buffer is exactly 1. A local attacker who can control the input buffer and size passed to getcwd() in a setuid program could use this flaw to potentially execute arbitrary code and escalate their privileges on the system.

Affected Software

1 affected component
julia/gccbootstrap_jll*

Event History

Dec 2, 2026
Advisory Published
via OSV·09:30 PM
Data Sourced
via OSV·09:30 PM
DescriptionSeverityAffected Software

Child vulnerabilities

Contains the following vulnerabilities.

Frequently Asked Questions

1

What conditions are required for exploitation?

Exploitation requires local access and the ability to control both the buffer and size supplied to getcwd() by a setuid program. The vulnerable condition occurs when the buffer size is exactly 1.

2

What is the likely impact if exploitation succeeds?

The memory corruption may allow arbitrary code execution in the context of the affected setuid program. This could enable a local attacker to escalate privileges on the system.

3

Are ordinary non-privileged uses of getcwd() the primary concern?

The described privilege-escalation scenario specifically depends on a setuid program passing attacker-controlled buffer input and size to getcwd(). Local users able to influence such calls are the relevant exposure group.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203