{"schemaVersion":3,"id":"CVE-2023-4042","aliases":[],"status":"published","duplicateOf":null,"title":null,"description":"A flaw was found in ghostscript. The fix for CVE-2020-16305 in ghostscript was not included in RHSA-2021:1852-06 advisory as it was claimed to be. This issue only affects the ghostscript package as shipped with Red Hat Enterprise Linux 8.","dates":{"published":"2023-08-23T12:19:29.156Z","modified":"2025-11-21T07:05:10.400Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":5.5,"severity":"medium","version":"3.1","versionLabel":"v3.1","source":"CVE.org","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":5.5,"severity":"medium","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":5.5,"severity":"medium","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.00335,"percentile":0.25432,"severity":"low","asOf":"2026-10-19T00:00:00.000Z","change":{"pp":0,"baselineDate":"2026-09-19T00:00:00.000Z","baselineScore":0.00335},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.00335,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.00335,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.00335,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.00335,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.00335,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.00335,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00335,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00335,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00335,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00335,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00335,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00335,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00335,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00335,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00335,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00335,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00335,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00335,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00335,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00335,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00335,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00335,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00335,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00335,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00335,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00335,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00335,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00335,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00335,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00335,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00335,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00335,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00335,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00335,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00335,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00335,"percentile":0.25432}],"last30":[{"date":"2026-09-19T00:00:00.000Z","score":0.00335,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00335,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00335,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00335,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00335,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00335,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00335,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00335,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00335,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00335,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00335,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00335,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00335,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00335,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00335,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00335,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00335,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00335,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00335,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00335,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00335,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00335,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00335,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00335,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00335,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00335,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00335,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00335,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00335,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00335,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00335,"percentile":0.25432}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-125","name":"Out-of-bounds Read","description":"The product reads data past the end, or before the beginning, of the intended buffer.","type":"weakness","status":"Draft","abstraction":"Base","likelihoodOfExploit":null,"url":"https://cwe.mitre.org/data/definitions/125.html"},{"id":"CWE-787","name":"Out-of-bounds Write","description":"The product writes data past the end, or before the beginning, of the intended buffer.","type":"weakness","status":"Draft","abstraction":"Base","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/787.html"}],"affected":[{"vendor":"artifex","product":"ghostscript","name":"Ghostscript","label":"ghostscript","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"< 9.51","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 9.51","eol":null,"hubHref":"/vendor/artifex/ghostscript"},{"vendor":"redhat","product":"codeready_linux_builder","name":"codeready linux builder","label":"codeready_linux_builder","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"8.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"8.0","eol":null,"hubHref":"/vendor/redhat/codeready_linux_builder"},{"vendor":"redhat","product":"codeready_linux_builder_for_arm64","name":"codeready linux builder for arm64","label":"codeready_linux_builder_for_arm64","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"8.0_aarch64","noFixRecorded":false,"fixedIn":null}],"versionsText":"8.0_aarch64","eol":null,"hubHref":"/vendor/redhat/codeready_linux_builder_for_arm64"},{"vendor":"redhat","product":"codeready_linux_builder_for_ibm_z_systems","name":"codeready linux builder for ibm z systems","label":"codeready_linux_builder_for_ibm_z_systems","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"8.0_s390x","noFixRecorded":false,"fixedIn":null}],"versionsText":"8.0_s390x","eol":null,"hubHref":"/vendor/redhat/codeready_linux_builder_for_ibm_z_systems"},{"vendor":"redhat","product":"codeready_linux_builder_for_power_little_endian","name":"codeready linux builder for power little endian","label":"codeready_linux_builder_for_power_little_endian","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"8.0_ppc64le","noFixRecorded":false,"fixedIn":null}],"versionsText":"8.0_ppc64le","eol":null,"hubHref":"/vendor/redhat/codeready_linux_builder_for_power_little_endian"},{"vendor":"redhat","product":"enterprise_linux","name":"enterprise linux","label":"enterprise_linux","ecosystem":null,"cpePart":"o","purl":null,"purlType":null,"versions":[{"text":"8.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"8.0","eol":{"isEol":false,"eolDate":"2029-05-31T00:00:00.000Z","matchMethod":"cpe","cycle":{"name":"8","label":"8 (Upcoming ELS)","eolFrom":"2029-05-31T00:00:00.000Z","isLts":false,"isMaintained":true,"latestVersion":"8.10"},"product":{"name":"rhel","label":"Red Hat Enterprise Linux","category":"os"}},"hubHref":"/vendor/redhat/enterprise_linux"},{"vendor":"redhat","product":"enterprise_linux_for_arm_64","name":"enterprise linux for arm 64","label":"enterprise_linux_for_arm_64","ecosystem":null,"cpePart":"o","purl":null,"purlType":null,"versions":[{"text":"8.0_aarch64","noFixRecorded":false,"fixedIn":null}],"versionsText":"8.0_aarch64","eol":null,"hubHref":"/vendor/redhat/enterprise_linux_for_arm_64"},{"vendor":"redhat","product":"enterprise_linux_for_ibm_z_systems","name":"enterprise linux for ibm z systems","label":"enterprise_linux_for_ibm_z_systems","ecosystem":null,"cpePart":"o","purl":null,"purlType":null,"versions":[{"text":"8.0_s390x","noFixRecorded":false,"fixedIn":null}],"versionsText":"8.0_s390x","eol":null,"hubHref":"/vendor/redhat/enterprise_linux_for_ibm_z_systems"},{"vendor":"redhat","product":"enterprise_linux_for_power_little_endian","name":"enterprise linux for power little endian","label":"enterprise_linux_for_power_little_endian","ecosystem":null,"cpePart":"o","purl":null,"purlType":null,"versions":[{"text":"8.0_ppc64le","noFixRecorded":false,"fixedIn":null}],"versionsText":"8.0_ppc64le","eol":null,"hubHref":"/vendor/redhat/enterprise_linux_for_power_little_endian"}],"affectedCount":9,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://access.redhat.com/errata/RHSA-2023:7053","label":"access.redhat.com/errata/RHSA-2023:7053","hostname":"access.redhat.com","tags":["Vendor Advisory","X Refsource REDHAT","Third Party Advisory"]},{"url":"https://access.redhat.com/security/cve/CVE-2023-4042","label":"access.redhat.com/security/cve/CVE-2023-4042","hostname":"access.redhat.com","tags":["VDB Entry","X Refsource REDHAT","Third Party Advisory"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=1870257","label":"bugzilla.redhat.com/show_bug.cgi?id=1870257","hostname":"bugzilla.redhat.com","tags":["Issue Tracking","Third Party Advisory"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2228151","label":"bugzilla.redhat.com/show_bug.cgi?id=2228151","hostname":"bugzilla.redhat.com","tags":["Issue Tracking","X Refsource REDHAT","Third Party Advisory"]}],"lineage":{"upstream":[],"downstream":["RHSA-2023:7053"],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2023-08-23T12:19:29.156Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2025-11-21T07:05:10.400Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":22,"level":"low","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-19T23:29:47.290Z","stale":false,"partial":false}}