CVE-2023-2640
A public proof of concept exists; no exploitation attested.
- Published2023-07-26
- Fixed in6.2.0-26.26 · 6.0.0-1020.20 · 5.4.0-155.172
- WeaknessCWE-863
Am I affected?
Debian, Ubuntu or Red Hat sometimes backport a fix without changing the upstream version number: such a version reads « to verify », never « affected ».With a domain, we read the version its public headers and pages expose. A distribution build can carry the fix under an older number.
Description
On Ubuntu kernels carrying both c914c0e27eb0 and "UBUNTU: SAUCE: overlayfs: Skip permission checking for trusted.overlayfs.* xattrs", an unprivileged user may set privileged extended attributes on the mounted files, leading them to be set on the upper files without the appropriate security checks.
Timeline
dates in UTC- 2023-07-2602:15CVE publishedNVD
Observed activity
isMalicious corpus · updated 2026-11-03 21:37 UTCBlock these indicators
- Firewall list (EDL, text): https://api.ismalicious.com/edl/cve/CVE-2023-2640?format=txt
- CSV export: https://api.ismalicious.com/edl/cve/CVE-2023-2640?format=csv
- TAXII collection of exploited CVEs
- The EDL and CSV take an API key on the Pro plan.
Versions per branch
CISA-ADP · NVD| Branch | Affected | Fixed in | Source |
|---|---|---|---|
| 6.2 | < 6.2.0-26.26 | 6.2.0-26.26 | CISA-ADP |
| 6.0 | < 6.0.0-1020.20 | 6.0.0-1020.20 | CISA-ADP |
| 5.4 | < 5.4.0-155.172 | 5.4.0-155.172 | CISA-ADP |
| Branch | Affected | Fixed in | Source |
|---|---|---|---|
| 23.4 | = 23.04 | no fix published | NVD |
as publishedRanges as NVD and OSV publish them; a distribution’s build can be fixed under an older number.
Products declared by the CNA1 product
As canonical, the CNA that assigned this CVE, declared them in the CVE record; versions as written.
- Canonical Ubuntu Kernelother versions: not affected
package Linuxplatforms: Linux
Not affected < 6.2.0-26.26 · < 6.0.0-1020.20 · < 5.4.0-155.172
Source: the CNA record (CVE Program), © The MITRE Corporation,CVE Terms of UseCVE recordupdated 2023-07-26
Distribution builds and vendor advisories
Packages from OSV.dev and products from the vendors' CSAF advisories.
version not verifiedVersions not verified: read as OSV.dev and the vendors publish them, not checked against each vendor's release list.
Packages
- linuxUbuntu:Pro:20.04:LTSall versions · no fixed version listedand 10 other packages
- linuxUbuntu:Pro:18.04:LTSall versions · no fixed version listedand 12 other packages
- linuxUbuntu:Pro:16.04:LTSall versions · no fixed version listedand 7 other packages
- linuxUbuntu:Pro:14.04:LTSall versions · no fixed version listedand 3 other packages
- linuxUbuntu:22.04:LTSall versions · fixed in 5.15.0-177.187and 1 other package
- linux-awsUbuntu:22.04:LTSall versions · fixed in 5.15.0-1106.113
- linux-aws-5.15Ubuntu:Pro:20.04:LTSall versions · fixed in 5.15.0-1106.113~20.04.1
- linux-aws-5.19Ubuntu:22.04:LTSall versions · fixed in 5.19.0-1029.30~22.04.1
51 more package ranges on OSV.dev
Vendor advisories
- CVE-2023-2640 Red Hat Product Security
kernel: overlayfs: In Ubuntu skip permission checking for trusted.overlayfs.* xattrs
Fix
- Update Canonical ubantu kernel to 6.2.0-26.26 · 6.0.0-1020.20 · 5.4.0-155.172
Advisories and patches
- lists.ubuntu.comPatch
- ubuntu.comVendor Advisory
- wiz.ioMitigation
Detection
read 2026-11-03 22:42 UTC- Nuclei template
- none so far ProjectDiscovery
- Exploit-DB
- no entry Exploit-DB
- Proof-of-concept repositories
- 10 repositories, unverifiedOllaPapito/gameoverlayluanoliveira350/GameOverlayFSg1vi/CVE-2023-2640-CVE-2023-32629musorblyat/CVE-2023-2640-CVE-2023-32629SanjayRagavendar/Ubuntu-GameOver-Lay PoC-in-GitHub
- Metasploit modules
- 1 moduleexploit/linux/local/gameoverlay_privescrank: normalModule metadata: Metasploit Framework, © Rapid7, Inc., BSD-3-Clause. Metasploit Framework
Sources
- CISA-ADPSSVC decisionnone2024-10-23
- OpenCVESSVC decisionnone—
- CNACVSS 3.17.8known since 2026-10-23
- NVDCVSS 3.17.8read 2026-10-23
- CNAweakness (CWE)CWE-863known since 2026-10-23
- NVDweakness (CWE)CWE-863read 2026-10-23
- FIRST EPSSEPSS score15.2 %read 2026-11-03
- PoC-in-GitHubproof of concept10read 2026-11-03
- Metasploit FrameworkMetasploit modules1known since 2026-11-01
- OSVaffected packages—
- GitHub Advisoriesadvisory—
Identifiers
- EUVD-2023-34106same flawENISA EUVD · LicenseRef-ENISA-legal-notice
- GHSA-38f7-vv5r-859msame flawGitHub Advisory Database · CC-BY-4.0
- exploit/linux/local/gameoverlay_privescexploit moduleMetasploit Framework © Rapid7 · BSD-3-Clause
- USN-6248-1advisory covering several CVEsUbuntu
- USN-6260-1advisory covering several CVEsUbuntu
- USN-6285-1advisory covering several CVEsUbuntu
- USN-8255-1advisory covering several CVEsUbuntu
- USN-8275-1advisory covering several CVEsUbuntu
- USN-8297-1advisory covering several CVEsUbuntu
- USN-8439-1advisory covering several CVEsUbuntu
Technical details
- CVSS v3 Vector
- CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- Published
- 2023-07-26
- Last Modified
- 2026-06-17
- NVD status
- Modified
- GitHub Advisory
- GHSA-38f7-vv5r-859m
Frequently asked questions
What is CVE-2023-2640?
Is CVE-2023-2640 actively exploited?
What is the CVSS score for CVE-2023-2640?
Running Linux kernel? Hear about its next vulnerability
Surveillance reads the versions in your stack — a domain, a lockfile or a list — checks each CVE against the ranges its sources publish, and alerts you when one you run is exploited or enters CISA KEV. A version it cannot read stays « version not verified ».
No credit card required · No monthly cap on website lookups · 250 API requests/month
Go further
- Following what attackers exploit right now? The CISA KEV additions of the month, with their patch deadlines.
- Running this software? Vulnerability monitoring alerts you to new vulnerabilities in your products.
Related vulnerabilities
Same product first, then the same vendor advisory and the same publication week.
Sources for this record
- CVE Program · CVE Program Terms of Use
- ENISA EU Vulnerability Database · ENISA legal notice §1.2 (reproduction authorised, provided the source is acknowledged)
- FIRST EPSS · EPSS terms of use (free use, attribution requested)
- GitHub Advisory Database · CC-BY-4.0 · GHSA-38f7-vv5r-859m
- Metasploit Framework · BSD-3-Clause
- NVD · Public domain (17 U.S.C. § 105) for NVD-authored data; third-party content under its own terms
- OpenCVE · OpenCVE terms of service · terms restrict redistribution
- OSV.dev · Per record, as its publisher states it: each row carries the label in sourceLicense when one is served
- PoC-in-GitHub · CC0-1.0
- Red Hat Product Security (CSAF and VEX) · CC-BY-4.0
- CISA Vulnrichment · CC0-1.0