Bug 1581269 (CVE-2018-11236) - CVE-2018-11236 glibc: Integer overflow in stdlib/canonicalize.c on 32-bit architectures leading to stack-based buffer overflow
Summary: CVE-2018-11236 glibc: Integer overflow in stdlib/canonicalize.c on 32-bit arc...
Alias: CVE-2018-11236
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
Whiteboard: impact=moderate,public=20180204,repor...
Depends On: 1579742 1581270 1581271 1581881 1581882 1582343 1582344
Blocks: 1581279
TreeView+ depends on / blocked
Reported: 2018-05-22 12:49 UTC by Andrej Nemec
Modified: 2019-06-14 10:17 UTC (History)
19 users (show)

Fixed In Version: glibc 2.28
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Last Closed: 2019-06-10 10:26:11 UTC

Attachments (Terms of Use)

System ID Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2018:3092 None None None 2018-10-30 07:36:29 UTC
Sourceware 22786 None None None 2019-06-14 10:17:14 UTC

Description Andrej Nemec 2018-05-22 12:49:42 UTC
stdlib/canonicalize.c in the GNU C Library (aka glibc or libc6) 2.27 and earlier, when processing very long pathname arguments to the realpath function, could encounter an integer overflow on 32-bit architectures, leading to a stack-based buffer overflow and, potentially, arbitrary code execution.

Upstream issue:


Upstream patch:


Product bug:


Comment 1 Andrej Nemec 2018-05-22 12:50:29 UTC
Created glibc tracking bugs for this issue:

Affects: fedora-all [bug 1581270]

Comment 9 errata-xmlrpc 2018-10-30 07:36:19 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 7

Via RHSA-2018:3092 https://access.redhat.com/errata/RHSA-2018:3092

Comment 10 Marian Rehak 2019-06-14 10:17:56 UTC

Red Hat Product Security has rated this issue as having moderate security impact and a future update may address this flaw.

Note You need to log in before you can comment on or make changes to this bug.