Zum Hauptinhalt springen
LIVE
CVSS 6.9CVE-2026-138105 | A vulnerability has been found in ssssssss-team magic-api 2.2.2. The affected element is an unknown function of the file /magic/web/datasource/jdbc/test of the component Datasource JDBC Test Endpoint. Such manipulation of the argument driverClassName leads to code injection. The attack can be launched remotely. The exploit has been disclosed to the public and may be used. The project was informed of the problem early through an issue report but has not respoCVSS 6.9CVE-2026-138104 | A flaw has been found in ssssssss-team magic-api up to 2.2.2. Impacted is the function push of the file magic-api/src/main/java/org/ssssssss/magicapi/core/web/MagicWorkbenchController.java of the component Workbench Push Interface. This manipulation of the argument magic-push-target causes server-side request forgery. The attack can be initiated remotely. The exploit has been published and may be used. The project was informed of the problem early through anCVSS 6.9CVE-2026-138103 | A vulnerability was detected in ssssssss-team magic-api up to 2.2.2. This issue affects the function saveFile of the file MagicResourceController.java of the component magic-api-core resource save API. The manipulation results in code injection. It is possible to launch the attack remotely. The exploit is now public and may be used. The project was informed of the problem early through an issue report but has not responded yet.CVSS 9.4CVE-2026-138102 | A security vulnerability has been detected in D-Link DIR-620S 4.0.2. This vulnerability affects unknown code of the file /usr/sbin/anweb of the component Diagnostic Handler. The manipulation of the argument I leads to os command injection. It is possible to initiate the attack remotely. The exploit has been disclosed publicly and may be used.CVSS 5.3CVE-2026-138101 | A weakness has been identified in MassGen up to 0.1.97. This affects the function _generate_subagent_yaml_config of the file massgen/subagent/manager.py of the component Subagent Delegation System. Executing a manipulation can lead to improper authorization. The attack may be performed from remote. The exploit has been made available to the public and could be used for attacks. The project was informed of the problem early through an issue report but has notCVSS 6.9CVE-2026-138100 | A security flaw has been discovered in MassGen up to 0.1.97. Affected by this issue is the function __init__ of the file massgen/filesystem_manager/_filesystem_manager.py. Performing a manipulation results in protection mechanism failure. The attack is possible to be carried out remotely. The exploit has been released to the public and may be used for attacks. The project was informed of the problem early through an issue report but has not responded yet.CVSS 8.7CVE-2026-138099 | A vulnerability was identified in Tenda AC10U 1.18.6. Affected by this vulnerability is the function readUsb of the component ATE Service. Such manipulation leads to out-of-bounds write. The attack can be executed remotely. The exploit is publicly available and might be used.CVSS 6.9CVE-2026-138098 | A vulnerability was determined in weison-tech yii2-cms up to 1.0.2. Affected is an unknown function of the file protected/core/config/common.php of the component RBAC Authorization. This manipulation causes improper authorization. Remote exploitation of the attack is possible.
Alle im Drawer
Intelligence View
⚡ tsecurity.de Intelligence

From Code to Output: What Really Happens When You Run Python?

"Python is an interpreted language." You've probably heard this phrase countless times while learning Python. But let’s pause for a second… What actually hap…

Beitrag
0
Seite
0
↗ Quelle (dev.to)
Quelle & Fakten · 4 Min. Lesezeit
Quelle: dev.to
Rubrik: Sichere Programmierung

"Python is an interpreted language."




You've probably heard this phrase countless times while learning Python.



But let’s pause for a second…



What actually happens after you hit Run?



When you execute something as simple as:




print("Hello, World!")






How does your computer, built to understand only binary (0s and 1s), figure out what print() means?



The truth is, there’s a lot happening behind the scenes.



Let’s break it down in a simple and intuitive way.









The Hidden Workflow of Python



Here’s a simplified overview of what happens:




Python Source Code (.py)
│
▼
Compilation Step
│
▼
Bytecode (.pyc)
│
▼
Python Virtual Machine (PVM)
│
▼
Machine Instructions
│
▼
CPU Execution
│
▼
Program Output






Many beginners assume Python directly runs their code.



But in reality, Python follows a two-step process before execution.









Step 1, Writing Python Code



Let’s begin with a basic script:




# hello.py

print("Hello, World!")






At this stage, your file is just plain text.



Your computer doesn’t understand:




  • Functions like print()

  • Control structures like if, for, while

  • Variables or expressions



It only understands low-level machine instructions.



So Python needs to translate your code first.









Step 2, The Python Interpreter Steps In



When you run:




python hello.py






you’re invoking the Python Interpreter.



The most widely used implementation is CPython, written in C.



Its responsibilities include:




  • Reading your code

  • Checking for syntax errors

  • Converting it into bytecode

  • Executing that bytecode



So Python doesn’t directly interpret your source code, it first compiles it into an intermediate form.









Step 3, Bytecode: Python’s Internal Language



Instead of converting your code straight into machine instructions, Python transforms it into bytecode.



Think of bytecode as a simplified, platform-independent instruction set.



