# gtp: Fix use-after-free in \_\_gtp_encap_destroy().

CVE record · `CVE-2023-54142`

- **Identifiers:** `CVE-2023-54142`
- **State:** Confirmed
- **Severity:** CVSS 7.8 High
- **Critical:** No
- **CNA:** Linux
- **Technologies:** [Linux kernel](https://agentprime.io/advisories/technology/linux-kernel.md)
- **Published:** 24 Dec 2025
- **Updated:** 5 Aug 2026
- **Reviewed by a person:** No

Published by the CVE Program (CNA: Linux) at 24 Dec 2025, 13:06 UTC. agentprime has not analysed this yet, so whether it affects any app is not known. This CVE names a vendor and product rather than a package, so the lockfile check doesn’t match it.

## Affected products, as the CNA wrote them

- Vendor: Linux. Product: Linux.
  - affected: `01f3c64e405ab3d25887d080a103ad76f30661d2 to before d38039697184aacff1cf576e14ef583112fdefef` (git)
  - affected: `e117a04133c673cc54292e12086a8177cd9bd4a4 to before e5aa6d829831a55a693dbaeb58f8d22ba7f2b3e6` (git)
  - affected: `e198987e7dd7d3645a53875151cd6f8fc425b706 to before 9c9662e2512b5e4ee7b03108802c5222e0fa77a4` (git)
  - affected: `e198987e7dd7d3645a53875151cd6f8fc425b706 to before bccc7ace12e69dee4684a3bb4b69737972e570d6` (git)
  - affected: `e198987e7dd7d3645a53875151cd6f8fc425b706 to before ebd6d2077a083329110695a996c00e8ca94bc640` (git)
  - affected: `e198987e7dd7d3645a53875151cd6f8fc425b706 to before 17d6b6354f0025b7c10a56da783fd0cbb3819c5d` (git)
  - affected: `e198987e7dd7d3645a53875151cd6f8fc425b706 to before dae6095bdb24f537b4798ffd9201515b97bac94e` (git)
  - affected: `e198987e7dd7d3645a53875151cd6f8fc425b706 to before 58fa341327fdb4bdf92597fd8796a9abc8d20ea3` (git)
  - affected: `e198987e7dd7d3645a53875151cd6f8fc425b706 to before ce3aee7114c575fab32a5e9e939d4bbb3dcca79f` (git)
  - affected: `bf75202df8e473d4ee914894542f213158066d8b` (git)
  - affected: `76357f65f18f180f44ccbbbf713461881d0ab219` (git)
  - affected: `4.14.135 to before 4.14.322` (semver)
  - and 3 more
  - Other versions: unaffected
- Vendor: Linux. Product: Linux.
  - affected: `5.3`
  - unaffected: `before 5.3` (semver)
  - unaffected: `4.14.322 to 4.14.*, inclusive` (semver)
  - unaffected: `4.19.291 to 4.19.*, inclusive` (semver)
  - unaffected: `5.4.251 to 5.4.*, inclusive` (semver)
  - unaffected: `5.10.188 to 5.10.*, inclusive` (semver)
  - unaffected: `5.15.121 to 5.15.*, inclusive` (semver)
  - unaffected: `6.1.39 to 6.1.*, inclusive` (semver)
  - unaffected: `6.3.13 to 6.3.*, inclusive` (semver)
  - unaffected: `6.4.4 to 6.4.*, inclusive` (semver)
  - unaffected: `6.5 to *, inclusive` (original_commit_for_fix)
  - Other versions: affected

## Not analysed yet

We haven’t published our own analysis of this CVE. If a person reviews it, this page will say what’s affected and what has to be true for it to matter.

## Severity and exploitation

- 7.8 High, CVSS 3.1: `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`, from CNA (Linux)

- **CISA KEV:** Not listed.
- **EPSS:** 0.0016, the 4th percentile, on 19 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

## Timeline

This record came from the full history of the CVE Program, published 24 Dec 2025. New records show when each source confirmed them.

## Sources

- [CVE List: CVE-2023-54142](https://www.cve.org/CVERecord?id=CVE-2023-54142)
- [NVD: CVE-2023-54142](https://nvd.nist.gov/vuln/detail/CVE-2023-54142)

### References from the CNA

- <https://git.kernel.org/stable/c/d38039697184aacff1cf576e14ef583112fdefef>
- <https://git.kernel.org/stable/c/e5aa6d829831a55a693dbaeb58f8d22ba7f2b3e6>
- <https://git.kernel.org/stable/c/9c9662e2512b5e4ee7b03108802c5222e0fa77a4>
- <https://git.kernel.org/stable/c/bccc7ace12e69dee4684a3bb4b69737972e570d6>
- <https://git.kernel.org/stable/c/ebd6d2077a083329110695a996c00e8ca94bc640>
- <https://git.kernel.org/stable/c/17d6b6354f0025b7c10a56da783fd0cbb3819c5d>
- <https://git.kernel.org/stable/c/dae6095bdb24f537b4798ffd9201515b97bac94e>
- <https://git.kernel.org/stable/c/58fa341327fdb4bdf92597fd8796a9abc8d20ea3>
- <https://git.kernel.org/stable/c/ce3aee7114c575fab32a5e9e939d4bbb3dcca79f>

Facts on this page come from the CVE List as the CNA published them, with CVSS from the sources named above, CISA KEV and FIRST EPSS. Vendors, products and versions are shown as the CNA wrote them. We don’t reproduce the CVE’s description.

## Check whether this affects you

This CVE names a vendor and product rather than a package, so the lockfile check doesn’t match it. Compare the affected versions above with what you run.

- With the agentprime MCP server (<https://api.agentprime.io/mcp>), `get_advisory` returns this record and `search_advisories` finds related ones. Setup: <https://agentprime.io/mcp.md>
- As JSON: <https://api.agentprime.io/v1/advisories/CVE-2023-54142>
- Everything that needs attention now: <https://agentprime.io/advisories/critical.md>

---

The web page: <https://agentprime.io/advisories/CVE-2023-54142/>. Everything for agents: <https://agentprime.io/llms.txt>.
