Skip to content
Heist/ feed
Back to feed
High

Security advisory

Type: advisorySources: OSVCVE: CVE-2020-24369

ldebug.c in Lua 5.4.0 attempts to access debug information via the line hook of a stripped function, leading to a NULL pointer dereference.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2020-24369
Confirmed fixed CVEs
Not specified
Updated in this feed
31 Oct 2026, 12:36 UTC · Revision 1

Source evidence

CVE-2020-24369

core-osv · Original source

Published 17 Aug 2020, 17:15 UTC

ldebug.c in Lua 5.4.0 attempts to access debug information via the line hook of a stripped function, leading to a NULL pointer dereference.

osv:CVE-2020-24369
Complete source record
{
  "id": "7b7c822e67e4e3b03fc3716fe3edb9e084ec281ac628ffab4f47d99e68da6a4f",
  "url": "https://osv.dev/vulnerability/CVE-2020-24369",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2020-24369",
    "summary": "ldebug.c in Lua 5.4.0 attempts to access debug information via the line hook of a stripped function, leading to a NULL pointer dereference.",
    "evidence": "osv:CVE-2020-24369",
    "products": [],
    "severity": "high",
    "structured": {
      "id": "CVE-2020-24369",
      "aliases": [
        "BIT-lua-2020-24369",
        "CVE-2020-24369"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/lua/lua",
              "type": "GIT",
              "events": [
                {
                  "introduced": "c33b1728aeb7dfeec4013562660e07d32697aa6b"
                },
                {
                  "last_affected": "c33b1728aeb7dfeec4013562660e07d32697aa6b"
                },
                {
                  "fixed": "ae5b5ba529753c7a653901ffc29b5ea24c3fdf3a"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:lua:lua:5.4.0:-:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "5.4.0-NA"
                      },
                      {
                        "last_affected": "5.4.0-NA"
                      }
                    ],
                    "source": "CPE_STRING"
                  },
                  {
                    "range": [
                      {
                        "fixed": "ae5b5ba529753c7a653901ffc29b5ea24c3fdf3a"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  }
                ]
              }
            }
          ],
          "versions": [
            "5.4.0-NA",
            "v5.4.0"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2020-24369.json",
            "vanir_signatures": [
              {
                "id": "CVE-2020-24369-09480371",
                "digest": {
                  "threshold": 0.9,
                  "line_hashes": [
                    "191357327930270353914184361696403200245",
                    "81257735572345837800767669984728473029",
                    "79202178554810973801731794510384921731",
                    "214496039041368728151161948384834180113",
                    "327015659194682228887671907297498597185",
                    "131947794654282215377006389794341554693",
                    "142406554357787015911062368758120942388",
                    "283583517597706205043460995415619269999",
                    "252187278128377095359608730677865696776"
                  ]
                },
                "source": "https://github.com/lua/lua/commit/ae5b5ba529753c7a653901ffc29b5ea24c3fdf3a",
                "target": {
                  "file": "ldebug.c"
                },
                "deprecated": false,
                "signature_type": "Line",
                "signature_version": "v1"
              },
              {
                "id": "CVE-2020-24369-708972b8",
                "digest": {
                  "length": 233,
                  "function_hash": "112196691550847094243539598721974676716"
                },
                "source": "https://github.com/lua/lua/commit/ae5b5ba529753c7a653901ffc29b5ea24c3fdf3a",
                "target": {
                  "file": "ldebug.c",
                  "function": "changedline"
                },
                "deprecated": false,
                "signature_type": "Function",
                "signature_version": "v1"
              }
            ],
            "vanir_signatures_modified": "2026-10-20T13:56:57Z"
          }
        }
      ],
      "modified": "2026-10-20T13:56:57.084091250Z",
      "provider": "osv",
      "references": [
        "https://github.com/lua/lua/commit/ae5b5ba529753c7a653901ffc29b5ea24c3fdf3a",
        "https://www.lua.org/bugs.html#5.4.0-12"
      ],
      "provider_metadata": {}
    },
    "related_cves": [
      {
        "value": "CVE-2020-24369",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 388440,
  "published_at": "2020-08-17T17:15:13.817+00:00"
}