For example:




x = 5
y = 10

print(x + y)






might internally look like:




LOAD_CONST 5
STORE_NAME x

LOAD_CONST 10
STORE_NAME y

LOAD_NAME x
LOAD_NAME y

BINARY_ADD

PRINT






You don’t need to memorize this, it just shows how Python simplifies your code before execution.









What Are .pyc Files?



You might have seen a folder like this:




__pycache__






Inside it, files like:




hello.cpython-313.pyc






These .pyc files store compiled bytecode.



Python uses them to avoid recompiling unchanged files, making your programs start faster.









Curious? Inspect Bytecode Yourself



Python provides a module called dis to view bytecode.



Try this:




import dis

def add(a, b):
return a + b

dis.dis(add)






Example output:




LOAD_FAST 0 (a)
LOAD_FAST 1 (b)
BINARY_ADD
RETURN_VALUE






This is exactly what Python executes internally.









Step 4, The Python Virtual Machine (PVM)



Now comes execution.



The Python Virtual Machine (PVM) is the engine that runs bytecode.



It’s not hardware, it’s part of the interpreter.



It works in a loop:




Fetch → Decode → Execute







  • Fetch the next instruction

  • Decode what it means

  • Execute it



This cycle continues until your program finishes.









Walking Through Execution



Let’s revisit:




print("Hello, World!")






Here’s what happens step by step:






1. You run the script






python hello.py






↓






2. Python reads your code



↓






3. It compiles it into bytecode



↓






4. The PVM executes instructions like:






LOAD_CONST "Hello, World!"
CALL_FUNCTION print
RETURN_VALUE






↓






5. Output appears






Hello, World!






Done!









Why Isn’t Python as Fast as C?



Let’s compare:






C Execution






C Code → Compiler → Machine Code → CPU









Python Execution






Python Code → Bytecode → PVM → CPU






Python adds an extra layer (the PVM), which introduces overhead.



That’s why Python is generally slower for heavy computations.



But this design also makes Python:




  • Portable

  • Easy to use

  • Flexible









Memory Management in Python



Python handles memory automatically.



It stores objects in a region called the heap.



When objects are no longer needed, Python cleans them up using:




  • Reference counting

  • Garbage collection



This means you don’t have to manually manage memory like in C or C++.









A Simple Way to Think About It



Imagine you're speaking to someone who doesn’t understand your language.



You use a translator:




You → Translator → Listener






In Python terms:





  • You → Programmer


  • Python Code → Your language


  • PVM → Translator


  • CPU → Listener



The CPU never understands Python directly, the PVM bridges that gap.









Final Thoughts



Once you understand what happens behind the scenes, Python feels less like magic and more like a well-designed system.



So next time someone says:




"Python is an interpreted language."




You’ll know the full story.



Python first compiles your code into bytecode, then executes it using the Python Virtual Machine.



And that journey, from a simple .py file to actual output, is what makes Python both powerful and accessible.






Thanks for reading!



I’m sharing my learning journey in Python, backend development, and software engineering. If you found this helpful, feel free to follow along for more simple explanations of complex topics.

Information ergänzen Fachhinweis, Update, Korrektur oder Quelle zur Meldung beitragen
Gäste-Hinweise werden kurz redaktionell geprüft und danach hier angezeigt.

Community-Hinweise zur Meldung

0 freigegeben
Social ReaktionenReagiere als Erste:r — dein Feedback zählt!
Informations-Bewertung:

💬 Topluluk tartışması ve yorumlar

🌐 Ana sohbete katıl

Tartışmayı başlat: Social Chat yayın akışı veya yukarıdaki ekleme formuyla uzman katkısı gönder.

Siber Tehdit İstihbaratı ve Adli Bilişim

ATT&CK Gezgini · IoC Radarı ve Graf

CTI Threat Relationship Graph
Akteure · Techniken · Beziehungen
2 Knoten · 1 Relationen
CVE / Incident Threat Actor Software MITRE ATT&CK CWE Weakness IoC
Community Rating & Social Proof
⭐ Okuyucu Puanı
–
Ø / 5.0
Hiçbir okuyucu henüz yorum yok
Bu makale yararlı mıydı?
0
Değerlendirmenizi gönderin
Detaylı değerlendirme (isteğe bağlı)
İçerik ve Kalite
Kaynak ve Güvenilirlik
Güncellik
Security Briefing Ücretsiz · Tek tıkla abonelikten çıkma

Zeka Digest - ücretsiz

Günlük en önemli güvenlik haberi · herhangi bir zamanda alınabilir

İlgili Story Cluster & Kaynaklar (vector AI)

