Skip to content
Heist/ feed
Back to feed
MediumFix available

lua5.4 — security advisory

Type: advisorySources: OSVAdvisory ID: DEBIAN-CVE-2020-15945

Lua 5.4.0 (fixed in 5.4.1) has a segmentation fault in changedline in ldebug.c (e.g., when called by luaG_traceexec) because it incorrectly expects that an oldpc value is always updated upon a return of the flow of control to a function.

Products
lua5.4
Affected versions
Not specified
Fixed versions
5.4.1-1
CVEs
CVE-2020-15945
Confirmed fixed CVEs
Not specified
Updated in this feed
1 Nov 2026, 12:42 UTC · Revision 1

Source evidence

DEBIAN-CVE-2020-15945

core-osv · Original source

Published 24 Jul 2020, 21:15 UTC

Lua 5.4.0 (fixed in 5.4.1) has a segmentation fault in changedline in ldebug.c (e.g., when called by luaG_traceexec) because it incorrectly expects that an oldpc value is always updated upon a return of the flow of control to a function.

osv:DEBIAN-CVE-2020-15945

lua5.4

Fixed versions: 5.4.1-1

lua5.4

Fixed versions: 5.4.1-1

lua5.4

Fixed versions: 5.4.1-1

Complete source record
{
  "id": "045a805e745ecf25ecf8e5cde074352e764d936664fdf37a9e9aade3c2fa1126",
  "url": "https://osv.dev/vulnerability/DEBIAN-CVE-2020-15945",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "DEBIAN-CVE-2020-15945",
    "summary": "Lua 5.4.0 (fixed in 5.4.1) has a segmentation fault in changedline in ldebug.c (e.g., when called by luaG_traceexec) because it incorrectly expects that an oldpc value is always updated upon a return of the flow of control to a function.",
    "evidence": "osv:DEBIAN-CVE-2020-15945",
    "products": [
      {
        "name": {
          "value": "lua5.4",
          "evidence": "/affected/0/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "5.4.1-1",
            "evidence": "/affected/0/ranges"
          }
        ],
        "affected_versions": []
      },
      {
        "name": {
          "value": "lua5.4",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "5.4.1-1",
            "evidence": "/affected/1/ranges"
          }
        ],
        "affected_versions": []
      },
      {
        "name": {
          "value": "lua5.4",
          "evidence": "/affected/2/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "5.4.1-1",
            "evidence": "/affected/2/ranges"
          }
        ],
        "affected_versions": []
      }
    ],
    "severity": "medium",
    "structured": {
      "id": "DEBIAN-CVE-2020-15945",
      "aliases": [
        "DEBIAN-CVE-2020-15945"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "5.4.1-1"
                }
              ]
            }
          ],
          "package": {
            "name": "lua5.4",
            "purl": "pkg:deb/debian/lua5.4?arch=source&distro=bookworm",
            "ecosystem": "Debian:12"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2020-15945.json"
          },
          "ecosystem_specific": {
            "urgency": "not yet assigned"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "5.4.1-1"
                }
              ]
            }
          ],
          "package": {
            "name": "lua5.4",
            "purl": "pkg:deb/debian/lua5.4?arch=source&distro=trixie",
            "ecosystem": "Debian:13"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2020-15945.json"
          },
          "ecosystem_specific": {
            "urgency": "not yet assigned"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "5.4.1-1"
                }
              ]
            }
          ],
          "package": {
            "name": "lua5.4",
            "purl": "pkg:deb/debian/lua5.4?arch=source&distro=forky",
            "ecosystem": "Debian:14"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2020-15945.json"
          },
          "ecosystem_specific": {
            "urgency": "not yet assigned"
          }
        }
      ],
      "modified": "2026-10-26T12:00:43.225252283Z",
      "provider": "osv",
      "upstream": [
        "CVE-2020-15945"
      ],
      "references": [
        "https://security-tracker.debian.org/tracker/CVE-2020-15945"
      ]
    },
    "related_cves": [
      {
        "value": "CVE-2020-15945",
        "evidence": "/upstream"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 451289,
  "published_at": "2020-07-24T21:15:34.553+00:00"
}