6 Cluster
14 Kaynaklar
I found the most capable PC under $300 for Cyber Monday — Origimagic's C7 Windows 11 Pro machine packs dual Thunderbolt 4, 2.5Gb LAN, a Core 3 100U, 16GB of RAM, and a 512GB SSD
Latest from TechRadar 16 dakika önce
13 diğer kaynaklar
OS X Daily14 dakika önceCyber Monday Deals: $300 Off 16″ PROLED MacBook Pro, $100 Off AirPods Pro 3, $100 Off iPad Air, & More Latest from TechRadar37 dakika önceCyber Monday home office deals 2026 live — our top workspace picks from FlexiSpot, Dell, Anker, Logitech and more as Black Friday sale rolls on Latest from TechRadar34 dakika önceThe best Cyber Monday deals in the UK in 2026: top picks from Amazon, Argos, Ninja, Lego and more Latest from TechRadar44 dakika önceCyber Monday Australia laptop deals for 2026: score up to 52% off Lenovo, Apple, Dell, HP and more Latest from TechRadar1 saat önceAmazon Australia Cyber Monday deals CNET1 saat önceThis Pocket Battery Recharges Your Phone 4 Times, and it’s Only $38 for Cyber Monday Latest from TechRadar1 saat önceFirebat's M1 is a cracking Ryzen AI 9 HX 470 mini PC for AI workloads — and it's packing OCuLink, 32GB of RAM, and a 1TB SSD for $1020 this Cyber Monday Latest from TechRadar1 saat önceThe Lenovo IdeaCentre Tower Copilot+ PC with Core Ultra 7 CPU isn't discounted for Cyber Monday — and it's still the desktop computer I'd buy for work for $1049 The Verge1 saat önceQobuz is my streaming service of choice and it’s on sale during Cyber Monday CNET12 gün önceThis Paramount Plus Cyber Monday Deal Gets You Ad-Free Viewing for Only $3 Per Month CNET2 saat önceCyber Monday Meta Quest 3S Deal Knocks $53 Off and Gets You $50 Free Amazon Credit The Verge3 saat önceThese early Cyber Monday gaming laptop deals offer the most GPU for the least money Latest from TechRadar4 saat önceGrab a TP-Link dual-band Wi-Fi 6 router with 1.5Gbps for $44 this Cyber Monday
13 Kaynaklar
Linux Overhauls Documentation For Reporting Kernel Security Bugs
Phoronix 35 dakika önce
12 diğer kaynaklar
DEV Community2 saat önceForgeOS Booted on a Real Server: Linux Kernel Below, Only Our Own Code Above VulDB Updates2 saat önceCVE-2026-72239 | Linux Kernel sev x86/virt/sev/sev.c wbinvd_on_all_cpus state issue (WID-SEC-2026-2852) VulDB Updates2 saat önceCVE-2026-72240 | Linux Kernel up to 7.1.4 mfd sm501_register_device memory leak (WID-SEC-2026-2852) VulDB Updates2 saat önceCVE-2026-72241 | Linux Kernel up to 7.1.4 uleds strchr buffer overflow (WID-SEC-2026-2852) VulDB Updates2 saat önceCVE-2026-72244 | Linux Kernel up to 6.12.100/6.18.41/7.1.4/7.2-rc2 gpu-buddy allocation of resources (WID-SEC-2026-2852) VulDB Updates2 saat önceCVE-2026-72243 | Linux Kernel up to 7.2-rc2 selinux socket_sendmsg permission (Nessus ID 364200 / WID-SEC-2026-2852) VulDB Updates2 saat önceCVE-2026-72245 | Linux Kernel up to 7.1.4 host1x host1x_device_parse_dt release of resource (WID-SEC-2026-2852) VulDB Updates2 saat önceCVE-2026-72246 | Linux Kernel flowtable input validation (WID-SEC-2026-2852) VulDB Updates2 saat önceCVE-2026-72247 | Linux Kernel up to 7.2-rc3 nf_conncount __nf_conncount_add dir comparison (WID-SEC-2026-2852) VulDB Updates2 saat önceCVE-2026-72248 | Linux Kernel up to 7.1.4/7.2-rc2 flowtable nft_flow_dst_release buffer overflow (WID-SEC-2026-2852) LinuxAndUbuntu3 saat önceLinux AutoFDO Benchmark: Clang Kernel Optimization VulDB Updates4 saat önceCVE-2022-31607 | NVIDIA GPU Display Driver on Linux Kernel Mode Layer nvidia.ko input validation (EUVD-2022-53059 / Nessus ID 339047)
13 Kaynaklar
CVE-2026-135533 | Mozilla Firefox up to 115.45/153.7/160 Layout Tables off-by-one (Nessus ID 388625)
VulDB Updates 1 saat önce
12 diğer kaynaklar
Benzer katkılar
🔍 Verwandte News

Auch interessante Nachrichten From Code to Output: What Really Happens When You Run Python?

Thematisch verwandte Begriffe: From, Code, Output, What · 6 Treffer

Laden...

Contributions yüklenir ...

Laden...

Videolar yükleniyor...

Laden...

Contributions yüklenir ...

Laden...

Videolar yükleniyor...

Laden...

Contributions yüklenir ...

Laden...

Videolar yükleniyor...

Laden...

Contributions yüklenir ...

Laden...

Videolar yükleniyor...

Yorumlar yüklenir..
Update to Update
Widget & konular
Widget yükleniyor…
Sonraki gönderi